Learning with Local Search MCMC Layers

Germain Vivier-Ardisson, Mathieu Blondel, Axel Parmentier
5/20/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Integrating combinatorial optimization layers into neural networks has recently attracted significant research interest. However, many existing approaches lack theoretical guarantees or fail to perform adequately when relying on inexact solvers.

Show full abstract

This is a critical limitation, as many operations research problems are NP-hard, often necessitating the use of neighborhood-based local search heuristics. In this paper, we introduce a principled approach for learning with such inexact solvers. Inspired by the connection between simulated annealing and Metropolis-Hastings, we transform the problem specific neighborhood systems used in local search heuristics into proposal distributions, implementing MCMC on the set of feasible solutions. This allows us to construct differentiable, stochastic combinatorial layers and associated loss functions. Replacing an exact solver with a local search strongly reduces the computational burden of learning on many applications. We demonstrate our approach on a dynamic vehicle routing problem with time windows, binary vector and k-subset prediction tasks, as well as a multi-dimensional knapsack decision-focused learning problem.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vivierardisson2025learning,
  title  = {Learning with Local Search MCMC Layers},
  author = {Germain Vivier-Ardisson and Mathieu Blondel and Axel Parmentier},
  year   = {2025},
  eprint = {2505.14240},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14240v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.14240.svg)](https://codeofpaper.com/paper/2505.14240)

Discussion