A Weighted Predict-and-Optimize Framework for Power System Operation Considering Varying Impacts of Uncertainty

Yingrui Zhuang, Lin Cheng, Can Wan, Rui Xie, Ning Qi, Yue ChenarXiv 2025 · DOI

Abstract

Traditional power system operations rely on a "predict-then-optimize" paradigm that often fails to account for the varying operational impacts of different uncertainty sources. This paper proposes a Weighted Predict-and-Optimize (WPO) framework that integrates prediction and optimization by assigning task-aware weights to uncertainties. By minimizing a Problem-Driven Prediction Loss (PDPL) through a surrogate-based optimization strategy involving Multi-Task Learning and Graph Convolutional Networks, the framework reduces decision-making suboptimality by an average of 55% compared to traditional methods.

Introduction

In power system operations, the standard approach is to first forecast loads and renewable generation and then utilize these forecasts within an optimization model to determine generator dispatch. However, traditional forecasting methods typically treat all errors equally, often using metrics like Mean Squared Error (MSE). In a physical power grid, this "task-agnostic" approach is flawed: a 5% error at a node with a thin voltage margin can be catastrophic, whereas the same error at a robust node may have negligible impact. This paper addresses the challenge of making predictions "task-aware" by prioritizing accuracy where it matters most for final operational outcomes.

Methodology

The authors propose a three-layered WPO framework to bridge the gap between forecasting and decision-making:

  1. Weighted Predictive Model: Instead of standard loss functions, the framework employs a weighted loss where each uncertainty source (e.g., a specific bus load) is assigned a weight $\omega$. Higher weights compel the model to prioritize accuracy for critical variables.
  2. Problem-Driven Prediction Loss (PDPL): This metric quantifies "regret" or suboptimality—the cost difference between a decision based on a prediction and one made with perfect hindsight.
  3. Surrogate Optimization Strategy: Directly optimizing weights to minimize PDPL is computationally intensive as it requires running full power-flow optimizations. To overcome this, the authors use Multi-Task Learning (MTL) to train predictive models under various weight settings and an Enhanced Graph Convolutional Network (GCN) as a differentiable surrogate model. This GCN learns the mapping between weights and PDPL, enabling fast, gradient-based weight optimization.
Comparison of traditional predict-then-optimize (a), integrated (b), and the proposed weighted predict-and-optimize (c) frameworks.

Key Insights and Results

The framework was evaluated using modified IEEE 33-bus and 123-bus systems, incorporating distributed generation and uncertain loads like EV charging stations.

Decision Quality and Efficiency

The WPO framework reduced the PDPL by an average of 55% compared to traditional methods. Furthermore, the use of Multi-Task Learning reduced the parameter count by 7.5x and accelerated training by 12.7x compared to training individual models for every weight setting. The GCN surrogate allowed the system to find optimal weights in approximately 15 iterations, making it viable for near-real-time operations.

Topology and Sensitivity

A key finding is that the impact of prediction error is intrinsically linked to the grid's physical structure. Nodes "upstream" of high-risk areas often require higher weights because their errors propagate. The WPO framework intentionally sacrifices accuracy at low-impact nodes to maximize it at high-impact ones, demonstrating that overall model accuracy (e.g., RMSE) is a poor proxy for decision quality.

Distribution of optimized weights and prediction losses across different grid nodes, highlighting critical areas.

Conclusion

The WPO framework provides a robust method for integrating physical grid constraints into the machine learning pipeline. By generating a "heat map" of grid sensitivity through optimized weights, operators can better understand which uncertainties drive operational risk. Future work will look to extend this framework from deterministic point predictions to probabilistic forecasting and stochastic optimization to account for a fuller distribution of potential grid states.

Summary updated

BibTeX
@misc{zhuang2025weighted,
  author = {Yingrui Zhuang and Lin Cheng and Can Wan and Rui Xie and Ning Qi and Yue Chen},
  title = {{A Weighted Predict-and-Optimize Framework for Power System Operation Considering Varying Impacts of Uncertainty}},
  year = {2025},
  eprint = {2503.11001},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.11001},
}
Figure