TL;DR
LANCER (Landscape Surrogate losses) introduces a smooth, learnable neural network surrogate to replace the non-differentiable "solver-in-the-loop" typically found in decision-focused learning. By approximating the optimization landscape, LANCER provides dense gradients and significantly reduces computational overhead, outperforming state-of-the-art methods in complex combinatorial and nonlinear problems like knapsack and portfolio optimization.
What Problem Does This Paper Address?
Many real-world tasks involve a "Predict+Optimize" (P+O) pipeline: first, use a machine learning model to predict unknown parameters (e.g., future stock returns or traffic conditions), and then feed those predictions into an optimization solver to make a decision.
The challenge is that standard training (minimizing prediction error) doesn't always lead to the best decisions. "Smart" Predict+Optimize (SPO) frameworks try to solve this by training the model to minimize the final decision loss. However, this is notoriously difficult because:
- Non-differentiability: Solvers (especially combinatorial ones) often behave like step functions, providing zero gradients almost everywhere.
- Computational Cost: Calling a complex solver (like a Mixed-Integer Linear Program solver) inside every training iteration is extremely slow.
- Black-box Objectives: Sometimes the objective function itself is a black box, preventing standard backpropagation.
Methods
The authors propose LANCER, which sidesteps these issues by learning a Landscape Surrogate ($M$). Instead of trying to differentiate through the solver $g$, LANCER learns a smooth neural network that approximates the compound function $f \circ g$ (the objective value resulting from the solver's output).
The training follows an alternating optimization strategy, reminiscent of actor-critic methods in reinforcement learning:
- The w-step (Critic): Fix the target model and update the surrogate $M$ to better approximate the actual objective values produced by the solver. It uses a "replay buffer" of past solver evaluations to improve data efficiency.
- The $\theta$-step (Actor): Fix the surrogate $M$ and update the target model $c_\theta$ by simply performing gradient descent on the smooth surrogate.
This approach allows the model to learn from a "dense" gradient landscape even when the underlying solver is discrete and "jumpy."
Datasets
The authors evaluated LANCER across a variety of synthetic and real-world benchmarks:
- Synthetic Combinatorial Problems: Shortest Path (SP) on grids and Multidimensional Knapsack (MKS).
- Stochastic Shortest Path: A nonlinear version where edge weights are random variables, and the goal is to maximize the probability of arriving on time.
- Real-world Portfolio Optimization: Using historical stock data from the Quandl WIKI dataset to perform both quadratic (Markowitz) and complex combinatorial portfolio selection (including co-skewness and cardinality constraints).
Key Insights and Ideas
- Smoothness is Key: By replacing a jagged, non-differentiable optimization landscape with a smooth neural surrogate, LANCER provides informative gradients that help the model converge to better solutions, especially in high-dimensional spaces where derivative-based methods struggle.
- Efficiency through Replay: LANCER doesn't need to call the solver for every single gradient update. By caching solver results and training the surrogate on this "replay buffer," it achieves comparable results with far fewer expensive solver calls.
- Generalization: Unlike some previous methods that learn a local loss for each specific instance, LANCER learns a surrogate over the entire problem domain, allowing it to generalize better to unseen test instances.
- Surrogate Reuse: Once trained, the surrogate $M$ can sometimes be reused for similar problems without retraining the solver, leading to massive speedups during deployment.
Key Results
LANCER consistently matched or exceeded the performance of specialized baselines like SPO+ and LODLs while being more versatile.
- Knapsack & Shortest Path: In the Multidimensional Knapsack task, LANCER achieved significantly lower regret than SPO+ and other baselines, likely because it handles the high-dimensional feature space more effectively.
- Stochastic Shortest Path: LANCER-zero outperformed the standard SCIP solver on larger grids (15x15) because SCIP timed out, while LANCER provided high-quality solutions quickly.
- Portfolio Optimization: In combinatorial portfolio selection (a very hard MINLP problem), LANCER achieved a 2x lower loss than standard MIQP/MILP approximations.
Limitations and Future Work
While powerful, LANCER introduces its own set of hyperparameters, specifically regarding the architecture and training of the surrogate $M$. The authors note that "model selection" for the surrogate can be complex.
Furthermore, while the empirical results are strong, the paper lacks theoretical convergence guarantees for the alternating optimization scheme—a common trait in bi-level optimization research. Future work could explore more automated ways to tune the surrogate or extend the framework to entirely black-box objective functions where even the form of $f$ is unknown.
Summary updated