Towards Robust Stability Prediction in Smart Grids: GAN-based Approach under Data Constraints and Adversarial Challenges

Emad Efatinasab, Alessandro Brighente, Denis Donadel, Mauro Conti, Mirco Rampazzo
1/27/2025
cs.CRcs.AIcs.LG

No official code found. Best implementation: emadef1/GAN-Stability (1 star, Apache-2.0, last commit 2025-06-24).

Abstract

Smart grids are crucial for meeting rising energy demands driven by global population growth and urbanization. By integrating renewable energy sources, they enhance efficiency, reliability, and sustainability. However, ensuring their availability and security requires advanced operational control and safety measures. Although artificial intelligence and machine learning can help assess grid stability, challenges such as data scarcity and cybersecurity threats, particularly adversarial attacks, remain. Data scarcity is a major issue, as obtaining real-world instances of grid instability requires significant expertise, resources, and time. Yet, these instances are critical for testing new research advancements and security mitigations. This paper introduces a novel framework for detecting instability in smart grids using only stable data. It employs a Generative Adversarial Network (GAN) where the generator is designed not to produce near-realistic data but instead to generate Out-Of-Distribution (OOD) samples with respect to the stable class. These OOD samples represent unstable behavior, anomalies, or disturbances that deviate from the stable data distribution. By training exclusively on stable data and exposing the discriminator to OOD samples, our framework learns a robust decision boundary to distinguish stable conditions from any unstable behavior, without requiring unstable data during training. Furthermore, we incorporate an adversarial training layer to enhance resilience against attacks. Evaluated on a real-world dataset, our solution achieves up to 98.1\% accuracy in predicting grid stability and 98.9\% in detecting adversarial attacks. Implemented on a single-board computer, it enables real-time decision-making with an average response time of under 7ms.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Towards Robust Stability Prediction in Smart Grids: GAN-based Approach under Data Constraints and Adversarial Challenges

10Jupyter NotebookMay 14, 20241 years agoApache-2.0
adversarial-attacksadversarial-machine-learninggenerative-adversarial-networksmart-gridsstability-predictions

Similar Papers

Cite this paper

@article{efatinasab2025towards,
  title  = {Towards Robust Stability Prediction in Smart Grids: GAN-based Approach under Data Constraints and Adversarial Challenges},
  author = {Emad Efatinasab and Alessandro Brighente and Denis Donadel and Mauro Conti and Mirco Rampazzo},
  year   = {2025},
  eprint = {2501.16490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16490v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.16490.svg)](https://codeofpaper.com/paper/2501.16490)

Discussion