Scale-Robust and Global-Aware Representation Learning for Multivariate Time Series Anomaly Detection
Organizations: Chung-Ang University (CAU), Seoul, Republic of Korea · The Affiliated Institute of ETRI, Daejeon, Republic of Korea · Chungbuk National University (CBNU), Cheongju, Republic of Korea
Abstract
Multivariate time series anomaly detection (MTSAD) is an essential task for identifying abnormal system behaviors and supporting reliable operations across diverse real-world applications. Despite substantial advances in MTSAD, two key challenges in representation learning remain underexplored: (C1) how to learn scale-robust temporal representations that capture anomalies across different temporal scales and (C2) how to learn global-aware relational representations that capture inter-series dependencies by incorporating series-level global characteristics beyond local windows. To address these challenges, we propose STAGER, a novel method that jointly learns two complementary representations: scale-robust temporal and global-aware relational representations. Specifically, STAGER employs (1) a scale-robust temporal encoder that constructs a multi-scale temporal directed acyclic graph (DAG) to learn scale-robust temporal representations and (2) a global-aware relational encoder that incorporates learnable series-level global embeddings into the temporal representations and models inter-series relationships through graph neural networks. Two complementary auxiliary objectives further enhance the distinctiveness of the global embeddings. Extensive experiments on three real-world benchmark datasets demonstrate that STAGER achieves the best average rank among ten evaluated MTSAD methods across three evaluation metrics. Ablation and sensitivity analyses validate the effectiveness of the proposed components and auxiliary objectives, while efficiency evaluations demonstrate that STAGER achieves a favorable trade-off between detection performance and inference time compared with existing methods.
Figures & tables
| Methods | (C1) | (C2) |
| kNN, OCSVM, DeepSVDD, LSTM-NDT, USAD, InterFusion, TSMixer, AnomalyT, MTAD-GAT, MTGFlow | – | – |
| MSCRED, MtsCID, MSHTrans | – | |
| GDN, FuSAGNet | – | |
| STAGER (Ours) |
| Method | Time Complexity |
| STAGER | |
| USAD | |
| TSMixer | |
| Anomaly Transformer | |
| FuSAGNet | |
| MtsCID |
| Dataset | #Series | #Train | #Test | Anomaly |
| SWaT | 51 | 47,340 | 44,993 | 12.14% |
| WADI | 127 | 76,299 | 17,281 | 5.77% |
| HAI | 86 | 100,440 | 36,120 | 3.32% |
| Hyperparameter | SWaT | WADI | HAI |
| Window length | 120 | 360 | 15 |
| Embedding dimension | 16 | 16 | 16 |
| Batch size | 32 | 32 | 32 |
| Learning rate | |||
| Training epochs (max.) | 50 | 50 | 50 |
| -layers | 2 | 2 | 2 |
| Method | SWaT | WADI | HAI |
| STAGER | 120 | 360 | 15 |
| USAD | 12 | 10 | 15 |
| TSMixer | 60 | 300 | 15 |
| AnomalyTransformer | 100 | 60 | 15 |
| FuSAGNet | 16 | 60 | 16 |
| MtsCID | 100 | 30 | 15 |
| Dataset | Metric | KNN | OCSVM | DeepSVDD | USAD | TSMixer | AnomalyT | FuSAGNet | MtsCID | MSHTrans | STAGER |
| SWaT | P | 97.89 0.00 | 97.88 0.00 | 97.64 0.03 | 98.12 0.08 | 97.89 0.03 | 97.89 0.08 | 98.17 0.05 | 34.36 0.75 | 98.09 0.02 | 98.24 0.04 |
| R | 65.26 0.00 | 64.96 0.00 | 58.29 0.16 | 71.08 1.51 | 65.34 1.01 | 65.51 2.63 | 75.64 1.99 | 0.73 0.02 | 71.54 0.84 | 78.55 1.61 | |
| F1 | 78.31 0.00 | 78.09 0.00 | 73.00 0.13 | 82.43 1.00 | 78.36 0.74 | 78.47 1.92 | 85.44 1.29 | 1.43 0.05 | 82.73 0.57 | 87.29 1.01 | |
| PA-P | 98.14 0.00 | 98.14 0.00 | 97.95 0.02 | 98.37 0.06 | 98.47 0.01 | 98.22 0.08 | 98.44 0.02 | 98.14 0.03 | 98.38 0.03 | 98.47 0.03 | |
| PA-R | 74.35 0.00 | 74.35 0.00 | 67.06 0.42 | 81.94 2.87 | 90.85 0.57 | 78.12 3.52 | 88.95 1.12 | 73.75 0.68 | 84.58 1.79 | 90.50 2.06 | |
| PA-F1 | 84.61 0.00 | 84.61 0.00 | 79.61 0.29 | 89.38 1.70 | 94.51 0.31 | 86.99 2.22 | 93.45 0.63 | 84.21 0.46 | 90.95 1.05 | 94.31 1.13 |
| Method | SWaT | WADI | HAI | |||||||
| F1 | PA-F1 | eTaF1 | F1 | PA-F1 | eTaF1 | F1 | PA-F1 | eTaF1 | ||
| STAGER (FiLM+GAT) | 87.29 1.01 | 94.31 1.13 | 71.45 3.47 | 72.02 4.28 | 93.07 4.58 | 79.44 2.37 | 54.51 3.41 | 87.54 2.56 | 64.15 2.04 | |
| (1) | STAGER w/o MS | 86.49 0.98 | 93.65 1.02 | 68.64 3.28 | 59.68 4.09 | 91.44 4.67 | 75.29 2.07 | 41.32 7.07 | 81.59 1.92 | 52.91 2.31 |
| STAGER w/o DAG | 86.26 2.93 | 93.11 3.80 | 64.88 11.08 | 56.87 3.20 | 84.01 8.47 | 70.94 3.09 | 53.51 7.92 | 85.48 2.54 | 62.99 2.58 | |
| (2) | STAGER w/o Global | 81.53 0.65 | 88.50 1.01 | 55.10 1.62 | 35.23 3.41 | 42.63 7.10 | 45.74 4.85 | 52.87 6.07 | 84.84 3.27 | 60.61 2.97 |
| STAGER (MLP_Global) | 86.12 2.32 | 92.85 2.89 | 66.44 9.35 | 60.16 3.05 | 90.77 4.30 | 73.85 3.47 | 51.29 6.64 | 84.97 5.94 | 60.32 4.98 | |
| Method | Aux. | SWaT | WADI | HAI | |||||||
| Cls. | Reg. | F1 | PA-F1 | eTaF1 | F1 | PA-F1 | eTaF1 | F1 | PA-F1 | eTaF1 | |
| STAGER | ✓ | ✓ | 87.29 1.01 | 94.31 1.13 | 71.45 3.47 | 72.02 4.28 | 93.07 4.58 | 79.44 2.37 | 54.51 3.41 | 87.54 2.56 | 64.15 2.04 |
| STAGER w/o Cls. | - | ✓ | 86.29 2.53 | 94.21 2.31 | 67.71 10.84 | 64.51 6.65 | 89.86 8.36 | 76.06 3.14 | 46.85 7.06 | 86.74 0.99 | 63.14 1.84 |
| STAGER w/o Reg. | ✓ | - | 85.84 2.82 | 92.86 2.68 | 61.94 10.41 | 58.52 0.75 | 89.26 2.77 | 72.35 1.68 | 51.27 5.98 | 84.76 5.34 | 61.49 6.47 |
| STAGER w/o Both | - | - | 86.36 1.69 | 93.16 1.72 | 65.60 7.30 | 58.80 4.98 | 92.99 1.88 | 73.64 2.70 | 52.05 3.43 | 86.20 3.26 | 62.99 2.09 |
Time-Series Anomaly Detection
Time-Series Anomaly Detection identifies unusual patterns or events in sequential data, from sensor readings and network traffic to health and industrial telemetry.
See all 234 papers