English

AnomalyBERT: Self-Supervised Transformer for Time Series Anomaly Detection using Data Degradation Scheme

Machine Learning 2023-05-09 v1 Artificial Intelligence

Abstract

Mechanical defects in real situations affect observation values and cause abnormalities in multivariate time series, such as sensor values or network data. To perceive abnormalities in such data, it is crucial to understand the temporal context and interrelation between variables simultaneously. The anomaly detection task for time series, especially for unlabeled data, has been a challenging problem, and we address it by applying a suitable data degradation scheme to self-supervised model training. We define four types of synthetic outliers and propose the degradation scheme in which a portion of input data is replaced with one of the synthetic outliers. Inspired by the self-attention mechanism, we design a Transformer-based architecture to recognize the temporal context and detect unnatural sequences with high efficiency. Our model converts multivariate data points into temporal representations with relative position bias and yields anomaly scores from these representations. Our method, AnomalyBERT, shows a great capability of detecting anomalies contained in complex time series and surpasses previous state-of-the-art methods on five real-world benchmarks. Our code is available at https://github.com/Jhryu30/AnomalyBERT.

Keywords

Cite

@article{arxiv.2305.04468,
  title  = {AnomalyBERT: Self-Supervised Transformer for Time Series Anomaly Detection using Data Degradation Scheme},
  author = {Yungi Jeong and Eunseok Yang and Jung Hyun Ryu and Imseong Park and Myungjoo Kang},
  journal= {arXiv preprint arXiv:2305.04468},
  year   = {2023}
}

Comments

11 pages, Presented at ICLR 2023 workshop on Machine Learning for IoT

R2 v1 2026-06-28T10:28:20.976Z