VUS: Effective and Efficient Accuracy Measures for Time-Series Anomaly Detection
Paul Boniol, Ashwin K. Krishna, Marine Bruel, Qinghua Liu, Mingyi Huang, Themis Palpanas, Ruey S. Tsay, Aaron Elmore, Michael J. Franklin, John Paparrizos
TL;DR
The paper tackles the problem of evaluating time-series anomaly detectors with robust, threshold-independent metrics capable of handling range-based (subsequence) anomalies. It first confirms limitations of traditional point-based and threshold-based measures and demonstrates that AUC-based metrics, while threshold-independent, still falter under lag, noise, and varying anomaly cardinality. To address this, the authors introduce Range-AUC (range-aware ROC/PR) and the Volume Under the Surface (VUS) framework, which extends AUC to consider multiple buffer lengths and thresholds; they also propose two optimized VUS implementations (VUS_opt and VUS_opt_mem) to improve practicality. Extensive experiments across 10 datasets and 900 time-series show that VUS-based measures, particularly VUS-ROC, offer superior robustness, separability, and consistency compared with existing measures, albeit with higher offline computational cost than traditional AUC methods. The work provides a principled, scalable approach to evaluating time-series AD methods and suggests that VUS-based measures should be favored for reliable benchmarking and method comparison in practice.
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.
