Introduction
The Optimal Power Flow (OPF) problem is fundamental to power grid operations, determining the most cost-effective generation dispatch while adhering to physical grid constraints. While the AC-OPF formulation provides the highest accuracy, its non-linear and non-convex nature makes it computationally prohibitive for real-time applications or multi-stage optimization tasks like unit commitment.
To address these computational hurdles, researchers have turned to Deep Neural Networks (DNNs) as fast optimization proxies. However, standard DNNs are themselves non-convex. Integrating a trained DNN into a larger optimization pipeline typically requires mixed-integer programming (MIP), which scales poorly and often renders the problem intractable. This paper explores the use of Input-Convex Neural Networks (ICNNs) to learn OPF value functions, preserving mathematical convexity for downstream tasks without sacrificing predictive power.
Methodology: Input-Convex Architectures
The core innovation lies in the use of ICNNs to approximate the value function—mapping nodal power demand to optimal generation cost. Unlike standard networks, ICNNs are structured to ensure the output is a strictly convex function of the inputs.
Architectural Constraints
To guarantee convexity, the authors employ a fully connected architecture with skip-connections and ReLU activations. Crucially, the weights of the hidden layers are constrained to be non-negative. Training these models requires projected gradient descent, where negative weights are clipped back to zero. This constraint ensures that the composition of convex, non-decreasing functions remains convex.
Theoretical Generalization
A significant contribution of this work is the derivation of strong generalization bounds. The authors provide mathematical proofs (Theorems 1 and 2) demonstrating that the worst-case generalization error of an ICNN is bounded by its performance on training data and the geometric diameter of the dataset. This provides a layer of mathematical trust essential for safety-critical infrastructure.
Experimental Setup and Results
The models were evaluated on four large-scale power grid test cases from the PGLib benchmark, ranging from 300 to over 6,400 buses (rte6k). The datasets used were significantly larger than prior studies, comprising 50,000 OPF instances per system.
Performance Comparison
Surprisingly, the non-negative weight constraints of ICNNs did not hinder their expressivity. ICNNs consistently matched or outperformed standard, unconstrained DNNs in predicting OPF value functions across DC, SOC, and AC formulations.
Key findings include:
- High Accuracy: ICNNs achieved a mean relative optimality gap of less than 0.5% across nearly all test cases.
- Scalability: The approach successfully scaled to the 6,468-bus
rte6ksystem, proving its viability for real-world grids. - Stability: ICNN errors exhibited lower variance compared to standard DNNs, though training via projected gradient descent required more careful hyperparameter tuning.
Discussion and Future Work
The results suggest that even for non-convex formulations like AC-OPF, the underlying value function behaves convexly enough in operational regions to be accurately modeled by ICNNs. This allows these proxies to be embedded into larger optimization problems as simple convex constraints rather than complex MIP formulations.
However, limitations remain. Worst-case optimality gaps reached 15% on smaller systems, which may be unacceptable for certain safety-critical applications. Future research will focus on designing custom loss functions to penalize under-estimations and developing training procedures that prioritize minimizing worst-case performance over average error.
Summary updated