Seedlabs
Source research

Graph Neural Network-Based Anomaly Detection in Multivariate Time Series

Ailin Deng, Bryan Hooi · 2021 · 1541 citationsRead the paper

Given high-dimensional time series data (e.g., sensor data), how can we detect anomalous events, such as system faults and attacks? More challengingly, how can we do this in a way that captures complex inter-sensor relationships, and detects and explains anomalies which deviate from these relationships? Recently, deep learning approaches have enabled improvements in anomaly detection in high-dimensional datasets; however, existing methods do not explicitly learn the structure of existing relationships between variables, or use them to predict the expected behavior of time series. Our approach combines a structure learning approach with graph neural networks, additionally using attention weights to provide explainability for the detected anomalies. Experiments on two real-world sensor datasets with ground truth anomalies show that our method detects anomalies more accurately than baseline approaches, accurately captures correlations between sensors, and allows users to deduce the root cause of a detected anomaly.

What the full text shows

Shown in the lab
  • GDN outperformed all baselines in F1-score on both datasets, showing particularly high precision. — F1-score 0.81 on SWaT and 0.57 on WADI; precision 99.35% on SWaT and 97.50% on WADI (Tested on SWaT and WADI sensor datasets)
  • GDN showed significant improvement over the next best baseline on the high-dimensional, unbalanced WADI dataset. — 54% higher F-measure than the next best baseline (WADI dataset)
  • Removing the attention mechanism caused the most significant performance degradation. — F1-score dropped to 0.68 (SWaT) and 0.48 (WADI) (Ablation study on GDN variants)
  • Replacing the learned graph with a static complete graph degraded performance. — Not specified (Ablation study, more obvious effect on WADI dataset)
  • Sensor embeddings successfully clustered sensors with similar behaviors. — Not specified (t-SNE visualization on WADI dataset)
Setup
Two real-world water treatment datasets: SWaT (51 features, 47,515 train, 44,986 test) and WADI (127 features, 118,795 train, 17,275 test), down-sampled to 10-second intervals.
How
The authors developed the Graph Deviation Network (GDN), which combines a structure learning approach with graph neural networks and an attention mechanism to learn inter-sensor relationships and detect deviations. The model uses sensor embeddings and attention weights to provide explainability and localize the root cause of anomalies.
Limitations
The datasets used are based on physical test-beds rather than full-scale industrial plants. · The model requires a period of normal operation data for training (unsupervised approach).

Summarized by Gemma 4 from the open-access full text · 15 Nov 2026. Read it