Regularized Large Neighborhood Search

Germain Vivier-Ardisson, Laurent Demonet, Axel Parmentier, Mathieu Blondel

TL;DR

This paper introduces Regularized Large Neighborhood Search (RLNS), a framework that bridges scalable operations research heuristics with differentiable deep learning. By regularizing local subproblems within a Large Neighborhood Search, RLNS transforms a standard optimization heuristic into an efficient MCMC sampler, enabling end-to-end training of neural networks with combinatorial layers without needing intractable global exact solvers.

What Problem Does This Paper Address?

Integrating combinatorial optimization layers (such as graph routing, matching, or scheduling solvers) directly into neural networks allows machine learning models to make discrete decisions that satisfy complex, real-world constraints. However, the core challenge is differentiability: these discrete operators yield zero gradients almost everywhere, making standard backpropagation impossible.

To circumvent this, existing methods smooth the objective function using regularization or stochastic perturbations. Unfortunately, as summarized in the literature, most of these approaches fundamentally assume access to a global exact solver to compute gradients during training:

Table 1: The new connection we establish between LNS and Gibbs sampling enables us to leverage local oracles and effectively regularize the problem when usual global oracles are not available.

For NP-hard problems commonly encountered in operations research, calling a global exact solver at every single training step is computationally intractable. RLNS addresses this critical bottleneck by shifting the computational burden from intractable global solvers to highly scalable local heuristics.

Methods

The authors build upon Large Neighborhood Search (LNS), a popular meta-heuristic in operations research that solves complex problems iteratively. At each step, LNS freezes a subset of variables and uses a local solver to optimize the remaining "free" variables.

The core innovation of this paper is Regularized LNS (RLNS), which injects regularization directly into these local subproblems. The authors explore two main regularization regimes:

  1. Entropic Regularization: By adding Shannon's negative entropy to the local subproblems, the authors prove that RLNS exactly implements a block Gibbs sampler. Its stationary distribution perfectly matches the globally regularized Gibbs distribution.
  2. Perturbation-based Regularization: When a local marginal oracle is unavailable, RLNS injects stochastic noise into the local objective function. This allows practitioners to use standard, unregularized local MAP (Maximum A Posteriori) solvers to perform exact local updates via perturbed local maximization.

Crucially, by adjusting the number of RLNS iterations ($K$), the framework can smoothly interpolate between optimizing a local pseudolikelihood objective ($K=1$) and a global maximum likelihood objective ($K \to \infty$).

Datasets

The authors evaluate RLNS across three distinct optimization tasks:

  • $\kappa$-hot vectors: A controlled synthetic estimation task ($d=1000, \kappa=500$) used to validate the sampler's convergence properties against an analytically computed global ground truth.
  • Generalized Assignment Problem (GAP): A dataset of 1,000 independent instances consisting of 50 items and 5 capacity-constrained bins. Relational features are generated using latent profile vectors, and expert ground-truth labels are computed using a global MILP solver.
  • Stochastic Vehicle Scheduling Problem (SVSP): A dataset of 1,000 independent instances modeling a fleet of vehicles routing spatio-temporal tasks under 10 distinct delay scenarios.

Key Insights and Ideas

  • Heuristics as Samplers: The paper elegantly reframes a classic optimization heuristic (LNS) as a principled Markov Chain Monte Carlo (MCMC) sampling procedure.
  • Rejection-Free Efficiency: Unlike standard Metropolis-Hastings local search methods, RLNS achieves a 100% acceptance rate. It always accepts the local subproblem's solution, preventing the sampler from stalling—especially in low-temperature (low-noise) regimes.
  • The Power of the Cut: The authors prove theoretically that the approximation error (bias) of perturbed RLNS scales with the number of constraints shared between frozen and free variables (the "cut size" of the constraint hypergraph). This provides a rigorous mathematical justification for using variable selection schemes that minimize cross-dependencies (min-cuts).

Key Results

  • $\kappa$-hot vectors: RLNS converges significantly faster than standard Local Search MCMC. Because it is rejection-free, its efficiency does not degrade when updating more variables or lowering the regularization strength.
Figure 1: Estimation on κ-hot vectors. Left: convergence of RLNS with varying proportion of free variables compared to i.i.d. Monte-Carlo estimation. Center: convergence with 30% of free variables, against Local Search MCMC and i.i.d. Monte-Carlo estimation (RB- denotes Rao-Blackwellization). Right: acceptance rate with varying proportion of free variables and regularization strength γ.
  • Generalized Assignment Problem: Local dynamic programming oracles used by RLNS proved to be orders of magnitude faster than calling a global MILP solver as the problem scale increased ($n=100$ to $n=400$). Increasing the number of iterations $K$ successfully reduced gradient variance.
  • Stochastic Vehicle Scheduling: Running just a single iteration ($K=1$) of perturbed RLNS outperformed blackbox differentiation (DBB) and binary cross-entropy (BCE) baselines. It nearly matched the performance of a global perturbed Fenchel-Young (PFY) loss while only requiring the solver to process a subproblem roughly one-third of the original size.

Limitations and Future Work

  • Oracle Intractability: While entropic regularization theoretically guarantees exact block Gibbs sampling, finding efficient local marginal oracles can still be challenging for highly complex, tightly coupled constraint structures.
  • Structural Bias: Perturbation-based RLNS circumvents the oracle issue by using standard local MAP solvers, but this scalability comes at the cost of introducing a structural bias into the stationary distribution.
  • Future Directions: The authors suggest that other combinatorial metaheuristics could be fruitfully revisited from a sampling perspective, such as combining local search heuristics as approximate sub-problem solvers within an MCMC framework ("Metropolis-within-Gibbs").

Summary updated

BibTeX
@inproceedings{vivierardisson2026regularized,
  author = {Germain Vivier-Ardisson and Laurent Demonet and Axel Parmentier and Mathieu Blondel},
  title = {{Regularized Large Neighborhood Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uDP4mHrRYM},
}
Figure