[Paper Review] Graph Neural Network-Based Anomaly Detection in Multivariate Time Series
This paper proposes Graph Deviation Network (GDN), a novel graph neural network approach that jointly learns sensor relationships and detects anomalies in multivariate time series by modeling dependencies via attention-based GNNs. GDN outperforms baselines in anomaly detection accuracy and provides interpretable explanations through learned sensor embeddings, graph structures, and attention weights, enabling root cause localization in real-world sensor datasets.
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.
Motivation & Objective
- To address the challenge of detecting anomalies in high-dimensional multivariate time series where complex, nonlinear sensor relationships are critical for accurate detection.
- To learn the underlying graph structure of sensor relationships dynamically, rather than assuming it as input.
- To improve anomaly detection by modeling expected sensor behavior based on inter-sensor dependencies, enabling detection of deviations from normal patterns.
- To provide interpretable explanations for detected anomalies through sensor embeddings, attention weights, and predicted vs. observed behavior comparisons.
- To localize anomalies by identifying deviating sensors and their most influential neighbors in the learned graph.
Proposed method
- Uses sensor embeddings to capture unique characteristics of each sensor, enabling flexible representation of diverse sensor types.
- Employs a graph structure learning module to infer relationships between sensors from data, forming a dynamic graph of dependencies.
- Applies a graph attention-based forecasting mechanism to predict sensor values based on weighted contributions from neighboring sensors in the learned graph.
- Computes a graph deviation score by measuring the discrepancy between predicted and actual sensor values, identifying anomalies.
- Leverages attention weights to highlight key relationships and provide interpretability in anomaly explanations.
- Uses t-SNE visualization of sensor embeddings and force-directed layouts of attention-weighted graphs to support interpretability.
Experimental results
Research questions
- RQ1Can a GNN-based approach learn meaningful sensor relationships in multivariate time series data without prior graph structure?
- RQ2How accurately can the proposed method detect anomalies compared to existing baselines in real-world sensor datasets?
- RQ3To what extent can the model explain anomalies through sensor embeddings, graph structure, and attention weights?
- RQ4Can the model localize the root cause of an anomaly by identifying the most deviant sensor and its influential neighbors?
- RQ5How effective is the model in detecting subtle anomalies, such as false readings within normal ranges, that are hard to detect with traditional methods?
Key findings
- GDN achieved higher anomaly detection accuracy than baseline methods on two real-world water treatment plant datasets with ground truth anomalies.
- The model successfully captured complex, nonlinear correlations between sensors, as evidenced by localized clustering in sensor embedding space.
- Attention weights in the learned graph highlighted meaningful sensor relationships, such as the correlation between a flow sensor and a valve status sensor, aiding in anomaly localization.
- In a case study, GDN correctly identified the 1_MV_001_STATUS sensor as the most deviant during an attack, with high attention weights pointing to the compromised 1_FIT_001_PV flow sensor.
- The comparison between predicted and actual sensor values revealed a large deviation during the attack, confirming the anomaly detection mechanism.
- The model’s interpretability features, including visualized embeddings and attention-weighted graphs, enabled users to deduce the root cause of anomalies effectively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.