Skip to main content
QUICK REVIEW

[Paper Review] Navigating the Metric Maze: A Taxonomy of Evaluation Metrics for Anomaly Detection in Time Series

Sondre Sørbø, Massimiliano Ruocco|arXiv (Cornell University)|Mar 2, 2023
Time Series Analysis and ForecastingComputer Science5 citations
TL;DR

This paper proposes a comprehensive taxonomy and evaluation framework for time series anomaly detection (TSAD) metrics, analyzing 20 metrics across 10 key properties. It demonstrates that metric choice critically affects method rankings and performance assessment, advocating for careful, task-specific metric selection to avoid misleading conclusions in TSAD research and applications.

ABSTRACT

The field of time series anomaly detection is constantly advancing, with several methods available, making it a challenge to determine the most appropriate method for a specific domain. The evaluation of these methods is facilitated by the use of metrics, which vary widely in their properties. Despite the existence of new evaluation metrics, there is limited agreement on which metrics are best suited for specific scenarios and domain, and the most commonly used metrics have faced criticism in the literature. This paper provides a comprehensive overview of the metrics used for the evaluation of time series anomaly detection methods, and also defines a taxonomy of these based on how they are calculated. By defining a set of properties for evaluation metrics and a set of specific case studies and experiments, twenty metrics are analyzed and discussed in detail, highlighting the unique suitability of each for specific tasks. Through extensive experimentation and analysis, this paper argues that the choice of evaluation metric must be made with care, taking into account the specific requirements of the task at hand.

Motivation & Objective

  • To address the lack of consensus and systematic understanding in selecting evaluation metrics for time series anomaly detection (TSAD).
  • To identify and analyze key properties of existing TSAD evaluation metrics that influence their suitability for different scenarios.
  • To provide a structured taxonomy based on calculation methods to improve comparability and transparency in metric selection.
  • To evaluate the impact of metric choice through hypothetical case studies, revealing how different metrics can rank the same predictions very differently.
  • To guide researchers and practitioners in selecting appropriate metrics by linking metric behavior to real-world requirements such as early detection, anomaly length, and proximity.

Proposed method

  • Proposes a novel taxonomy of 20 TSAD evaluation metrics based on their calculation methods, enabling systematic comparison.
  • Defines 10 key properties (e.g., time-awareness, threshold requirement, indifference to imbalance) to characterize each metric’s behavior.
  • Conducts a series of 10 hypothetical case studies to test how each metric responds to specific prediction patterns (e.g., long vs. short anomalies, partial detection).
  • Analyzes metrics using both synthetic and real-world labeling patterns, including edge cases like random noise predictions.
  • Uses quantitative scoring across case studies to categorize metrics based on their preferences and limitations.
  • Compares widely used metrics (e.g., P W f β, AUCROC, P Af β) with newer or less common ones (e.g., NAB, biasRfαβ, Tafδβ), highlighting inconsistencies and flaws.

Experimental results

Research questions

  • RQ1Which evaluation metrics are most appropriate for detecting long or short anomalous events in time series?
  • RQ2How do different metrics respond to predictions that are partially correct or misaligned in time?
  • RQ3To what extent does the choice of metric influence the ranking of TSAD algorithms in benchmarking?
  • RQ4Which metrics are sensitive to temporal proximity or earliness of detection, and which are indifferent?
  • RQ5Why do some metrics produce misleadingly high scores for uninformative predictions (e.g., random noise), and how can this be avoided?

Key findings

  • The choice of evaluation metric has a substantial impact on the ranking of TSAD methods, with some metrics favoring spurious prediction patterns.
  • Metrics like P Af β and P W f β can produce high scores for predictions that are incorrect in timing or duration, such as detecting only short segments of long anomalies.
  • Some metrics, such as biasRfαβ and Tafδβ, are sensitive to parameter settings and can yield inconsistent results depending on configuration.
  • Metrics like AUCROC and AUCPR are indifferent to imbalance and do not require a threshold, but may overlook temporal alignment issues.
  • The P@K metric is particularly sensitive to the order of predictions and can penalize early detection, even when such detection is valuable.
  • No single metric is universally suitable; the most appropriate metric depends on the specific task requirements, such as early detection or proximity to true anomalies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.