Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy

About

Unsupervised detection of anomaly points in time series is a challenging problem, which requires the model to derive a distinguishable criterion. Previous methods tackle the problem mainly through learning pointwise representation or pairwise association, however, neither is sufficient to reason about the intricate dynamics. Recently, Transformers have shown great power in unified modeling of pointwise representation and pairwise association, and we find that the self-attention weight distribution of each time point can embody rich association with the whole series. Our key observation is that due to the rarity of anomalies, it is extremely difficult to build nontrivial associations from abnormal points to the whole series, thereby, the anomalies' associations shall mainly concentrate on their adjacent time points. This adjacent-concentration bias implies an association-based criterion inherently distinguishable between normal and abnormal points, which we highlight through the \emph{Association Discrepancy}. Technically, we propose the \emph{Anomaly Transformer} with a new \emph{Anomaly-Attention} mechanism to compute the association discrepancy. A minimax strategy is devised to amplify the normal-abnormal distinguishability of the association discrepancy. The Anomaly Transformer achieves state-of-the-art results on six unsupervised time series anomaly detection benchmarks of three applications: service monitoring, space & earth exploration, and water treatment.

Jiehui Xu, Haixu Wu, Jianmin Wang, Mingsheng Long• 2021

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionSMD
F1 Score92.33
217
Anomaly DetectionSWaT
F1 Score96.41
174
Anomaly DetectionPSM
F1 Score97.89
76
Anomaly DetectionMSL
Precision79.6
39
Anomaly DetectionPSM
Visual ROC88.71
35
Anomaly DetectionSMAP (test)
Precision91.85
35
Anomaly DetectionSWaT (test)
Precision0.7251
34
Time Series Anomaly DetectionSMAP
Precision93.96
32
Time Series Anomaly DetectionMSL
VUS-ROC0.51
32
Time Series Anomaly DetectionSMAP
Affiliation F171.65
29
Showing 10 of 92 rows
...

Other info

Follow for update