NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predict-Then-Optimize by Proxy: Learning Joint Models of Prediction and Optimization

James Kotary, Vincenzo Di Vito, Jacob Christopher, Pascal Van Hentenryck, Ferdinando FiorettoarXiv 2023 · DOI

In many critical infrastructure and logistics domains—ranging from routing delivery fleets to balancing power grid loads—decision-makers face the "Predict-Then-Optimize" (PtO) challenge. These problems involve observable data (e.g., weather patterns, historical traffic) that influence unknown parameters (e.g., travel times, energy demand) of an optimization problem. Traditionally, these are solved in two distinct steps: first predicting the parameters, then solving the optimization problem.

A recent collaboration between researchers at the University of Virginia and Georgia Tech, titled "Predict-Then-Optimize by Proxy," proposes a fundamental shift in this paradigm. Instead of treating prediction and optimization as separate or sequentially linked tasks, they introduce a framework that learns to map raw features directly to optimal decisions using neural network proxies.

The Predict-Then-Optimize Challenge

The standard PtO pipeline typically follows one of two paths:

  1. Two-Stage Learning: A machine learning model is trained to minimize a generic prediction error (like Mean Squared Error). These estimates are then fed into a solver. The primary drawback is that the prediction model is "decision-blind"; it may achieve high accuracy on parameters that don't matter for the final decision while failing on critical ones.
  2. End-to-End (EPO) Learning: This approach trains the predictor to minimize "regret"—the difference in cost between the decision made using predicted parameters and the true optimal decision. While superior in decision quality, EPO is computationally expensive because it requires solving a full optimization problem during every training iteration. Furthermore, it requires "differentiating through" the solver, a mathematically complex task that is often impossible for non-convex or discrete problems.

Methodology: Learning to Optimize from Features (LtOF)

The authors propose Learning to Optimize from Features (LtOF). This framework replaces traditional, slow optimization solvers with fast neural network proxies. While standard "Learning-to-Optimize" (LtO) research focuses on mapping parameters to solutions, LtOF maps observable features ($z$) directly to solutions ($x$).

Comparison of Predict-Then-Optimize paradigms, highlighting the proposed LtOF approach.

Overcoming Distribution Shift

A key contribution of the paper is identifying why simple "drop-in" proxies fail. When a pre-trained LtO proxy is used within a PtO pipeline, the prediction model's updates cause the "predicted parameters" to drift away from the proxy's training distribution. This distribution shift leads to high regret and constraint violations.

To solve this, the authors advocate for joint training. By training the entire pipeline end-to-end, the model learns the implicit relationship between features and optimal outcomes. The paper adapts three specific LtO architectures for this task:

  • Lagrangian Dual Learning (LD): Incorporates constraints into the loss function via penalties.
  • Self-Supervised Primal-Dual Learning (PDL): Simultaneously learns to predict solutions and their corresponding Lagrange multipliers.
  • Deep Constraint Completion and Correction (DC3): Employs a specialized "correction" layer to ensure hard constraints are satisfied.

Experimental Evaluation

The framework was rigorously tested across three distinct environments:

  1. Convex Quadratic Portfolio Optimization: Allocating investments across 50 Nasdaq assets based on noisy market features.
  2. Non-convex Quadratic Programming: A synthetic benchmark designed to evaluate performance on oscillating, non-linear objective functions.
  3. AC-Optimal Power Flow (AC-OPF): A complex, non-convex problem involving the physics of power grids (tested on the NESTA 118-bus network).

Key Results

The LtOF framework demonstrated significant advantages in both efficiency and accuracy:

  • Computational Speed: LtOF models achieved inference speeds 10x to 1000x faster than traditional solvers. In the AC-OPF task, LtOF generated solutions in approximately 0.0004 seconds, compared to 0.17 seconds for a standard solver.
  • Superior Decision Quality: As the relationship between features and parameters became more complex (represented by the complexity factor $k$), LtOF significantly outperformed both Two-Stage and standard EPO models.
Regret performance across varying feature complexity levels (k) for LtOF, EPO, and Two-Stage (2S) models.

As shown in the results, at high complexity ($k=8$), LtOF maintained low regret while the baselines saw exponential increases in error. This suggests that by bypassing the need to get intermediate parameters "right," LtOF can find better decisions in noisy, high-dimensional environments.

Conclusion and Future Work

By treating the optimization solver as a differentiable neural proxy, LtOF removes the "differentiation bottleneck" that has long plagued end-to-end decision-making models. While the approach results in a "black box" that lacks the interpretability of explicit parameter predictions, the gains in speed and decision quality are transformative for real-time applications like power grid management.

Future research directions include extending LtOF to discrete and combinatorial problems, such as the Traveling Salesperson Problem, and further refining the mathematical guarantees for constraint satisfaction in high-stakes environments.

Summary updated

BibTeX
@misc{kotary2023predict,
  author = {James Kotary and Vincenzo Di Vito and Jacob Christopher and Pascal Van Hentenryck and Ferdinando Fioretto},
  title = {{Predict-Then-Optimize by Proxy: Learning Joint Models of Prediction and Optimization}},
  year = {2023},
  eprint = {2311.13087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.13087},
}
Figure