Lune

KDD2022Top-tier venue

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CrossAD: Time Series Anomaly Detection with Cross-scale Associations and Cross-window Modeling cites Drift doesn't Matter: Dynamic Decomposition with Diffusion Reconstruction for Unstable Multivariate Time Series Anomaly Detection
  • CrossAD: Time Series Anomaly Detection with Cross-scale Associations and Cross-window Modeling cites DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection
  • CrossAD: Time Series Anomaly Detection with Cross-scale Associations and Cross-window Modeling cites TAB: Unified Benchmarking of Time Series Anomaly Detection Methods
  • CrossAD: Time Series Anomaly Detection with Cross-scale Associations and Cross-window Modeling cites Multivariate Time Series Anomaly Detection by Capturing Coarse-Grained Intra- and Inter-Variate Dependencies
  • Drift doesn't Matter: Dynamic Decomposition with Diffusion Reconstruction for Unstable Multivariate Time Series Anomaly Detection cites Towards a Rigorous Evaluation of Time-Series Anomaly Detection
  • TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites Drift doesn't Matter: Dynamic Decomposition with Diffusion Reconstruction for Unstable Multivariate Time Series Anomaly Detection
  • TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection
  • TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites Towards a Rigorous Evaluation of Time-Series Anomaly Detection
  • Multivariate Time Series Anomaly Detection by Capturing Coarse-Grained Intra- and Inter-Variate Dependencies cites DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly DetectionYiyuan Yang, Chaoli Zhang, Tian Zhou, Qingsong Wen et al.KDD 2023 · 244 citations
  2. 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
  3. TAB: Unified Benchmarking of Time Series Anomaly Detection MethodsXiangfei Qiu, Zhe Li, Wanghui Qiu, Shiyan Hu et al.VLDB 2025 · 57 citations
  4. 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
  5. 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

  1. Towards a Rigorous Evaluation of Time-Series Anomaly DetectionSiwon Kim, Kukjin Choi, Hyun-Soo Choi, Byunghan Lee et al.AAAI 2022 · 220 citations

Related papers

  1. 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
  2. PATE: Proximity-Aware Time Series Anomaly EvaluationRamin Ghorbani, Marcel J. T. Reinders, David M. J. TaxKDD 2024 · 11 citations
  3. Generalized Discords for Time Series Anomaly Detection with Flexible Subsequence LengthsMakoto ImamuraKDD 2025 · 1 citation
  4. HYDRA: A Multi-Level Hierarchy-Driven Approach for Robust Anomaly Detection in Time SeriesMingyi Huang, Qinghua Liu, Paul Boniol, John PaparrizosSIGMOD 2026 · 4 citations
  5. When Foundation Models are One-Liners: Limitations and Future Directions for Time Series Anomaly DetectionXiaokun Zhu, Louis Carpentier, Mathias VerbekeICLR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines