NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Is Machine Learning in Power Systems Vulnerable?

Yize Chen, Yushi Tan, Deepjyoti Deka

Introduction

As modern power grids evolve to integrate intermittent renewable energy sources and widespread smart metering, operators are increasingly reliant on Machine Learning (ML) for real-time decision-making. Deep Learning and Recurrent Neural Networks (RNNs) now handle critical tasks such as load forecasting, outage detection, and power quality classification. However, the rapid adoption of these models has outpaced the rigorous security testing required for critical infrastructure. This paper investigates whether these "black-box" models can be compromised by adversarial attacks—maliciously crafted inputs designed to deceive AI while remaining inconspicuous to human observers.

The Adversarial Threat Model

The core vulnerability lies in the susceptibility of neural networks to gradient-based perturbations. An adversary, even without direct access to a utility’s proprietary model parameters, can exploit the "transferability" of adversarial examples. By training a surrogate model on similar historical data, an attacker can identify the mathematical directions that maximize the target model's error.

Overview of the adversarial attack framework against power system ML models.

As illustrated in Figure 1, the attack pipeline involves crafting "Adversarial Data" from "Raw Data" using an "Adversarial ML Model." These inputs are then fed into the operational ML model, causing critical power system tasks to fail.

Methodology: Crafting the Attack

The authors propose a strategy based on gradient ascent to find optimal perturbations. The attack is constrained by two primary factors:

  1. Intensity ($L_\infty$): Limiting the maximum change to any single data point (e.g., a sensor reading) to ensure the noise remains below detection thresholds.
  2. Sparsity ($L_0$): Limiting the number of sensors or time steps modified, simulating a scenario where an attacker has limited access to the data stream.

Because different neural network architectures often learn similar underlying features, attacks optimized against a surrogate model frequently succeed against the actual operational model.

Experimental Results

The vulnerability was tested across two domains: power quality classification and building load forecasting.

Classification Failure

In the power quality disturbance dataset, a classifier with 97.5% baseline accuracy saw its performance drop to 67.5% under a modest attack ($\epsilon = 0.1$). Critically, the model often misclassified dangerous events, such as impulses, as "normal" operation.

Adversarial perturbation causing an impulse signal to be misclassified as normal.

Figure 5 demonstrates this visual impact: the added noise is subtle enough that the signal still appears to contain an impulse to a human eye, yet the ML model's prediction is successfully subverted.

Forecasting Chaos

For building load forecasting, the impact was even more pronounced. A standard RNN-based forecaster saw its Mean Absolute Percentage Error (MAPE) skyrocket from 5.29% to 55.37% with minimal noise ($\epsilon = 0.05$). Even at a very low noise level ($\epsilon = 0.01$), the forecast deviated by over 25%, rendering it useless for grid balancing or automated building management.

Conclusion and Future Directions

The findings highlight an urgent need for "physics-aware" machine learning in the energy sector. Current models are purely data-driven and can be easily pushed into states that violate physical laws. Future research must focus on incorporating electrical engineering principles into the training process to ensure that adversarial inputs can be identified and rejected. Until robust defenses are developed, the integration of ML into the heart of the power grid remains a significant security risk.

Summary updated

BibTeX
@inproceedings{chen2018is,
  author = {Yize Chen and Yushi Tan and Deepjyoti Deka},
  title = {{Is Machine Learning in Power Systems Vulnerable?}},
  booktitle = {SmartGridComm},
  year = {2018},
  doi = {10.1109/smartgridcomm.2018.8587547},
}
Figure