cs.NEFeb 16, 2026

Joint Sensor Deployment and Physics-Informed Graph Transformer for Smart Grid Attack Detection

Authors: Mariam Elnour, Mohammad AlShaikh Saleh, Rachad Atat, Xiang Huo, Abdulrahman Takiddin, Muhammad Ismail, Hasan Kurban, Katherine R. Davis, +1 more

Organizations: department of Electrical and Computer Engineering, Texas A&M University, College Station, TX 77840, USA · department of Electrical and Computer Engineering, Texas A&M University at Qatar, Doha, Qatar · department of Computer Science and Mathematics, Lebanese American University, Beirut 1102-2801, Lebanon · department of Electrical and Computer Engineering, Hampton University, 100 E Queen St, Hampton, VA 23669, USA · department of Electrical and Computer Engineering, FAMU-FSU College of Engineering, Florida State University, 2525 Pottsdamer Street. Tallahassee, FL 32310-6046, USA · Cybersecurity Education, Research, and Outreach Center (CEROC) and the department of Computer Science, Tennessee Tech University, Cookeville, TN, USA · College of Science and Engineering, Hamad Bin Khalifa University, Doha 34110, Qatar

Abstract

This paper proposes a joint multi-objective optimization framework for strategic sensor placement in power systems to enhance attack detection. A novel physics-informed graph transformer network (PIGTN)-based detection model is proposed. Non-dominated sorting genetic algorithm-II (NSGA-II) jointly optimizes sensor locations and the PIGTN's detection performance, while considering practical constraints. The combinatorial space of feasible sensor placements is explored using NSGA-II, while concurrently training the proposed detector in a closed-loop setting. Compared to baseline sensor placement methods, the proposed framework consistently demonstrates robustness under sensor failures and improvements in detection performance in seven benchmark cases, including the 14, 30, IEEE-30, 39, 57, 118 and the 200 bus systems. By incorporating AC power flow constraints, the proposed PIGTN-based detection model generalizes well to unseen attacks and outperforms other graph network-based variants (topology-aware models), achieving improvements up to 37% in accuracy and 73% in detection rate, with a mean false alarms rate of 0.3%. In addition, optimized sensor layouts significantly improve the performance of power system state estimation, achieving a 61%--98% reduction in the average state error.

Figures & tables

Explore similar work

Jun 4, 2026

Attack Detection using Time Series Foundation Models

This paper addresses the problem of attack detection in cyber-physical systems without any knowledge of the plant model or its structure. A remotely located plant transmits sensor measurements to an operator over a network that is assumed to be under attack. We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks. For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ2χ^2 detector, for both linear and nonlinear systems. We then propose a model-structure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion. We show empirically that the TimesFM-based detector achieves a comparable or superior attack detection performance. The efficacy of the proposed approach is demonstrated numerically on the IEEE 14-bus power system. We also demonstrate that TimesFM predictions can serve as a substitute for corrupted measurements, a practical mitigation technique when classical redundancy assumptions fail.
May 15, 2026

GenAI-FDIA: Physics-Informed Generative Models for False Data Injection Attacks

Training and evaluating false data injection attack (FDIA) detectors for power systems is constrained by data scarcity. Operational grid measurements are commercially sensitive, and hand-crafted attacks fail to capture complex distributional structures imposed by network physics. We present GenAI-FDIA, a framework benchmarking a pool of P=20P{=}20 architectures for physics-compliant FDIA synthesis, spanning Wasserstein GANs, MMD-VAEs, normalising flows, diffusion models, and cross-family hybrids. These are evaluated across three IEEE testbeds (14-bus DC, 30-bus DC, and 14-bus AC) under a 60/20/20 chronological split using data-driven Bad Data Detection (BDD) threshold calibration. Our empirical results verify that these models generate high-fidelity attacks, with all architectures achieving evasion rates of εBDD≥86.6%ε_{\text{BDD}} \ge 86.6\% on the 14-bus network; additionally, limiting an attacker's topological knowledge induces a measurable degradation in stealthiness (p≤0.0022p \le 0.0022). Crucially, we identify a previously unreported failure mode: applying affine physics projections directly in normalised feature spaces critically displaces the attack vector, collapsing BDD evasion from ∼55%{\sim}55\% to < ⁣2%<\!2\% on the 30-bus testbed. We resolve this via a novel inference-time harmoniser, restoring full stealthiness (εBDD=100%ε_{\text{BDD}}{=}100\%) across all physics-informed variants without retraining. Finally, we isolate a covariance-collapse phenomenon (κ≈−0.076κ\approx {-}0.076) within advanced hybrid architectures and rectify it through 50-epoch warm-up schedules (κ→0.785κ\to 0.785, ΔMMD=−3.1%Δ\text{MMD}={-}3.1\%). Ultimately, GenAI-FDIA delivers a robust recovery blueprint applicable to any physics-constrained generative model deployed for power-system security.
Sep 9, 2026

Robust Industrial Cyber Physical Classification Using Neuromorphic Temporal Embeddings and Hybrid SNN XGBoost Under Machine Unlearning Attacks

The digitalisation of electrical distribution networks has increased the exposure of power-grid infrastructure to cyber attacks. Existing intrusion detection systems (IDSs), however, often rely on computationally expensive deep learning models that are difficult to deploy at the edge. Periodic retraining also exposes these systems to machine unlearning attacks, where selective data removal can degrade detection performance. We propose a hybrid Spiking Neural Network (SNN) and XGBoost architecture that combines efficient temporal encoding with a lightweight classifier and provides structural resilience to such attacks. The SNN is trained once on clean data and used as a fixed feature extractor, while only the XGBoost classifier is retrained during model updates. Evaluated on two real-world public power-system datasets, the proposed method achieves 99.9% accuracy (F1-macro 0.999) on the Synchrophasor dataset and 95.0% accuracy (F1-macro 0.943) on the MSU/ORNL dataset, outperforming standalone baselines. Under selective label-flipping attacks, the hybrid model loses only 0.9% F1-macro at 10% poisoning and delays target-class collapse from 60% to 70% poisoning compared with raw models. These results demonstrate that neuromorphic temporal encoding can provide both accurate cyber-attack detection and improved resilience to data poisoning in cyber-physical systems.