arXiv:2610.28851math.OCOct 2026

Manuscript Offprint

arXiv:2610.28851

Self-Supervised Tuning of Low-Fidelity Optimization Models via High-Fidelity Feedback

Gonzalo E. Constante-Flores, André H. Quisaguano-Paredes, Asha Ramanujam, Rishabh Gupta, Can Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Gonzalo E. Constante Flores

Department of Electrical, Computer & Energy Engineering, University of Colorado Boulder, gonzalo.constante@colorado.edu

André Quisaguano

Department of Electrical, Computer & Energy Engineering, University of Colorado Boulder, andre.quisaguanoparedes@colorado.edu

Asha Ramanujam

Davidson School of Chemical Engineering, Purdue University, aramanuj@purdue.edu

Rishabh Gupta

ExxonMobil Technology and Engineering Company, rishabh.gupta1@exxonmobil.com

Can Li

Davidson School of Chemical Engineering, Purdue University, canli@purdue.edu

Abstract. Low-fidelity (LF) optimization models are widely used in large-scale operations because they can be solved efficiently and reliably, but they often exhibit systematic errors relative to high-fidelity (HF) formulations that better capture physical and operational constraints. Existing learning-based approaches typically rely on supervised or semi-supervised training with HF solutions, which are expensive to compute and may not align with HF operational objectives. We propose a self-supervised framework that parameterizes LF optimization models directly from HF feedback. The low-fidelity problem is embedded as a differentiable optimization layer and trained end-to-end, while a HF correction problem evaluates its solution and provides gradient information through its dual variables, without requiring HF solution labels. We evaluate the framework on optimal power flow, optimal gas flow, and pooling problems, spanning different sources of low- and high-fidelity mismatch. Across all three applications, the self-supervised approach improves objective quality and feasibility over untuned LF models and generally outperforms semi-supervised training. The learned parameterizations also generalize to unseen operating conditions and, for network applications with up to 30,000 nodes, to systems not encountered during training.

Key words: Machine learning for optimization, differentiable optimization

1. Introduction

High-fidelity (HF) optimization models are essential for decision-making in many engineering applications because they accurately capture complex physical, economic, and operational constraints. However, their repeated solution is often computationally prohibitive due to large-scale nonconvex formulations. As a result, practitioners commonly rely on low-fidelity (LF) models that trade modeling accuracy for computational efficiency through approximations, relaxations, or simplified physics. A representative example is power systems, where the alternating current optimal power flow (AC-OPF) model (Frank and Rebennack 2016) accurately captures nonlinear power flow equations, voltage magnitudes, reactive power, and transmission losses but is computationally expensive. In contrast, the direct current optimal power flow (DC-OPF) model simplifies these equations by assuming fixed voltage magnitudes, negligible line losses, and small voltage angle differences, yielding a much more scalable model at the expense of physical accuracy.

Although LF models are computationally attractive, they often exhibit systematic mismatches relative to their HF counterparts, which may arise from linearizations, omitted constraints, surrogate objective functions, or simplified physical assumptions, and can lead to suboptimal or even infeasible decisions. Previous work by Constante-Flores et al. (2025), Gupta and Zhang (2024) showed that the parameters of a nominal LF model can be systematically calibrated to better reproduce HF system behavior while preserving the LF model's physical interpretability and computational efficiency.

Figure 1 illustrates the geometric intuition behind this idea. The shaded regions represent the feasible sets of the HF and LF models, where x∗x^* denotes the HF-optimal solution and x^\hat{x} denotes the solution obtained from the nominal LF model. Because the LF model relies on simplified physics and approximations, its solution may deviate substantially from x∗x^*. Rather than replacing the LF model with an unstructured surrogate, the calibration approach adjusts a set of physically meaningful LF model parameters, effectively shifting or reshaping the solution geometry so that the resulting LF decisions better approximate those of the HF model. However, existing approaches require repeatedly solving computationally expensive bilevel optimization problems, with the LF optimization problem embedded in the lower level, limiting their scalability to large-scale problems.

