Scaling Decision-Focused Learning to Large Problems with Lagrangian Decomposition

Stéphane Eilles-Chan Way, Hugo Percot, Quentin Cappart, Tias Guns, Louis-Martin RousseauarXiv 2026

TL;DR

Decision-focused learning (DFL) excels at "predict-then-optimize" problems but struggles to scale because it requires solving a complex optimization problem at every training step. This paper introduces a framework that integrates Lagrangian Decomposition into DFL, breaking massive, constrained problems into smaller, parallelizable subproblems. This approach scales to instances up to eight times larger than standard benchmarks while matching or outperforming traditional DFL methods.

What Problem Does This Paper Address?

In many real-world applications, we predict unknown parameters (like future stock returns or travel times) and plug them into a Constrained Optimization Problem (COP) to make a decision. Traditionally, machine learning models are trained to minimize prediction error (e.g., Mean Squared Error). However, a small prediction error can lead to a catastrophic downstream decision if it violates a critical constraint or misjudges a sensitive variable.

Decision-Focused Learning (DFL) fixes this by training the predictive model directly on downstream decision quality (minimizing "regret"). The catch? To compute the gradient of the loss, DFL must solve the COP for every single data instance during every training epoch. When the underlying problem is NP-hard or large-scale, this creates a massive computational bottleneck, rendering DFL impractical for large industrial problems.

Methods

Instead of inventing a new mathematical trick to differentiate through the optimization provider, the authors change the structure of the optimization layer itself using Lagrangian Decomposition (LD).

Figure 1: Schematic view of our method. The initial parameterized COP and the parameterized LD define two optimization problems, each with its own objective function and corresponding optimal solution. Each approach selects a particular combination of these components to construct a loss function. The regret Lregret denotes the classical DFL loss, while L1 and L2 are the new losses we propose.

The core recipe consists of three main steps:

  1. Decomposition: They duplicate the decision variables and split a multi-constrained problem into $m$ independent subproblems, each handling only a single constraint.
  2. Bypassing Bilevel Optimization: Normally, optimizing the Lagrangian multipliers ($\mu$) during training would create a grueling bilevel optimization problem. The authors bypass this by fixing the multipliers to their optimal values under the true historical cost parameters ($\mu^*(c)$) during training.
  3. New Loss Functions: They introduce two new surrogate losses ($\mathcal{L}_1$ and $\mathcal{L}_2$) based on these relaxed subproblems.

The authors propose two variants: static (using a single fixed decomposition) and multiple (randomly selecting from different possible constraint decompositions at each epoch to expose the model to the full problem structure). Crucially, this framework seamlessly plugs into existing DFL algorithms like SPO+ and IMLE.

Datasets

The framework was evaluated on two challenging benchmarks scaled significantly beyond typical literature sizes:

  • Multi-dimensional Knapsack Problem: Scaled up to 300 variables and 10 constraints (roughly 6x larger than instances commonly used in prior DFL research).
  • Quadratic Portfolio Optimization: Scaled up to 400 assets (an 8-fold increase over typical 50-asset benchmarks).

Key Insights and Ideas

  • Exploiting Subproblem Structure: By breaking down the main problem, the resulting subproblems are often drastically simpler. For the portfolio optimization problem, the authors derived an exact, closed-form analytical solution for the subproblem. This completely eliminates the need for an external solver during training, allowing standard automatic differentiation (like PyTorch's autograd) to handle the gradients instantly.
  • Fixing Multipliers Works: Setting the Lagrangian multipliers to the true optimal values ($\mu^*(c)$) acts as an effective proxy, guiding the model toward the ideal dual bound without the overhead of updating multipliers dynamically at every training step.
  • The Power of Multiple Decompositions: Randomly switching the chosen main subproblem across epochs (multiple variant) acts as a powerful regularizer, preventing the model from over-fitting to a single constraint's structure.

Key Results

  • Superior Scalability: Under a restricted training time budget, the proposed LD-based methods completed orders of magnitude more training epochs than standard DFL baselines.
  • Lower Regret: On the largest 300-item knapsack problems, LD(IMLE, multiple, L2, ∞) achieved the lowest relative regret ($2.235 \times 10^{-2}$), outperforming standard IMLE ($3.933 \times 10^{-2}$) and fast approximations like CaVE and LAVA.
  • Trivial Parallelization: Because the multiple decomposition approach creates independent subproblems, dataset construction is naturally parallelizable. Using 10 CPU cores yielded a 9.12× speedup, reducing execution time from over 4,200 seconds to just 462 seconds.

Limitations and Future Work

  • Decomposition Dependency: The method relies on the optimization problem having a structure that naturally lends itself to a meaningful Lagrangian decomposition. If the constraints are tightly coupled in a non-separable way, decomposition might not yield simpler subproblems.
  • Offline Overhead: Computing the true optimal multipliers ($\mu^*(c)$) for the training set requires an offline preprocessing step. While highly parallelizable, it still adds initial overhead.
  • Future Directions: The authors plan to extend this framework to other combinatorial domains like shortest-path routing and shift scheduling, as well as explore alternative online strategies for dynamically updating the multipliers during training.

Summary updated

BibTeX
@misc{way2026scaling,
  author = {Stéphane Eilles-Chan Way and Hugo Percot and Quentin Cappart and Tias Guns and Louis-Martin Rousseau},
  title = {{Scaling Decision-Focused Learning to Large Problems with Lagrangian Decomposition}},
  year = {2026},
  eprint = {2606.08797},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.08797},
}
Figure