Formally Exploring Time-Series Anomaly Detection Evaluation Metrics
Dennis Wagner, Arjun Nair, Billy Joe Franks, Justus Arweiler, Aparna Muraleedharan, Indra Jungjohann, Fabian Hartung, Mayank C. Ahuja, Andriy Balinskyy, Saurabh Varshneya, Nabeel Hussain Syed, Mayank Nagda, Phillip Liznerski, Steffen Reithermann, Maja Rudolph, Sebastian Vollmer, Ralf Schulz, Torsten Katz, Stephan Mandt, Michael Bortz, Heike Leitte, Daniel Neider, Jakob Burger, Fabian Jirasek, Hans Hasse, Sophie Fellenz, Marius Kloft
TL;DR
The paper addresses the problem that time-series anomaly detection (TSAD) evaluations suffer from inconsistent and potentially misleading metrics. It introduces a formal framework with two sets of verifiable properties (basic and advanced) to rigorously characterize TSAD evaluation metrics. Through analysis of 37 existing metrics, it shows that none satisfy all properties, explaining conflicting rankings in prior work. The authors then propose two general metrics, LARM and ALARM, that provably satisfy the advanced properties and offer adjustable trade-offs for application-specific needs. This work aims to enable trustworthy, interpretable, and robust evaluations of TSAD methods across diverse domains.
Abstract
Undetected anomalies in time series can trigger catastrophic failures in safety-critical systems, such as chemical plant explosions or power grid outages. Although many detection methods have been proposed, their performance remains unclear because current metrics capture only narrow aspects of the task and often yield misleading results. We address this issue by introducing verifiable properties that formalize essential requirements for evaluating time-series anomaly detection. These properties enable a theoretical framework that supports principled evaluations and reliable comparisons. Analyzing 37 widely used metrics, we show that most satisfy only a few properties, and none satisfy all, explaining persistent inconsistencies in prior results. To close this gap, we propose LARM, a flexible metric that provably satisfies all properties, and extend it to ALARM, an advanced variant meeting stricter requirements.
