VUS: Effective and Efficient Accuracy Measures for Time-Series Anomaly Detection

Paul Boniol, Ashwin K. Krishna, Marine Bruel, Qinghua Liu, Mingyi Huang +5 more
2/18/2025
cs.LG

No official code found. Best implementation: TheDatumOrg/VUS (97 stars, last commit 2025-06-04).

Abstract

Anomaly detection (AD) is a fundamental task for time-series analytics with important implications for the downstream performance of many applications. In contrast to other domains where AD mainly focuses on point-based anomalies (i.e., outliers in standalone observations), AD for time series is also concerned with range-based anomalies (i.e., outliers spanning multiple observations). Nevertheless, it is common to use traditional point-based information retrieval measures, such as Precision, Recall, and F-score, to assess the quality of methods by thresholding the anomaly score to mark each point as an anomaly or not. However, mapping discrete labels into continuous data introduces unavoidable shortcomings, complicating the evaluation of range-based anomalies. Notably, the choice of evaluation measure may significantly bias the experimental outcome. Despite over six decades of attention, there has never been a large-scale systematic quantitative and qualitative analysis of time-series AD evaluation measures. This paper extensively evaluates quality measures for time-series AD to assess their robustness under noise, misalignments, and different anomaly cardinality ratios. Our results indicate that measures producing quality values independently of a threshold (i.e., AUC-ROC and AUC-PR) are more suitable for time-series AD. Motivated by this observation, we first extend the AUC-based measures to account for range-based anomalies. Then, we introduce a new family of parameter-free and threshold-independent measures, Volume Under the Surface (VUS), to evaluate methods while varying parameters. We also introduce two optimized implementations for VUS that reduce significantly the execution time of the initial implementation. Our findings demonstrate that our four measures are significantly more robust in assessing the quality of time-series AD methods.

View on arXivView PDF

Code Implementations(1)

TheDatumOrg/VUSCommunity100%

Volume Under the Surface: Accuracy Measure for Time Series Anomaly Detection

9743Python, Jupyter NotebookMay 23, 20221 years ago
accuracy-scoreanomaly-detectionpythonpython3time-series+1 more

Similar Papers

Cite this paper

@article{boniol2025vus,
  title  = {VUS: Effective and Efficient Accuracy Measures for Time-Series Anomaly Detection},
  author = {Paul Boniol and Ashwin K. Krishna and Marine Bruel and Qinghua Liu and Mingyi Huang and Themis Palpanas and Ruey S. Tsay and Aaron Elmore and Michael J. Franklin and John Paparrizos},
  year   = {2025},
  eprint = {2502.13318},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13318v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.13318.svg)](https://codeofpaper.com/paper/2502.13318)

Discussion