CRUPL: A Semi-Supervised Cyber Attack Detection with Consistency Regularization and Uncertainty-aware Pseudo-Labeling in Smart Grid

Smruti P. Dash, Kedar V. Khandeparkar, Nipun Agrawal · 2025

Read CRUPL: A Semi-Supervised Cyber Attack Detection with Consistency Regularization and Uncertainty-aware Pseudo-Labeling in Smart Grid by Smruti P. Dash, Kedar V. Khandeparkar, Nipun Agrawal (2025) 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-2503-00358.txt.

Introduction

Smruti Dash, Kedar Khandeparkar and Nipun Agrawal wrote a 2025 paper on spotting cyber attacks on smart power grids with little labeled data. Digital controls make grids efficient but open to attack. Classic detectors need many labeled cases, which miss novel tricks. Their method learns from both labeled and unlabeled meter data.

It pairs consistency checks with self-labeling that weighs its own uncertainty. A staged teaching plan improves those self-labels over time. On public data sets, detection accuracy reached near ninety-nine percent even with unknown samples mixed in. False alarms dropped sharply as well. The team pitches the method for real grid defense.

Catalog record

CREATORSmruti P. Dash, Kedar V. Khandeparkar, Nipun Agrawal
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE39 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-00358

Browse the full library · About the Tower of Babel

Full text

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

