A Solver-Free Training Method for Predict-then-Optimize

Beichen Wan, Mo LiuICML 2026

TL;DR

This paper introduces a novel "solver-free" training method for predict-then-optimize problems, significantly speeding up training by eliminating the need for computationally expensive optimization solvers. By transforming the data distribution, their approach aligns machine learning predictions with downstream optimization goals, achieving competitive performance with state-of-the-art methods while being orders of magnitude faster.

What Problem Does This Paper Address?

Many real-world decision-making problems involve a two-step process: first, predicting some parameters (e.g., demand, costs) using machine learning, and then using these predictions to make an optimal decision via an optimization problem (e.g., resource allocation, routing). This is known as the "predict-then-optimize" paradigm. A major challenge arises when the optimization problem is complex, like linear programming or combinatorial optimization. In these cases, the decision mapping (how predictions translate to optimal decisions) is often non-smooth, making it difficult to directly train the prediction model using gradients from the optimization objective. Existing "decision-focused" methods try to overcome this by smoothing the optimization process or using implicit differentiation, but they require calling an optimization solver for every gradient calculation. This becomes computationally prohibitive for large-scale problems, limiting their practical applicability. The authors aim to bridge this gap by developing a method that is both decision-aware and computationally efficient, avoiding the need for an optimization solver during training.

Methods

The core innovation of this paper lies in a measure transformation technique. Instead of directly optimizing the decision regret, they transform the underlying probability distribution of the data. This transformation has two key steps:

  1. Reweighting: The original data distribution is reweighted to give more importance to samples with larger cost magnitudes. This addresses the "loss scaling" property of decision regret, ensuring that samples with higher potential regret are prioritized.
  2. Projection onto Unit Sphere: The reweighted data is then projected onto the unit sphere. This addresses the "scale invariance" property of optimization problems, where the optimal decision only depends on the direction of the cost vector, not its magnitude.

By training on this transformed distribution, they derive a new surrogate loss function called the Weight Integrated Spherical Error (WISE). This WISE loss is designed to be "solver-free," meaning it can be computed directly from the data without needing to invoke an optimization solver. The authors provide theoretical guarantees, including Fisher consistency (ensuring that minimizing the WISE loss leads to minimizing the true decision risk) and excess risk bounds, demonstrating its soundness.

Datasets

The paper evaluates their method on several standard benchmarks for predict-then-optimize problems:

  • 2D Knapsack Problem: A combinatorial optimization problem where the goal is to maximize item value subject to capacity constraints.
  • Shortest Path Problem: A classic graph problem involving finding the minimum cost path between two nodes.
  • Portfolio Optimization Problem: A convex optimization problem aiming to maximize expected portfolio return while managing risk.

They do not introduce new datasets but use established problem formulations and data generation processes from prior work to ensure fair comparison.

Key Insights and Ideas

  • Measure Transformation as a "Data Augmentation" for Optimization: The authors cleverly reframe the problem not as modifying the optimization solver, but as modifying the data distribution to better align with the optimization objective. This is a powerful conceptual shift.
  • WISE Loss Captures Decision Geometry: The WISE loss is derived to explicitly account for the scale-invariant and scale-dependent properties of decision regret in linear optimization. This is crucial for making decision-blind losses more effective.
  • Solver-Free is the Key to Scalability: By completely removing the need for an optimization solver during training, their method achieves dramatic speedups, making complex decision-making models accessible for larger-scale applications.
  • Theoretical Guarantees for a Novel Loss: Establishing Fisher consistency and risk bounds for the WISE loss provides confidence in its theoretical underpinnings, complementing the empirical results.

Key Results

  • Significant Speedup: The proposed WISE method is orders of magnitude faster than existing decision-focused learning (DFL) methods, reducing training time from minutes/hours to seconds in some cases.
  • Competitive Decision Quality: Despite the speedup, the WISE method achieves decision quality comparable to or better than state-of-the-art DFL methods across various tasks, including those with model misspecification.
  • Robustness to Misspecification: The method performs well even when the learned prediction model is not perfectly aligned with the true data-generating process, outperforming simpler decision-blind methods like MSE.
  • Theoretical Properties: The paper provides theoretical guarantees, including Fisher consistency and finite-sample excess risk bounds, for the WISE loss.

Limitations and Future Work

  • Assumptions: The theoretical analysis relies on certain assumptions, such as the boundedness of predictors, feasible regions, and cost vectors, and that the cost vector is non-zero almost surely. While these are common in the literature, they might not hold in all practical scenarios.
  • Generalization of Measure Transformation: The current measure transformation is tailored for linear optimization. The authors suggest future work could explore extending this measure transformation idea to capture more distinct problem structures beyond linear objectives.
  • Hyperparameter Tuning: While the method is solver-free, like any machine learning approach, it will still require careful hyperparameter tuning for optimal performance.

Summary updated

BibTeX
@inproceedings{wan2026solver,
  author = {Beichen Wan and Mo Liu},
  title = {{A Solver-Free Training Method for Predict-then-Optimize}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Tz69nG4l87},
}

Loading related content...

Figure