Contributions To overcome this limitation, we propose a scalable self-supervised learning framework for tuning LF optimization models using HF operational feedback. Specifically, the LF optimization problem is embedded as a differentiable optimization layer whose parameters are trained end-to-end to minimize the HF objective induced by the LF decisions. Instead of requiring HF-optimal solutions as supervision, the HF model acts as an evaluation layer that computes the operational adjustment needed to satisfy the HF constraints and returns the resulting objective value together with sensitivity information for gradient-based training. As a result, the framework directly optimizes LF model parameters with respect to HF performance while avoiding the costly bilevel optimization procedures required by previous approaches. We further characterize the structural approximation capacity of the parameterized LF model through its reachable decision set and local solution sensitivities, which clarifies when matching an HF reference decision and minimizing HF operational loss can lead to different LF decisions.

We evaluate the framework on three classes of optimization problems that represent qualitatively different sources of LF–HF mismatch: (i) DC approximations of nonlinear AC power-flow physics,

Figure

Figure 1 Geometric intuition of tuning low fidelity surrogate to better approximate a high-fidelity model.

(ii) relaxations of nonlinear gas-flow equations, and (iii) McCormick-based approximations of bilinear constraints in pooling problems. This diversity allows us to evaluate whether the proposed learning principle extends beyond a particular application or approximation structure. Across all three applications, the proposed framework consistently outperforms untuned LF models and semi-supervised baselines in terms of HF objective value, feasibility, computational scalability, and generalization to unseen operating conditions. The numerical experiments demonstrate that self-supervised learning driven by HF optimization feedback provides a principled and scalable framework for improving tractable surrogate optimization models for large-scale decision-making.

Related Work This paper lies at the intersection of contextual optimization, decision-focused learning (DFL), and optimization-based surrogate modeling. Predictive-to-prescriptive methods use context to learn decisions or problem data that minimize downstream cost rather than prediction error (Bertsimas and Kallus 2020, Elmachtoub and Grigas 2022). DFL further aligns training with downstream decision quality through implicit sensitivities, convex surrogates, continuous relaxations, perturbation-based gradients, black-box differentiation, and related loss constructions (Donti et al. 2017, Wilder et al. 2019, Berthet et al. 2020, Pogancic et al. 2020, Mulamba et al. 2021, Mandi et al. 2022, Ho-Nguyen and Kılınc-Karzan 2022, Kotary et al. 2021, Mandi et al. 2024, 2025). Our formulation follows this task-alignment principle but targets a different source of misspecification. Rather than estimating unknown data for a prescribed optimization model, we learn context-dependent corrections to a structured LF model and evaluate its decisions with a distinct HF model. The framework therefore addresses model-form error across fidelity levels rather than only statistical error in problem data.

Differentiable optimization layers enable end-to-end training through optimization problems. OptNet differentiates quadratic programs through their KKT systems (Amos and Kolter 2017), while disciplined-parameterized and conic formulations extend this capability to broader classes of convex programs (Agrawal et al. 2019). More general frameworks support solver-agnostic implicit differentiation (Blondel et al. 2022) and derivatives with respect to model parameters in algebraic modeling systems (Besançon et al. 2024). We use these tools to differentiate the LF solution map and propagate HF operational sensitivities back to the parameters of the LF model.

The closest work learns or calibrates structured optimization models rather than replacing them with direct decision predictors. Agrawal et al. (2021) introduce convex optimization models whose parameters are learned from labeled data by differentiating through the solution map. Ferber et al. (2023) propose SurCo, which learns the objective coefficients of a linear combinatorial surrogate end-to-end so that its solution minimizes a differentiable nonlinear objective, without requiring optimal-solution labels. Unlike our setting, however, SurCo retains the original feasible region and focuses on replacing a nonlinear objective with a learned linear surrogate, assuming direct access to the nonlinear objective and its gradient. Gupta and Zhang (2024) learn simpler optimization models from HF-optimal decisions through bilevel inverse optimization, while Constante-Flores et al. (2025) calibrate and then learn parameters of a DC-OPF approximation using AC-OPF information in a supervised setting. Related work in power systems has also sought to improve tractable OPF approximations. Taheri and Molzahn (2026) optimize parameters of the DC-OPF offline over a collection of operating conditions, yielding a single calibrated approximation used across instances. Our framework extends beyond power flow, allows selected LF parameters and contextual inputs to be tuned, and replaces offline label generation or direct objective gradients with end-to-end feedback from a distinct HF optimization problem.

References (26)