A Distributionally Robust Minimax Optimization Framework with Transformer-Based Temporal Learning for Cross-Plant Photovoltaic Power Forecasting
Keywords:
Minimax Optimization; Distributionally Robust Optimization; KL Divergence; Primal-Dual Algorithm; Transformer; Photovoltaic Power Forecasting.Abstract
Accurate photovoltaic (PV) power forecasting is essential for reliable renewable-energy integration, yet models trained by empirical risk minimization optimize average error and offer weak protection against distributional differences across geographically dispersed plants. This study addresses cross-plant PV forecasting by controlling the worst-case prediction risk over heterogeneous plants rather than the mean error. Existing PV forecasting studies, including transfer learning, graph-based, domain-adversarial and ensemble approaches, mainly improve average accuracy and provide no formal minimax formulation, worst-case guarantees or theoretical robustness analysis. This study therefore proposes Minimax-DRO-PVNet, a distributionally robust minimax optimization framework that couples Transformer-based temporal representation learning with a Kullback-Leibler (KL) divergence-constrained uncertainty set over plant-level risk weights. The BR-PVGen dataset is used, containing synchronized inverter and meteorological records at 15-minute intervals from 51 Brazilian PV plants, and all experiments are implemented in Python. The inner adversarial problem is solved through its KL dual representation, and the model is trained by a primal-dual algorithm. The theoretical analysis establishes the existence of minimax solutions, the dual formulation, worst-case risk bounds and monotonicity with respect to the uncertainty radius, while explicitly stating the limits imposed by non-convex neural parameterization. Performance is evaluated using MAE, RMSE, R² and nRMSE over 15-, 30-, 60- and 120 minute horizons, with comparison against conventional machine-learning and deep-learning baselines, ablation, and radius sensitivity analysis. Minimax-DRO-PVNet achieved R² between 0.982 (15 min) and 0.923 (120 min), and its best configuration at a KL radius of 0.05 gave a MAE of 31.84 kW and an RMSE of 48.92 kW. The study links minimax optimization theory with practical machine learning, providing a mathematically grounded and robust framework for reliable cross-plant PV forecasting.
Downloads
Downloads
Published
Issue
Section
License
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

