Scalable Decision Focused Learning via Online Trainable Surrogates

Gaetano Signorelli, Michele Lombardi · DOI

Introduction

In modern industrial applications ranging from logistics to power grid management, machine learning (ML) models are frequently used to predict parameters that serve as inputs for downstream optimization solvers. The standard paradigm, Prediction Focused Learning (PFL), optimizes models for predictive accuracy. However, PFL often fails to account for the downstream impact of errors; a small numerical error in a critical parameter can lead to suboptimal or even catastrophic decisions.

Decision Focused Learning (DFL) addresses this by integrating the optimization solver into the training loop, minimizing the actual "regret" or cost of the resulting decisions. Despite its theoretical advantages, DFL is computationally expensive, requiring a full solver call at every training step—a significant bottleneck for NP-hard problems or large-scale datasets. This paper introduces a scalable DFL framework using online trainable Gaussian Process (GP) surrogates to mimic expensive solvers, achieving significant speedups while maintaining state-of-the-art decision quality.

Methodology: Online Trainable Surrogates

The core innovation lies in replacing the expensive optimization solver with a "proxy" model during training. The authors propose using Gaussian Process (GP) surrogates, which offer two distinct advantages: they are asymptotically unbiased and provide a built-in measure of uncertainty.

Stochastic Smoothing and Importance Sampling

Optimization landscapes are frequently non-convex, jagged, or characterized by large flat regions with zero gradients, which can stall gradient-based training. To mitigate this, the authors employ stochastic smoothing, which averages the regret over a small neighborhood of the predicted parameters. This process transforms a discontinuous "staircase" regret function into a smooth curve, making it significantly easier for the GP to approximate and for the optimizer to navigate.

Stochastic smoothing of the regret function with varying bandwidths (σ)

To maintain efficiency, importance sampling is used to compute these smoothed averages, allowing the system to estimate gradients without requiring additional solver calls for every sample in the neighborhood.

Confidence-Based Fallback and Scalability

The framework includes a "safety valve" mechanism: if the GP surrogate exhibits high variance (indicating uncertainty), the system falls back to Score Function Gradient Estimation (SFGE), a slower but reliable method. The results from these fallback calls are then used to update the GP, allowing it to learn the landscape incrementally. To ensure scalability, the authors train one small GP per training instance rather than a single global GP. This approach reduces the computational complexity from $O(N^3)$ to a linear scale, making the method highly parallelizable.

Experimental Evaluation

The proposed method was evaluated against several state-of-the-art DFL techniques (LANCER, LODL, EGL, and SPO) and standard PFL across three benchmarks:

  1. Knapsack (KP-50): A combinatorial problem involving 50 items with stochastic correlations and recourse penalties.
  2. Weighted Set Multi-Cover (WSMC): A complex resource allocation problem.
  3. Synthetic Toy Dataset: A high-dimensional benchmark (up to 512 dimensions) designed to test convergence and the surrogate's ability to learn complex loss landscapes.

Results and Discussion

The GP-Surrogate method demonstrated superior efficiency and robustness across all benchmarks. Notably, it reduced the number of solver calls by nearly an order of magnitude compared to the SFGE fallback.

Comparison of Regret vs. Solver Calls across Knapsack (KP-50) and Weighted Set Multi-Cover (WSMC) benchmarks

In the WSMC benchmark, the GP-Surrogate converged in approximately 818 seconds, whereas the fallback method timed out at 900 seconds with inferior decision quality. Furthermore, while other surrogates like LANCER or LODL occasionally performed worse than simple PFL due to bias or instability, the GP-Surrogate consistently achieved high-quality solutions, even in high-dimensional spaces where traditional methods struggled.

Conclusion

By utilizing online trainable GP surrogates and stochastic smoothing, this work provides a scalable path for Decision Focused Learning. The method effectively bridges the gap between the accuracy of DFL and the speed of PFL. Future research directions include refining hyperparameter tuning for the smoothing factor (σ) and exploring Bayesian Optimization techniques to potentially eliminate the need for fallback mechanisms entirely, further streamlining the "learn-to-optimize" loop.

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