Introduction
In complex industrial environments, such as water treatment plants or power grids, thousands of sensors generate multivariate time series (MTS) data. Detecting anomalies in these systems is critical for safety and efficiency. Recent research has leveraged Graph Neural Networks (GNNs) to model the dependencies between sensors, treating them as nodes in a graph. However, existing GNN-based approaches often rely on two limiting assumptions: that sensor relationships are static and that they exist at a single temporal scale.
This paper introduces MDGAD (Multi-scale Dynamic Graph Anomaly Detection), a framework designed to capture the evolving nature of sensor dependencies across multiple temporal resolutions.
Methodology
The MDGAD framework addresses the shortcomings of static graph models through three integrated components:
- Multi-Scale Feature Extraction: Utilizing a dilated inception layer-based temporal convolution network (TCN), the model extracts features using various dilation factors. This allows the network to simultaneously capture patterns at different time scales, providing a comprehensive representation of sensor behavior.
- Dynamic Graph Structure Learning: MDGAD moves beyond fixed adjacency matrices. By segmenting the time series and employing a Gated Recurrent Unit (GRU) to generate node representations for each segment, the model learns a sequence of evolving graphs. This dynamic approach tracks how sensor correlations shift based on the system's operational state.
- Bilateral Anomaly Detection: The model employs a bilateral forecasting mechanism to identify anomalies. It predicts the value of a masked data point using information from both the past (forward) and the future (backward). A "mix-skip propagation" mechanism is also used to retain historical graph information while integrating new data. Anomalies are flagged when observed values deviate significantly from these bilateral predictions.
Experimental Setup
The performance of MDGAD was evaluated on two benchmark datasets for industrial anomaly detection:
- SWaT (Secure Water Treatment): A dataset from a continuous water treatment facility.
- WADI (Water Distribution): A larger-scale dataset representing a distribution network with a higher number of sensors and more complex interactions.
Experimental Results
MDGAD was compared against several baseline methods, including Autoencoders (AE), LSTM-VAE, MAD-GAN, and the Graph Deviation Network (GDN).
As shown in the results, MDGAD consistently outperforms previous state-of-the-art models. On the SWaT dataset, it achieved an F1 score of 82.27. More notably, on the more complex WADI dataset, MDGAD demonstrated a significant improvement in Recall (46.58 compared to GDN's 40.19) and F1 score (60.10 compared to 56.92). These results suggest that modeling dynamic, multi-scale dependencies is crucial for identifying subtle anomalies in large-scale industrial systems.
Discussion and Future Work
While MDGAD demonstrates superior detection performance, several areas for future research remain. The computational overhead of learning dynamic graphs at multiple scales may impact real-time monitoring capabilities. Additionally, the model's sensitivity to hyperparameters, such as the balancing weight $\eta$ and skip-ratio $\lambda$, warrants further investigation into automated tuning methods. Finally, improving the interpretability of multi-scale dynamic graphs would help human operators better understand the root causes of flagged anomalies.
Summary updated