TL;DR
This paper introduces a knowledge-assisted multi-graph framework for anomaly detection in multi-stage industrial processes. By combining purely data-driven graph learning with structural constraints derived from basic process diagrams, the model captures both intra-stage and cross-stage sensor dependencies more accurately than purely data-driven methods, leading to state-of-the-art anomaly detection performance.
What Problem Does This Paper Address?
Modern Industrial Control Systems (ICS)—like water treatment plants or chemical factories—rely on hundreds of sensors distributed across multiple sequential stages. To monitor these systems, researchers use Multivariate Time Series Anomaly Detection (MTAD). Recently, Graph Neural Networks (GNNs) have become the go-to tool for MTAD because they can model relationships between sensors as edges in a graph.
However, because the true underlying graph structure is rarely known, standard GNNs try to learn sensor relationships purely from data. This approach struggles in multi-stage industrial processes. Purely data-driven models often infer spurious correlations or completely miss critical, long-range physical dependencies (for example, a pump in Stage 6 physically feeding water back to clean a filter in Stage 3).
Methods
To bridge the gap between pure data and physical reality, the authors propose a framework that structurally injects two types of easily accessible prior knowledge into the graph learning process: sensor group knowledge (which sensors belong to which sub-process) and process flow knowledge (which sub-processes are adjacent or connected).
Instead of relying on a single graph, the framework constructs three complementary graphs:
- Uninformed Graph ($G^U$): A purely data-driven graph that learns latent sensor characteristics using source and target embeddings to capture asymmetric, directional relationships.
- Sensor Group Knowledge-Informed Graph ($G^G$): Focuses strictly on intra-sub-process relationships by masking out similarities between sensors that do not belong to the same stage.
- Process Flow Knowledge-Informed Graph ($G^F$): Focuses on inter-sub-process relationships by masking out similarities unless the sensors belong to physically adjacent or connected stages.
The architecture processes these graphs using a Multi-Graph Attention Network (Multi-GAT), where three separate GAT modules dynamically assign attention weights to neighboring sensors based on each specific graph's structure. Concurrently, a Temporal Convolutional Network (TCN) acts as a temporal encoder to capture long-range patterns within individual sensors over time. The outputs are combined through a Multi-Layer Perceptron (MLP) to forecast future sensor readings, and anomalies are flagged based on normalized prediction errors (Graph Deviation Scoring).
Datasets
The model was evaluated on two widely recognized, real-world multi-stage industrial cyber-physical benchmarks collected by iTrust:
- SWaT (Secure Water Treatment): A dataset from a six-stage water treatment process containing 51 sensors across 11 days of operation (7 normal days, 4 days with cyber-attacks).
- WADI (Water Distribution): A larger dataset from a three-stage water distribution system comprising 127 sensors over 16 days (14 normal days, 2 days with cyber-attacks).
Key Insights and Ideas
- Structured Inductive Bias over Auxiliary Attributes: Instead of simply appending process knowledge as extra node features, this method uses knowledge to mask the similarity matrices during graph construction. This forces the graph learning mechanism to respect physical boundaries.
- The Power of Redundancy: Maintaining three separate graphs provides alternative pathways for dependency modeling. If the process knowledge provided by a practitioner is slightly incomplete or noisy, the uninformed, data-driven graph can still pick up the slack.
- No Expert Modeling Required: From a practical deployment standpoint, engineers do not need to manually write complex mathematical equations or rules for sensor relationships. They only need to input basic sensor groupings and stage adjacencies directly from existing piping and instrumentation diagrams (P&IDs).
Key Results
The proposed method consistently achieved the highest average $F1$ scores against a diverse set of baselines (including USAD, TranAD, GDN, and FuSAGNet):
- SWaT Dataset: Achieved an $F1$ score of 0.8233, outperforming the closest data-driven GNN baseline (ECNU-GNN at 0.8089).
- WADI Dataset: Achieved an $F1$ score of 0.6485, significantly outperforming baselines like GDN (0.4206) and FuSAGNet (0.5301).
Ablation studies confirmed that removing either the process flow graph ($G^F$) or the sensor group graph ($G^G$) caused noticeable performance drops, proving that both intra-stage and inter-stage knowledge contribute independently to robust anomaly detection.
Limitations and Future Work
A notable limitation acknowledged by the authors is that the model does not explicitly account for the inherent stochasticity (random noise and volatility) found in industrial time-series data. This can occasionally lead to overconfident deterministic predictions and reduced robustness.
As a next step, the authors plan to evolve this framework into a probabilistic forecasting-based MTAD model that explicitly quantifies forecast uncertainty alongside structured graph dependencies.
Summary updated