PATE: Proximity-Aware Time series anomaly Evaluation

Ramin Ghorbani, Marcel J. T. Reinders, David M. J. Tax
5/20/2024
cs.LG

No official code found. Best implementation: Raminghorbanii/PATE (19 stars, MIT, last commit 2024-12-19).

Abstract

Evaluating anomaly detection algorithms in time series data is critical as inaccuracies can lead to flawed decision-making in various domains where real-time analytics and data-driven strategies are essential. Traditional performance metrics assume iid data and fail to capture the complex temporal dynamics and specific characteristics of time series anomalies, such as early and delayed detections. We introduce Proximity-Aware Time series anomaly Evaluation (PATE), a novel evaluation metric that incorporates the temporal relationship between prediction and anomaly intervals. PATE uses proximity-based weighting considering buffer zones around anomaly intervals, enabling a more detailed and informed assessment of a detection. Using these weights, PATE computes a weighted version of the area under the Precision and Recall curve. Our experiments with synthetic and real-world datasets show the superiority of PATE in providing more sensible and accurate evaluations than other evaluation metrics. We also tested several state-of-the-art anomaly detectors across various benchmark datasets using the PATE evaluation scheme. The results show that a common metric like Point-Adjusted F1 Score fails to characterize the detection performances well, and that PATE is able to provide a more fair model comparison. By introducing PATE, we redefine the understanding of model efficacy that steers future studies toward developing more effective and accurate detection models.

View on arXivView PDF

Code Implementations(1)

Raminghorbanii/PATECommunity100%
MIT

Official repository for “PATE: Proximity-Aware Time series anomaly Evaluation”.

191PythonMay 18, 20241 years agoMIT
anomaly-detectionevaluationevaluation-metricsoutlier-detectiontime-series

Similar Papers

Cite this paper

@article{ghorbani2024pate,
  title  = {PATE: Proximity-Aware Time series anomaly Evaluation},
  author = {Ramin Ghorbani and Marcel J. T. Reinders and David M. J. Tax},
  year   = {2024},
  eprint = {2405.12096},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12096v1}
}

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/2405.12096.svg)](https://codeofpaper.com/paper/2405.12096)

Discussion