Scalable Decision Focused Learning via Online Trainable Surrogates

Gaetano Signorelli, Michele Lombardi · Submission to ICLR 2026 · Rejected

TL;DR

Decision-Focused Learning (DFL) trains machine learning models to maximize downstream decision quality rather than raw prediction accuracy, but it suffers from extreme computational costs due to repeated calls to expensive combinatorial solvers during training. This paper introduces GP-Surrogate, an online-trained Gaussian Process surrogate that approximates the decision regret surface using stochastic smoothing and importance sampling. By querying an expensive black-box solver only when surrogate uncertainty is high, the method slashes solver calls by up to an order of magnitude while matching or improving decision quality across combinatorial benchmarks.

What Problem Does This Paper Address?

In "predict-then-optimize" pipelines (e.g., vehicle routing, supply chain scheduling), machine learning models predict unobserved parameters (such as customer demand or travel time), which are then passed to an optimization solver. Traditional Prediction-Focused Learning (PFL) trains models on standard statistical losses (like MSE), which often yields suboptimal decisions because it ignores how errors impact the final objective.

While Decision-Focused Learning (DFL) directly optimizes decision regret, it faces three major hurdles in real-world deployment:

  1. Computational bottleneck: Evaluating loss gradients typically requires solving an NP-hard problem for every data instance at every training epoch.
  2. Restrictive problem formulations: Most existing DFL methods assume linear costs and deterministic constraints, failing when problems include nonlinearities, recourse actions, or parameter-dependent constraints.
  3. Flawed surrogates: Existing black-box surrogate methods (such as LODL or neural landscape surrogates) introduce structural bias or spurious local optima, or lack reliable mechanisms to know when the surrogate cannot be trusted.

Methods

The authors propose a black-box, surrogate-accelerated training pipeline that treats the solver and true cost function as arbitrary oracles:

  • Per-Instance Gaussian Process Surrogates: Instead of training a single massive GP over contextual features and predictions—which scales prohibitively as $\mathcal{O}(M^2)$ with dataset size $M$—the framework assigns a separate GP with an RBF kernel to each training instance's loss landscape.
  • Stochastic Smoothing & Importance Sampling: Combinatorial regret surfaces are piecewise-constant with zero-gradients almost everywhere. The surrogate is trained on a smoothed expectation of the regret under Gaussian perturbations $\mathcal{N}(\hat{y}, \sigma)$. To avoid running multiple Monte Carlo solver evaluations, points are reused via importance sampling.
  • Uncertainty-Guided Fallback: When evaluating training loss, the GP predicts both a mean regret and an epistemic standard deviation $\sigma_i$. If $\sigma_i$ is below a threshold $\beta$, the model backpropagates directly through the GP. If uncertainty is high, it falls back to Score Function Gradient Estimation (SFGE), executing the black-box solver and feeding the new sample back to update the GP.
  • Optional Sample Sharing: Surrogates can optionally share evaluated regret samples across instances based on Latin Hypercube Sampling (LHS) landscape similarity.

Datasets

The authors evaluate their method on three benchmarks incorporating recourse penalties ($p=10$) for constraint violations:

  • 0-1 Knapsack (KP-50): 50 items with synthetic features; uncertainty is injected into weights, values, and knapsack capacity separately.
  • Weighted Set Multi-Cover (WSMC-10): 10 items and 50 sets, with realistic availability matrices and recourse penalties. Scaled to 250, 500, 750, and 1,000 sets to test solver-runtime scalability.
  • Toy Benchmark (New): A synthetic high-dimensional benchmark ($y = Wx$) with a piecewise-step pseudoconvex cost function $g(y, z^*(\hat{y})) = s\lfloor \|y - \hat{y}\|_2 / l \rfloor$. Because solver time is near-zero, it isolates optimization dynamics and tests scalability across 64, 128, 256, and 512 parameter dimensions.

Key Insights and Ideas

  • Asymptotically Unbiased Loss Approximations: Unlike rigid convex surrogates (LODL/EGL), GPs are universal approximators. As data increases and smoothing bandwidth $\sigma \to 0$, approximation error vanishes, avoiding convergence to spurious local minima.
  • Smart Sample Reuse: Importance sampling allows a single solver evaluation generated during fallback steps to supervise the smoothed surrogate landscape at arbitrary surrounding query points.
  • Exploiting Epistemic Uncertainty: Using the GP's posterior variance prevents the predictor from exploiting uncalibrated regions of the surrogate, combining the sample efficiency of surrogates with the convergence guarantees of gradient estimators.

Key Results

  • Dramatic Reduction in Solver Calls: On KP-50 with uncertain weights, GP-Surrogate reduced solver calls per instance from 304.4 (SFGE) to 41.3, while reducing wall-clock training runtime from 717s to 199s.
  • Superior Decision Quality: GP-Surrogate achieved lower regret than both PFL and competing black-box surrogates (LODL, EGL, LANCER). On KP-50 weights, GP-Surrogate achieved a regret of 1.04, beating SFGE (1.40) and PFL (1.78).
  • Robustness on Time-Consuming Solvers: In WSMC scaling (up to 1,000 sets) with a 900-second training budget, SFGE consistently timed out (regret 3.54), whereas GP-Surrogate finished in 818s with a regret of 1.51.
  • High-Dimensional Scaling: On the 512-dimensional Toy dataset, SFGE collapsed into poor local optima (regret 271.82), whereas GP-Surrogate converged cleanly (regret 0.29).

Limitations and Future Work

  • Sample Sharing Trade-Off: While sharing regret samples between instances reduced solver calls further, it introduced bias that degraded solution quality in several tests.
  • Sensitivity to Confidence Threshold: Tuning the fallback threshold $\beta$ exhibited non-monotonic behavior, where lower confidence thresholds occasionally performed better due to smoothing effects.
  • Reliance on Fallback: The framework currently relies on SFGE as a fallback mechanism; exploring active Bayesian optimization acquisition functions could potentially eliminate the fallback routine altogether.

Summary updated

BibTeX
@misc{signorelli2025scalable,
  author = {Gaetano Signorelli and Michele Lombardi},
  title = {{Scalable Decision Focused Learning via Online Trainable Surrogates}},
  year = {2025},
  eprint = {2512.03861},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.03861},
}
Figure