A Problem-Oriented Taxonomy of Evaluation Metrics for Time Series Anomaly Detection
Kaixiang Yang, Jiarong Liu, Yupeng Song, Shuanghua Yang, Yujue Zhou
TL;DR
This work addresses the misalignment between TSAD evaluation and operational objectives in IoT settings. It proposes a problem‑oriented taxonomy that reinterprets over twenty metrics across six dimensions, focusing on comparability, robustness, timeliness, and cost awareness rather than purely mathematical form. Through synthetic experiments with genuine, random, and oracle detectors, the authors quantify how well each metric discriminates meaningful detections from noise and reveal that some popular metrics (e.g., NAB, Point‑Adjust) can inflate scores under random scoring. The framework provides practical guidance for selecting or designing context‑aware, robust, and fair evaluation methods and highlights the need for multi‑objective standards that balance timely detection, human‑audit costs, and annotation uncertainty. Overall, the work offers a unified perspective that clarifies metric diversity and informs principled metric design for TSAD in heterogeneous IoT environments.
Abstract
Time series anomaly detection is widely used in IoT and cyber-physical systems, yet its evaluation remains challenging due to diverse application objectives and heterogeneous metric assumptions. This study introduces a problem-oriented framework that reinterprets existing metrics based on the specific evaluation challenges they are designed to address, rather than their mathematical forms or output structures. We categorize over twenty commonly used metrics into six dimensions: 1) basic accuracy-driven evaluation; 2) timeliness-aware reward mechanisms; 3) tolerance to labeling imprecision; 4) penalties reflecting human-audit cost; 5) robustness against random or inflated scores; and 6) parameter-free comparability for cross-dataset benchmarking. Comprehensive experiments are conducted to examine metric behavior under genuine, random, and oracle detection scenarios. By comparing their resulting score distributions, we quantify each metric's discriminative ability -- its capability to distinguish meaningful detections from random noise. The results show that while most event-level metrics exhibit strong separability, several widely used metrics (e.g., NAB, Point-Adjust) demonstrate limited resistance to random-score inflation. These findings reveal that metric suitability must be inherently task-dependent and aligned with the operational objectives of IoT applications. The proposed framework offers a unified analytical perspective for understanding existing metrics and provides practical guidance for selecting or developing more context-aware, robust, and fair evaluation methodologies for time series anomaly detection.
