Local Evaluation of Time Series Anomaly Detection Algorithms
Alexis Huet, José Manuel Navarro, Dario Rossi
Abstract
In recent years, specific evaluation metrics for time series anomaly detection algorithms have been developed to handle the limitations of the classical precision and recall. However, such metrics are heuristically built as an aggregate of multiple desirable aspects, introduce parameters and wipe out the interpretability of the output. In this article, we first highlight the limitations of the classical precision/recall, as well as the main issues of the recent eventbased metrics -for instance, we show that an adversary algorithm can reach high precision and recall on almost any dataset under weak assumption. To cope with the above problems, we propose a theoretically grounded, robust, parameter-free and interpretable extension to precision/recall metrics, based on the concept of "affiliation" between the ground truth and the prediction sets. Our metrics leverage measures of duration between ground truth and predictions, and have thus an intuitive interpretation. By further comparison against random sampling, we obtain a normalized precision/recall, quantifying how much a given set of results is better than a random baseline prediction. By construction, our approach keeps the evaluation local regarding ground truth events, enabling fine-grained visualization and interpretation of algorithmic results. We compare our proposal against various public time series anomaly detection datasets, algorithms and metrics. We further derive theoretical properties of the affiliation metrics that give explicit expectations about their behavior and ensure robustness against adversary strategies. CCS CONCEPTS • General and reference → Evaluation; Metrics; • Mathematics of computing → Time series analysis; • Computing methodologies → Anomaly detection.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext bebd075b-4271-4c0e-8745-72afc06dcef4Cited by top-tier papers32
- DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly DetectionYiyuan Yang, Chaoli Zhang, Tian Zhou, Qingsong Wen et al.KDD 2023 · 244 citations
- Drift doesn't Matter: Dynamic Decomposition with Diffusion Reconstruction for Unstable Multivariate Time Series Anomaly DetectionChengsen Wang, Zirui Zhuang, Qi Qi, Jingyu Wang et al.NeurIPS 2023 · 112 citations
- TAB: Unified Benchmarking of Time Series Anomaly Detection MethodsXiangfei Qiu, Zhe Li, Wanghui Qiu, Shiyan Hu et al.VLDB 2025 · 57 citations
- CrossAD: Time Series Anomaly Detection with Cross-scale Associations and Cross-window ModelingBeibu Li, Qichao Shentu, Yang Shu, Hui Zhang et al.NeurIPS 2025 · 22 citations
- Multivariate Time Series Anomaly Detection by Capturing Coarse-Grained Intra- and Inter-Variate DependenciesYongzheng Xie, Hongyu Zhang, Muhammad Ali BabarWWW 2025 · 19 citations
Builds on1
Related papers
- Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly DetectionJohn Paparrizos, Paul Boniol, Themis Palpanas, Ruey S. Tsay et al.VLDB 2022 · 171 citations
- PATE: Proximity-Aware Time Series Anomaly EvaluationRamin Ghorbani, Marcel J. T. Reinders, David M. J. TaxKDD 2024 · 11 citations
- Generalized Discords for Time Series Anomaly Detection with Flexible Subsequence LengthsMakoto ImamuraKDD 2025 · 1 citation
- HYDRA: A Multi-Level Hierarchy-Driven Approach for Robust Anomaly Detection in Time SeriesMingyi Huang, Qinghua Liu, Paul Boniol, John PaparrizosSIGMOD 2026 · 4 citations
- When Foundation Models are One-Liners: Limitations and Future Directions for Time Series Anomaly DetectionXiaokun Zhu, Louis Carpentier, Mathias VerbekeICLR 2026
