Spatiotemporal Graph Neural Networks for Fault Detection and Structural Learning in Chemical Processes: Use Case on the Tennessee Eastman Process
Organizations: IFP Energies Nouvelles, Rond-point de l’´echangeur de Solaize, BP 3, 69360 Solaize, France · Universit´e de Lorraine, CNRS, CRAN, F-54000 Nancy, France
Abstract
Classical Fault Detection and Diagnosis (FDD) methods, including many data-driven approaches, assume a static normal operating space and interpret deviations from a fixed reference as fault indicators. When Operating Conditions (OCs) vary over time, this assumption breaks down: legitimate transitions trigger false alarms while moderate faults go undetected. We propose a spatiotemporal Graph Neural Network (GNN) framework that decomposes the normal operating space into OC-specific subspaces linked by transition functions, with a dual learning objective combining reconstruction loss and a Deep SVDD one-class term. It learns adjacency matrices through Graph Attention Networks (GATs) and integrates spatial modelling with temporal encoding to represent process dynamics under evolving OCs. This paper evaluates the framework's foundational components (fault detection, GATv2 spatial graph learning and temporal encoding) on the Tennessee Eastman Process (TEP) benchmark, training only on fault-free data. The architecture achieves competitive detection from reconstruction error alone, with similarity-based feature selection improving both accuracy and graph structure diversity. We then evaluate the physical interpretability of the learned attention matrices against 22 ground-truth sensor pairs derived from the TEP control structure and process topology. GATv2 attention fails to recover all known physical pairs across multiple hyperparameter configurations, suggesting a structural limitation of reconstruction-driven attention rather than a tuning issue. This challenges a common assumption in GNN-based FDD: that learned attention weights provide a basis for fault diagnosis and root-cause analysis. The architecture detects faults effectively, but the learned graph does not encode the physical topology needed for interpretable diagnosis, motivating physics-informed graph construction.
Figures & tables
| Exp. | feat_embed | window | dropout |
| A | 16 | 50 | 0.2 |
| B | 32 | 50 | 0.2 |
| C | 64 | 25 | 0.2 |
| D | 32 | 25 | 0.3 |
| E | 64 | 50 | 0.4 |
| Exp. | f_embed | w | drop | ROC-AUC | PR-AUC |
| A | 16 | 50 | 0.2 | 0.772 | 0.803 |
| B | 32 | 50 | 0.2 | 0.771 | 0.803 |
| C | 64 | 25 | 0.2 | 0.752 | 0.784 |
| D | 32 | 25 | 0.3 | 0.754 | 0.786 |
| E | 64 | 50 | 0.4 | 0.771 | 0.802 |
| F. | Type | ROC | PR |
| 1 | Step | 0.700 | 0.769 |
| 2 | Step | 0.640 | 0.696 |
| 3 † | Step | 0.500 | 0.500 |
| 4 | Step | 0.515 | 0.545 |
| 5 | Step | 0.633 | 0.702 |
| 6 | Step | 0.912 | 0.938 |
| Method | Faults | Reported metric |
| TGGL jia2023 | 20/20 | FDR |
| CNN-GAT liu2024 | 20/20 | FDR |
| This work (Exp. A) | 20/20 | ROC-AUC 0.77 PR-AUC 0.80 |
| TEP F1 is taken from a re-implementation reported by jia2023 . | ||
| FDR = Fault Detection Rate at fixed false alarm rate. | ||
| GAT hits | GAT rate | Pearson hits | Pearson rate | |
| 10 | 0 | 0.0% | 4 | 40.0% |
| 20 | 1 | 5.0% | 4 | 20.0% |
| 30 | 2 | 6.7% | 6 | 20.0% |
| 50 | 2 | 4.0% | 7 | 14.0% |
| Exp. | Config. | Hits@30 | Rate |
| A | 16 / 50 / 0.2 | 1 | 3.3% |
| B | 32 / 50 / 0.2 | 1 | 3.3% |
| C | 64 / 25 / 0.2 | 0 | 0.0% |
| D | 32 / 25 / 0.3 | 0 | 0.0% |
| E | 64 / 50 / 0.4 | 1 | 3.3% |
| Var. | Name | Unit |
| xmeas_1 | A Feed (stream 1) | kscmh |
| xmeas_2 | D Feed (stream 2) | kg/hr |
| xmeas_3 | E Feed (stream 3) | kscmh |
| xmeas_4 | A and C Feed (stream 4) | kscmh |
| xmeas_5 | Recycle Flow (stream 8) | kscmh |
| xmeas_6 | Reactor Feed Rate (stream 6) | kscmh |
| Variables | Description | Sampling (h) | Dead Time (h) |
| xmeas_23 to xmeas_29 | Reactor Feed Analysis (Stream 6) | 0.1 | 0.1 |
| xmeas_30 to xmeas_37 | Purge Gas Analysis (Stream 9) | 0.1 | 0.1 |
| xmeas_38 to xmeas_41 | Product Analysis (Stream 11) | 0.25 | 0.25 |
| Var. | Name | Unit | Var. | Name | Unit |
| xmv_1 | D Feed Flow (stream 2) | kg/hr | xmv_7 | Sep Pot Liquid Flow (stream 10) | m 3 /hr |
| xmv_2 | E Feed Flow (stream 3) | kg/hr | xmv_8 | Stripper Product Flow (stream 11) | m 3 /hr |
| xmv_3 | A Feed Flow (stream 1) | kscmh | xmv_9 | Stripper Steam Valve | % |
| xmv_4 | A and C Feed Flow (stream 4) | kscmh | xmv_10 | Reactor Cooling Water Flow | m 3 /hr |
| xmv_5 | Compressor Recycle Valve | % | xmv_11 | Condenser Cooling Water Flow | m 3 /hr |
| xmv_6 | Purge Valve (stream 9) | % |
| F. | Description | Type | F. | Description | Type |
| 1 | A/C feed ratio, B comp. (Str. 4) | Step | 10 | C feed temp. (Str. 4) | Random |
| 2 | B comp., A/C ratio (Str. 4) | Step | 11 | Reactor CW inlet temp. | Random |
| 3 | D feed temp. (Str. 2) | Step | 12 | Condenser CW inlet temp. | Random |
| 4 | Reactor CW inlet temp. | Step | 13 | Reaction kinetics | Slow Drift |
| 5 | Condenser CW inlet temp. | Step | 14 | Reactor CW valve | Sticking |
| 6 | A feed loss (Str. 1) | Step | 15 | Condenser CW valve | Sticking |
| # | Sensor A | Sensor B | Description |
| Category 1 — Control loops (11 pairs) | |||
| 1 | xmeas_7 | xmv_4 | Reactor pressure / A+C feed flow |
| 2 | xmeas_7 | xmv_6 | Reactor pressure / purge valve |
| 3 | xmeas_8 | xmv_10 | Reactor level / reactor CW flow |
| 4 | xmeas_9 | xmv_7 | Reactor temperature / separator liquid flow |
| 5 | xmeas_10 | xmv_1 | Purge rate / D feed flow |
Fault Detection
Fault detection identifies abnormal behavior in machines, sensors, infrastructure, software, and autonomous systems before it causes harm or disruption.
See all 119 papers