Share your thoughts, 1 month free Claude Pro on usSee more
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
359
Anomaly DetectionSWaT
F1 Score96.41
276
Anomaly DetectionPSM
F1 Score97.89
142
Anomaly DetectionMSL
Precision91.92
95
Time Series Anomaly DetectionGECCO
VUS-ROC0.4751
74
Anomaly DetectionSMAP
F1 Score96.41
69
Time Series Anomaly DetectionTSB-AD-M
VUS-PR12
67
Time Series Anomaly DetectionSMAP
F1 Score96.15
48
Anomaly DetectionMSL
F193.59
46
Multivariate Time Series Anomaly DetectionSWaT
F1 Score94.07
43
Showing 10 of 167 rows
...

Other info

Follow for update