Towards Unbiased Evaluation of Time-series Anomaly Detector

Debarpan Bhattacharya, Sumanta Mukherjee, Chandramouli Kamanchi, Vijay Ekambaram, Arindam Jati +1 more
9/19/2024
10 citations
cs.LGstat.APstat.ML

Official code: summukhe/balanced_f1score (3 stars, Python, Apache-2.0, last commit 2024-09-12).

Abstract

Time series anomaly detection (TSAD) is an evolving area of research motivated by its critical applications, such as detecting seismic activity, sensor failures in industrial plants, predicting crashes in the stock market, and so on. Across domains, anomalies occur significantly less frequently than normal data, making the F1-score the most commonly adopted metric for anomaly detection.

Show full abstract

However, in the case of time series, it is not straightforward to use standard F1-score because of the dissociation between `time points' and `time events'. To accommodate this, anomaly predictions are adjusted, called as point adjustment (PA), before the $F_1$-score evaluation. However, these adjustments are heuristics-based, and biased towards true positive detection, resulting in over-estimated detector performance. In this work, we propose an alternative adjustment protocol called ``Balanced point adjustment'' (BA). It addresses the limitations of existing point adjustment methods and provides guarantees of fairness backed by axiomatic definitions of TSAD evaluation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository implements a balanced F1 score metric for time series anomaly Task

30PythonSep 12, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{bhattacharya2024towards,
  title  = {Towards Unbiased Evaluation of Time-series Anomaly Detector},
  author = {Debarpan Bhattacharya and Sumanta Mukherjee and Chandramouli Kamanchi and Vijay Ekambaram and Arindam Jati and Pankaj Dayama},
  year   = {2024},
  eprint = {2409.13053},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.13053v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.13053.svg)](https://codeofpaper.com/paper/2409.13053)

Discussion