Targeted adversarial attacks on wind power forecasts

René Heinrich, Christoph Scholz, Stephan Vogt, Malte Lehna

Abstract

As wind energy becomes a cornerstone of modern power grids, the security of forecasting models is critical for maintaining grid stability. This paper investigates the vulnerability of deep learning-based wind power forecasting to targeted adversarial attacks. We introduce a regression-specific attack taxonomy—categorizing attacks as untargeted, semi-targeted, or targeted—and propose the Total Adversarial Robustness Score (TARS) to evaluate model resilience. Our findings reveal a significant disparity in security: while individual wind farm models (LSTMs) are relatively robust, regional models (CNNs) using high-dimensional weather maps are highly susceptible to subtle data manipulations. We also demonstrate that adversarial training can mitigate these risks, albeit with a trade-off in standard accuracy.

Introduction

Grid operators rely on accurate wind power forecasts to balance supply and demand in real-time. The shift toward Deep Learning (DL) models has improved forecasting accuracy but introduced a "security-by-accuracy" trade-off. These models are susceptible to adversarial attacks—intentional, subtle perturbations to input data, such as weather forecasts, that cause the model to produce incorrect results. While adversarial attacks on image classifiers are well-studied, their impact on regression models for continuous values like power output is less understood. This paper addresses this gap by examining how attackers can target specific forecast patterns to manipulate energy markets or destabilize the grid.

Overview of the adversarial attack pipeline on a regional forecasting model using weather maps.

Methodology

The authors propose three key contributions to the field of adversarial machine learning for energy systems.

Regression Attack Taxonomy

The study categorizes attacks based on the attacker's goal:

  • Untargeted: Maximizing the overall prediction error.
  • Semi-targeted: Forcing the prediction into a specific range, such as a "very low" output.
  • Targeted: Forcing the prediction to follow a specific temporal shape, such as a zigzag pattern.
Illustration of a semi-targeted attack where the forecast is forced into a specific range defined by attacker constraints.

Total Adversarial Robustness Score (TARS)

Evaluating robustness in regression is complex. The authors introduce TARS, a metric inspired by the F-score, which combines:

  • Performance Robustness Score (PRS): The degree to which model accuracy is maintained under attack.
  • Deformation Robustness Score (DRS): The success rate of the attacker in reaching their specific target.

Model Comparison and Datasets

Two architectures were tested:

  1. Encoder-Decoder LSTM: For individual wind farms (using 1D time-series data from GEFCom2014).
  2. ResNet-34 CNN: For regional forecasts (using 2D weather maps from a Germany-wide dataset).

Attacks were implemented using Projected Gradient Descent (PGD), modified with custom penalty terms to accommodate semi-targeted objectives.

Results and Discussion

The Curse of Dimensionality

The most significant finding was the vulnerability of the CNN model compared to the LSTM. The CNN, processing high-dimensional weather maps, offers a massive "search space" for attackers to find tiny, effective perturbations. Consequently, the CNN showed TARS values below 0.10, while the LSTM maintained scores over 0.78.

Physical Correctness

The LSTM model demonstrated "physical correctness," meaning it only produced anomalous outputs if the input perturbations were large enough to physically resemble the target power curve. This suggests that lower-dimensional models may be inherently more robust to subtle data manipulation.

Defense and Trade-offs

Adversarial training improved the CNN’s TARS from near zero to above 0.46. However, this security enhancement resulted in a slight decrease in accuracy on clean data, presenting a difficult choice for grid operators between peak performance and system security.

Conclusion

This research serves as a vital audit of the security of AI in critical infrastructure. As we increasingly rely on DL for grid management, ensuring these models are robust against adversarial manipulation is essential. Future work should focus on automating the selection of high-impact attack targets and developing defense mechanisms that do not compromise forecasting accuracy.

Summary updated

BibTeX
@article{heinrich2024targeted,
  author = {René Heinrich and Christoph Scholz and Stephan Vogt and Malte Lehna},
  title = {{Targeted adversarial attacks on wind power forecasts}},
  journal = {Machine Learning},
  year = {2024},
  doi = {10.1007/s10994-023-06396-9},
}
Figure