Spatiotemporal Graph Neural Networks for Fault Detection and Structural Learning in Chemical Processes: Use Case on the Tennessee Eastman Process

Rayane Ammar Khodja, Alexandre Voisin, Victor Costa, Fanny Casteran, Benoit Celse, Benoît IungarXiv 2026 · DOI · arXiv

Imagine you’re monitoring a massive chemical plant. You have hundreds of sensors tracking pressures, temperatures, and flow rates. Traditionally, you’d set a "normal" range for everything. But plants aren't static; they change modes, ramp up production, or switch feedstocks. If your "normal" boundary is too wide to accommodate all these modes, you’ll miss subtle, creeping faults. If it’s too tight, you’ll be drowning in false alarms every time the operator turns a dial.

This paper explores a smarter way to watch the "nervous system" of a chemical plant using Spatiotemporal Graph Neural Networks (GNNs). But it also delivers a sobering reality check: just because an AI is good at spotting a problem doesn't mean it understands the plumbing.

TL;DR

Researchers applied a sophisticated spatiotemporal GNN to the classic Tennessee Eastman Process benchmark to detect industrial faults. While the model is excellent at identifying when something is wrong, the study reveals a critical "interpretability gap": the internal "attention" maps the AI builds do not actually reflect the physical layout of the plant, challenging a common assumption in the field.

What Problem Does This Paper Address?

The authors tackle two main hurdles in Fault Detection and Diagnosis (FDD):

  1. Evolving Operating Conditions (OCs): Most models assume "normal" is a single, static state. In reality, a plant has multiple operating modes. The authors propose decomposing the normal space into specific "subspaces" for each mode, allowing for tighter, more sensitive detection boundaries.
  2. The Interpretability Myth: Many researchers use Graph Attention Networks (GATs) because they produce "attention weights"—numbers that supposedly show which sensors the model is prioritizing. The assumption has been that these weights reveal the physical or causal structure of the plant (e.g., "Sensor A is looking at Sensor B because they are connected by a pipe"). This paper puts that assumption to the test.
Figure 1. Single-threshold detection (left) versus OC-aware detection (right).

Methods

The team adapted an architecture called MTAD-GAT (Multivariate Time-series Anomaly Detection via Graph Attention Network). Here’s the breakdown:

  • Spatial Learning (GATv2): The model treats each sensor as a node in a graph. It uses "attention" to decide which other sensors provide the most useful context for understanding a specific sensor's current state.
  • Temporal Encoding (GRU): A Gated Recurrent Unit (a type of RNN) processes the sequence of data to capture the plant's dynamics over time.
  • Dual-Loss Objective: The model is trained as an autoencoder (trying to reconstruct the input data) but also uses a Deep SVDD term. This second part essentially tries to "squish" all normal data into a tiny sphere in latent space, making anything outside that sphere stand out as a fault.
The Spatiotemporal Architecture

Datasets

The study uses the Tennessee Eastman Process (TEP), a world-standard simulation of a real chemical plant. It involves 52 variables (sensors and actuators) and 20 different fault scenarios, ranging from simple valve sticks to complex, "undisclosed" process shifts.

Key Insights and Ideas

  • Attention $\neq$ Physics: This is the "aha" moment. The authors compared the model’s learned attention weights against 22 "ground-truth" physical pairs (like a sensor and the valve that controls it). The model failed to recover most of them. It turns out the AI prioritizes whatever helps it mathematically reconstruct the signal, which isn't always the physical cause.
  • The "Hub" Phenomenon: The learned attention matrices often showed "bright vertical stripes," meaning the model fixated on a few "hub" sensors that were statistically useful for everything, regardless of where they were located in the plant.
  • Feature Selection Matters: Using a similarity-based method to prune the 52 variables down to 35 improved both the accuracy and the diversity of the learned graph structure.

Key Results

  • Detection Performance: The model achieved a mean ROC-AUC of 0.77 and a PR-AUC of 0.80 across all 20 faults. When excluding the three "notoriously undetectable" faults in the TEP dataset, performance jumped to an ROC-AUC of 0.816.
  • The Interpretability Failure: Using a metric called Hit-Rate@k, the GATv2 attention only caught 2 out of 22 physical pairs in its top-30 rankings. Surprisingly, simple Pearson correlation actually did a better job of identifying physical connections than the complex neural network.
Table 4. Reported TEP detection performance for represen- tative methods. Protocols differ across studies; values are re- produced as published.

Limitations and Future Work

The biggest takeaway is that we cannot treat GNN attention weights as a "free" root-cause analysis tool. If we want a model that understands the plant's layout, we have to bake that knowledge in from the start.

Future Directions: * Physics-Informed Graphs: Instead of letting the model "guess" the graph, the authors suggest using a hybrid approach: $A = \alpha A_{physics} + (1-\alpha) S_{data}$. This anchors the model in real-world pipes and valves while letting it learn statistical nuances. * Dynamic OC Evaluation: The current paper focused on fixed conditions; the next step is testing how the model handles the messy transitions between operating modes in real-time.

Summary updated

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.
BibTeX
@misc{khodja2026spatiotemporal,
  author = {Rayane Ammar Khodja and Alexandre Voisin and Victor Costa and Fanny Casteran and Benoit Celse and Benoît Iung},
  title = {{Spatiotemporal Graph Neural Networks for Fault Detection and Structural Learning in Chemical Processes: Use Case on the Tennessee Eastman Process}},
  year = {2026},
  eprint = {2611.27698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27698},
}
Figure