Calibrated One-class Classification for Unsupervised Time Series Anomaly Detection

Hongzuo Xu, Yijie Wang, Songlei Jian, Qing Liao, Yongjun Wang +1 more
7/25/2022
cs.LGcs.AI

Official code: xuhongzuo/couta (76 stars, Python, Apache-2.0, last commit 2025-07-25).

Abstract

Time series anomaly detection is instrumental in maintaining system availability in various domains. Current work in this research line mainly focuses on learning data normality deeply and comprehensively by devising advanced neural network structures and new reconstruction/prediction learning objectives.

Show full abstract

However, their one-class learning process can be misled by latent anomalies in training data (i.e., anomaly contamination) under the unsupervised paradigm. Their learning process also lacks knowledge about the anomalies. Consequently, they often learn a biased, inaccurate normality boundary. To tackle these problems, this paper proposes calibrated one-class classification for anomaly detection, realizing contamination-tolerant, anomaly-informed learning of data normality via uncertainty modeling-based calibration and native anomaly-based calibration. Specifically, our approach adaptively penalizes uncertain predictions to restrain irregular samples in anomaly contamination during optimization, while simultaneously encouraging confident predictions on regular samples to ensure effective normality learning. This largely alleviates the negative impact of anomaly contamination. Our approach also creates native anomaly examples via perturbation to simulate time series abnormal behaviors. Through discriminating these dummy anomalies, our one-class learning is further calibrated to form a more precise normality boundary. Extensive experiments on ten real-world datasets show that our model achieves substantial improvement over sixteen state-of-the-art contenders.

View on arXivView PDF

Code Implementations(1)

xuhongzuo/coutaOfficial100%
Apache-2.0

a time series anomaly detection method based on the calibrated one-class classifier

7618Python, Jupyter NotebookJul 23, 20221 years agoApache-2.0
anomaly-detectionone-class-classificationoutlier-detectionself-supervised-learningtime-series+1 more

Similar Papers

Cite this paper

@article{xu2022calibrated,
  title  = {Calibrated One-class Classification for Unsupervised Time Series Anomaly Detection},
  author = {Hongzuo Xu and Yijie Wang and Songlei Jian and Qing Liao and Yongjun Wang and Guansong Pang},
  year   = {2022},
  eprint = {2207.12201},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.12201}
}

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

Discussion