Domain-Prior-Regularized Graph Modeling for Anomaly Detection in Cyber-Physical Systems

Youngseok Hwang, Joonsung Kwon, Geonwoo Lee, Hyunwoo ParkAI4Science @ ICML 2026

TL;DR

DPR-GM (Domain-Prior-Regularized Graph Modeling) improves anomaly detection in industrial systems by using Large Language Models (LLMs) to "read" system documentation and build a physically grounded sensor graph. By constraining Graph Neural Networks with these domain-driven priors instead of learning relationships from scratch, the model avoids the "spurious correlations" that typically plague data-scarce industrial environments.

What Problem Does This Paper Address?

In Cyber-Physical Systems (CPS)—like water treatment plants or power grids—detecting anomalies in sensor data is a high-stakes task. Recently, researchers have turned to Graph Neural Networks (GNNs) because they can capture how a fault in one component (like a pump) propagates to another (like a pressure valve).

However, there is a catch: most GNNs try to "learn" the graph structure directly from the data. In industrial settings, "normal" data is often limited, and labeled "anomaly" data is even rarer. When data is scarce, these models often hallucinate connections based on coincidental statistical noise (spurious correlations) rather than physical reality. This leads to unstable models that fail to localize the actual source of a problem.

Methods

The authors introduce DPR-GM, a forecasting-based framework that treats domain knowledge as a "structural gate." The process happens in three main stages:

  1. LLM-Powered Graph Extraction: Instead of manual expert annotation, the authors prompt an LLM (Claude Sonnet) with system documentation and sensor metadata. The LLM identifies directed physical dependencies (e.g., "Motor current influences Pump vibration"). This creates a binary Domain Adjacency Matrix ($D$).
  2. Correlation Modulation: The model doesn't just rely on the manual. It takes the binary graph from the LLM and modulates the edge weights using Pearson correlation calculated from normal training data. Crucially, if the LLM didn't find a physical link between two sensors, the edge weight is forced to zero, regardless of what the data says.
  3. Reliability Weighting: Not all sensors are equally trustworthy. The authors use the Coefficient of Variation (CV) to calculate a reliability score. Sensors that are stable during normal operation are given higher weight in the final anomaly score, as deviations in stable sensors are more likely to indicate a real fault than noise.

The architecture uses a weight-shared GRU for temporal encoding followed by a GNN (specifically GraphSAGE) for spatial propagation. Notably, the graph structure and weights are fixed prior to training, introducing zero additional learnable parameters to the graph itself.

Datasets

The model was evaluated on the Skoltech Anomaly Benchmark (SKAB).

  • Context: A physical water pump testbed with 8 sensors (current, voltage, pressure, flow, etc.).
  • Content: 34 fault scenarios across three splits (valve1, valve2, and other).
  • Evaluation: The authors used a "strict point-wise" protocol, which is more demanding than common "point-adjustment" methods that can inflate performance scores.

Key Insights and Ideas

  • Priors Over Parameters: In data-scarce regimes, a "dumb" fixed prior based on physics often beats a "smart" learned topology. By removing the graph structure from the optimization loop, the model becomes significantly more robust.
  • LLMs as Domain Translators: This paper highlights a practical use case for LLMs in engineering: translating unstructured human knowledge (PDF manuals) into structured machine priors (adjacency matrices).
  • The "Structural Gate" Concept: By using the domain matrix as a gate, the authors prevent the model from even considering relationships that defy physics, effectively pruning the search space for the GNN.
  • Stability Matters: The use of CV-based weighting acknowledges that "noisy" sensors shouldn't be treated the same as "stable" ones when calculating an anomaly score.

Key Results

DPR-GM significantly outperformed both traditional and state-of-the-art graph-based baselines:

  • Against Graph Baselines: On the overall SKAB split, DPR-GM achieved an AUROC of 0.7256, vastly outperforming popular models like GDN (0.5314) and GReLeN (0.4971), which both struggled to stabilize their learned graphs.
  • Against Deep Learning: It beat non-graph methods like LSTM-VAE and MSCRED across nearly all threshold-free ranking metrics (AUROC and AUPRC).
  • Ablation Success: Removing either the signed correlation modulation or the reliability weighting led to a drop in performance, proving that the combination of "physics-first" structure and "data-second" modulation is the winning formula.

Limitations and Future Work

The authors acknowledge that their current approach captures coarse structural constraints (which sensors are connected) rather than fine-grained causal strengths (exactly how much one affects the other).

Future work aims to:

  • Validate the approach across more diverse and larger-scale CPS datasets.
  • Improve the LLM extraction process through cross-model validation (using multiple LLMs to reach a consensus).
  • Explore "confidence-aware" edge extraction, where the model accounts for how certain the LLM is about a specific physical link.

Summary updated

BibTeX
@inproceedings{hwang2026domain,
  author = {Youngseok Hwang and Joonsung Kwon and Geonwoo Lee and Hyunwoo Park},
  title = {{Domain-Prior-Regularized Graph Modeling for Anomaly Detection in Cyber-Physical Systems}},
  booktitle = {AI4Science @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=3ho9cVciv8},
}
Figure