CRUPL: A Semi-Supervised Cyber Attack Detection with Consistency Regularization and Uncertainty-aware Pseudo-Labeling in Smart Grid Smruti P. Dash, Kedar V. Khandeparkar, Nipun Agrawal Abstract The modern power grids are integrated with digital technologies and automation systems. The inclusion of digital technologies has made the smart grids vulnerable to cyber-attacks. Cyberattacks on smart grids can compromise data integrity and jeopardize the reliability of the power supply. Traditional intrusion detection systems often need help to effectively detect novel and sophisticated attacks due to their reliance on labeled training data, which may only encompass part of the spectrum of potential threats. This work proposes a semi-supervised method for cyber-attack detection in smart grids by leveraging the labeled and unlabeled measurement data. We implement consistency regularization and pseudo-labeling to identify deviations from expected behavior and predict the attack classes. We use a curriculum learning approach to improve pseudo-labeling performance, capturing the model uncertainty. We demonstrate the efficiency of the proposed method in detecting different types of cyberattacks, minimizing the false positives by implementing them on publicly available datasets. The method proposes a promising solution by improving the detection accuracy to 99% in the presence of unknown samples and significantly reducing false positives. keywords Semi-supervised learning, Machine Learning, Deep Learning, Pseudo-Labeling, cyber attack detection 1 Introduction Integration of advanced digital technologies into the conventional power system leads to the evolution of the cyber physical system (CPS) known as the smart grid. The smart grid promises more efficient energy management, improved reliability, and enhanced sustainability. However, the inclusion of digital technologies and increased connectivity have introduced new susceptibility in the smart grid by making it a potential target of cyber attackers. These cyberattacks on smart grids can have severe consequences, including service disruption, data manipulation, financial loss, and threats to public safety Mitchell and Chen 2014 ; Yang et al. 2021 . Therefore, the cyber resilience of the smart grid is a major focus of energy providers and cyber security experts. Many CPSs lack security mechanisms such as message authentication, universal encryption, and dated technology, which are necessary to defend against cyberattacks such as false data injection attack (FDIA), eavesdropping, and replay attacks Zhang et al. 2021 . The Stuxnet worm Karnouskos 2011 and the cyberattack on the Ukrainian power grid Lehman and Maras 2024 are examples of cyberattacks causing damage to the grid and disrupting power supply for a long duration. The smart grid’s cyber layer comprises many sensors and phasor measurement units (PMU) deployed to provide real-time measurements through a wide area network. The traditional approaches for detecting cyberattacks in smart grids often rely on signature-based intrusion detection system (IDS). These approaches use PMU measurements to estimate the current state of the grid, where the state of a power system is the best estimate of system parameters such as voltage magnitude and angle. Then, the residual between the observed and estimated system parameters is computed. If the residual exceeds some predefined threshold, an FDI attack is declared Liu et al. 2011 ; Kosut et al. 2011 . In Rawat and Bajracharya 2015 , the authors have explored attack detection based on chi-square and cosine similarity. The conventional model-based methods follow the rules defined according to the pattern of packets communicated in the network, the range of value of sensor readings, and some threshold defined on the system’s normal behavior Khan et al. 2017 . These methods can effectively identify the known attack patterns or deviations in normal behavior. At the same time, these methods have limitations in detecting sophisticated attack patterns Zhang et al. 2020 . Moreover, the dynamic nature of smart grids poses significant challenges for traditional detection mechanisms. The Machine learning (ML) techniques have emerged as promising tools in enhancing cyberattack detection in smart grids in recent years. There are adequate researches on cyberattack detection in smart grid using various supervised ML strategies such as support vector machines (SVM), k-nearest neighbor (KNN), decision tree (DT), and random forest (RF) that have been referred in detail in Musleh et al. 2019 ; Acosta et al. 2020 ; Sakhnini et al. 2019 . Moreover, supervised deep learning (DL) algorithms such as artificial neural networks (ANN), convolutional neural networks (CNN), recurrent neural network (RNN) are also employed to enhance the detection performance in Niu et al. 2019 ; Bitirgen and Filik 2023 . The supervised algorithms rely on labeled measurement data representing known natural events and attack instances. However, in the real scenario, collecting labels for the attacks on smart grids is costly and time-consuming. Hence, to preclude the necessity of labels, the researchers investigated unsupervised ML techniques for detecting cyberattacks. Compared to supervised methods, the number of works using unsupervised methods is limited. The one-class SVM (OCSVM) was employed in Maglaras and Jiang 2014 to build an intrusion detection system (IDS) in the supervisory control and data acquisition (SCADA) system. Further, the OCSVM is combined with K-means recursive clustering to make a real-time IDS in the SCADA system Maglaras and Jiang 2014 . Due to the imbalance in the performance and availability of known instances in supervised and unsupervised methods, the semi-supervised methods became a better choice to defend CPS against attacks. Semi-supervised learning leverages labeled and unlabeled data collected from the system over time. The labeled data contains measurement samples during stable operations, natural events, and known attacks, while the unlabeled data includes unknown attack samples. The semi-supervised learning algorithms can detect cyber-attack behavior by learning from the inherent structure of data and identifying deviations from normal patterns. Recent research on attack detection in CPSs using semi-supervised learning focuses on building hybrid models integrating the deep learning models for data generation and a block of anomaly detection Zhang et al. 2020 ; Dairi et al. 2023 . Training the deep learning models for data generation aims to generate labeled data to balance the samples of labeled and unlabeled sets. Thus, it helps to improve the performance of the anomaly detection module. Generating labeled data to balance the unlabeled instances adds to the time complexity of the detection method. Due to recent research, pseudo-labeling Lee 2013 has become a particularly effective technique within the realm of semi-supervised learning. Pseudo-labeling assigns labels to unlabeled data based on the patterns learned from labeled data by training the model iteratively. The iterative approach gradually improves the model’s performance by integrating new information from the unlabeled data, increasing its capacity to generalize and identify unseen attack patterns. In this work, we explore the pseudo-labeling technique to detect cyber-attacks in the grid. By taking advantage of semi-supervised approaches to learn the characteristics from a small set of labeled data, our goal is to develop an effective method for identifying both known and novel cyber-attacks. The key contributions of this work are: • Enforcing stable model prediction under input perturbation using consistency regularization. • Combining consistency regularization with pseudo-labeling to determine the classes for unlabeled samples. • Using curriculum learning and confidence threshold tuning to improve the model prediction and produce reliable class labels. Consistent regularization encourages models to produce stable predictions despite input variations Fan et al. 2023 . We iteratively train and test the model on labeled and unlabeled datasets to progressively refine the model’s prediction. Unlike hard

Read the complete text