Latency-Aware Deep Learning Benchmark for Real-Time Cyber-Physical Attack and Fault Classification in Inverter-Dominated Power Grids

Emad Abukhousa, Saman Zonouz, and A.P. Sakis Meliopoulos · 2026

Read Latency-Aware Deep Learning Benchmark for Real-Time Cyber-Physical Attack and Fault Classification in Inverter-Dominated Power Grids by Emad Abukhousa, Saman Zonouz, and A.P. Sakis Meliopoulos (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-17256.txt.

Introduction

Abukhousa, Zonouz and Meliopoulos benchmark eight deep learning designs for spotting faults and cyber-attacks in inverter-dominated power grids. They use signals from an industry-grade transient simulator. All models classified two multi-event sequences in real time, deciding within one cycle. Yet end-to-end latency ran 50 to 90 milliseconds, past three cycles. That gap exposes the distance between algorithmic speed and protection-grade deployment needs.

Catalog record

CREATOREmad Abukhousa, Saman Zonouz, and A.P. Sakis Meliopoulos
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE19435
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.17256

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Latency-Aware Deep Learning Benchmark for Real-Time Cyber-Physical Attack and Fault Classification in Inverter-Dominated Power Grids Emad Abukhousa, Saman Zonouz, and A.P. Sakis Meliopoulos Abstract This work introduces a latency-aware benchmarking framework for evaluating deep learning models in power system anomaly detection using high-fidelity, time-domain signals generated from an industry-grade electromagnetic transient simulator. Eight neural network architectures—ranging from MLPs to Transformers—were systematically evaluated on streaming datasets representing both physical faults and cyber-attacks in inverter-dominated networks. All models successfully classified two representative multi-event sequences in real time with sub-cycle response times ( < < 15 ms). However, although classification decisions occurred within one cycle, the end-to-end inference latency consistently exceeded three cycles (50–90 ms). These results highlight a critical gap between algorithmic capability and protection-grade deployment, pointing to the need for further optimization and hardware acceleration. The findings establish a reproducible benchmark for sub-cycle anomaly detection and provide guidance for transitioning machine learning methods from research prototypes to real-world protection applications. I Introduction Modern power systems are undergoing a profound transformation, driven by the deep integration of inverter-based resources (IBRs) and the deployment of sophisticated cyber-physical infrastructure. This evolution enhances operational efficiency and sustainability but concurrently introduces complex, intertwined failure modes. IBRs, such as solar photovoltaics and battery energy storage systems, exhibit fault current characteristics—including limited magnitudes and high-frequency harmonics—that challenge legacy protection schemes designed for the predictable behavior of synchronous machines [ 7 ] . Simultaneously, the digitalization of substations through standards like IEC 61850 expands the cyber-attack surface, creating vulnerabilities to threats that can manipulate physical processes [ 11 ] . This convergence of physical and cyber complexities necessitates a new paradigm for anomaly management, one that can rapidly and accurately distinguish between diverse events to ensure grid resilience. The operational timeline for power system protection is exceptionally demanding, often requiring fault isolation within one to two cycles (16–34 ms) to prevent equipment damage and cascading failures. This need for speed is equally critical for cybersecurity, where the timely detection of a malicious data stream can avert widespread disruption. The availability of high-fidelity data from Merging Units (MUs), which stream time-synchronized Sampled Values (SV) at rates like 4.8 kHz, provides an unprecedented opportunity to detect anomalies at their inception [ 4 ] . The application of DL to power system anomalies shows considerable promise, successfully detecting and classifying physical faults [ 9 ] and cyber-attacks [ 1 ] with high offline accuracy. Research has demonstrated its feasibility on high-frequency EMT-grade data [ 3 ] and validated models in HIL environments [ 8 ] . However, a critical gap persists: most studies evaluate models on static datasets, prioritizing accuracy over end-to-end inference latency in a realistic streaming context. This oversight is a major barrier to deployment, as a slow model is operationally ineffective regardless of its accuracy. This deficiency is highlighted in recent reviews, which identify the lack of efficiency metrics and latency-aware reporting as a systemic weakness in the field [ 6 , 5 , 2 ] . They conclude that claims of ”real-time” applicability are rarely substantiated with the rigorous timing analysis required for protection-grade systems. The absence of a comparative benchmark for sub-cycle latency leaves a key question unanswered: which models can actually meet modern power systems’ stringent timing requirements? This paper directly addresses this gap by introducing a comprehensive, latency-aware benchmarking framework to evaluate the real-time performance of deep learning models for power system protection. The primary contributions are: (1) a systematic, head-to-head comparison of eight distinct DL architectures on their ability to detect and classify 17 different physical faults and cyber-attacks using high-fidelity (4.8 kHz) streaming data; (2) the implementation of a practical real-time inference pipeline featuring a one-cycle moving average filter and a confidence-based abstention policy to enhance decision stability; and (3) the first quantitative, comparative evidence of sub-cycle detection and classification latencies for this diverse suite of models. By providing concrete data on the trade-offs between accuracy, speed, and complexity, this work offers actionable insights for designing and deploying the next generation of intelligent, resilient, and fast-acting protection systems. II Methodology II-A High-Fidelity Dataset Generation The dataset was generated using the industry-grade simulator WinIGS [ 10 ] , which models grid dynamics, renewable integration, and anomaly injections with microsecond precision. Data acquisition emulated IEC 61850 Sampled Value (SV) streams, with time-domain waveforms extracted from COMTRADE files. These records capture the digitized outputs of current and potential transformers (CTs/PTs) connected to two Merging Units (MUs), preserving substation-grade measurement fidelity. Fig. 1: Testbed configuration highlighting Protection Zone 2 (PZ-2) with MUs MU23 and MU32 and representative fault location. The testbed (Fig. 1 ) represents an inverter-rich microgrid with distributed energy resources (DERs), including a 50 kVA photovoltaic inverter and a 30 kVA battery energy storage system (BESS), alongside step-down transformers, distribution lines, and diverse loads. This composition reflects modern DER-integrated grids where inverter control dynamics dominate transient behavior. For this study, Protection Zone 2 was instrumented with two MUs (MU23, MU32) providing 14 synchronized features. Simulations produced 105,768 samples over 22 s at 4.8 kHz, yielding a temporal resolution of 208 \mu s. Each MU supplied seven CT/PT-derived signals: three-phase currents ( I_{a} , I_{b} , I_{c} ), neutral current ( I_{n} ), and three-phase voltages ( V_{an} , V_{bn} , V_{cn} ). Together, these time-domain waveforms enable detailed analysis of inverter-driven dynamics, harmonic distortion, and fault transients. II-B Deep Learning Model Training Eight deep learning architectures, representing distinct paradigms in neural network design, were evaluated: Multi-Layer Perceptron (MLP), 1D Convolutional Neural Network (1D-CNN), Long Short-Term Memory (LSTM), CNN-LSTM hybrid, Transformer, Temporal Convolutional Network (TCN), ResNet1D, and Spatio-Temporal Graph Convolutional Network (ST-GCN). Preprocessing included handling missing values, standardizing current and voltage measurements using a scaler fitted exclusively on the training split, and encoding anomaly class labels into integer indices. This ensured consistent scaling and prevented information leakage. To capture temporal dependencies, feature sequences of 50 samples were generated with stride 1 using a sliding window approach. The dataset was partitioned via stratified block-based splitting into training (70%), validation (10%), and test (20%) sets, while class weights were applied to mitigate imbalance. All models were trained for 40 epochs using the Adam optimizer and sparse categorical cross-entropy loss with class weighting. Callbacks for early stopping and learning rate reduction were employed to improve convergence and reduce overfitting. TABLE I: Complete anomaly taxonomy Class Anomaly Type 0 Normal Operation 1-3 SLG Faults (A-N, B-N, C-N) 4,8 CT Ratio Attacks (MU23, MU32) 5-7 LL Faults (AB, AC, BC) 9-11 DLG Faults (AB-N, AC-N, BC-N) 12-13 PT Ratio Attacks (MU23, MU32) 14-15 Three-Phase Faults (ABC, ABC-N) 16-17 GPS Spoofing Attacks (MU23, MU32) II-C Real-Time Streaming Evaluation The streaming pipeline operates directly on raw time-domain samples from IEC 61850 Merging Units (SV format), ensuring transient waveforms are preserved. At each sample i , the model produces a probability vector \mathbf{P}(i)\in[0,1]^{K} , which is smoothed using a one-cycle centered moving average: P_{\text{avg}}[i,k]=\frac{1}{N_{\mathrm{cyc}}}\sum_{j=i-N_{\mathrm{half}}}^{i+N_{\mathrm{half}}}P(j,k) (1) where N_{\mathrm{cyc}}=80 samples/cycle and N_{\mathrm{half}}=40 . This introduces \approx 8.3\, ms look-ahead while maintaining sub-cycle latency. The confidence is defined as c(i)=\max_{k}P_{\text{avg}}[i,k] , with predicted class \hat{k}(i)=\arg\max_{k}P_{\text{avg}}[i,k] . A decision is then emitted as y(i)=\begin{cases}\hat{k}(i),&c(i)\geq\tau\\ -1,&\text{otherwise (abstain)}\end{cases} (2) where \tau=0.6 is a tunable threshold. Abstention prevents low-confidence misclassifications and,

Read the complete text