TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data
About
Efficient anomaly detection and diagnosis in multivariate time-series data is of great importance for modern industrial applications. However, building a system that is able to quickly and accurately pinpoint anomalous observations is a challenging problem. This is due to the lack of anomaly labels, high data volatility and the demands of ultra-low inference times in modern applications. Despite the recent developments of deep learning approaches for anomaly detection, only a few of them can address all of these challenges. In this paper, we propose TranAD, a deep transformer network based anomaly detection and diagnosis model which uses attention-based sequence encoders to swiftly perform inference with the knowledge of the broader temporal trends in the data. TranAD uses focus score-based self-conditioning to enable robust multi-modal feature extraction and adversarial training to gain stability. Additionally, model-agnostic meta learning (MAML) allows us to train the model using limited data. Extensive empirical studies on six publicly available datasets demonstrate that TranAD can outperform state-of-the-art baseline methods in detection and diagnosis performance with data and time-efficient training. Specifically, TranAD increases F1 scores by up to 17%, reducing training times by up to 99% compared to the baselines.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Detection | SMD | F1 Score96.05 | 359 | |
| Anomaly Detection | SWaT | F1 Score91.4 | 276 | |
| Time Series Anomaly Detection | GECCO | VUS-ROC0.9 | 74 | |
| Time Series Anomaly Detection | TSB-AD-M | VUS-PR30.8 | 67 | |
| Time Series Anomaly Detection | SMAP | F1 Score89.15 | 48 | |
| Anomaly Detection | MSL | F191.72 | 46 | |
| Multivariate Time Series Anomaly Detection | SWaT | F1 Score31.03 | 43 | |
| Multivariate Time Series Anomaly Detection | MSL | Precision29.57 | 39 | |
| Time Series Anomaly Detection | PSM | Standard-F125.63 | 38 | |
| Anomaly Detection | KR | V-ROC Score60.64 | 38 |