English

Differentiation of Blackbox Combinatorial Solvers

Machine Learning 2024-12-16 v2 Machine Learning

Abstract

Achieving fusion of deep learning with combinatorial algorithms promises transformative changes to artificial intelligence. One possible approach is to introduce combinatorial building blocks into neural networks. Such end-to-end architectures have the potential to tackle combinatorial problems on raw input data such as ensuring global consistency in multi-object tracking or route planning on maps in robotics. In this work, we present a method that implements an efficient backward pass through blackbox implementations of combinatorial solvers with linear objective functions. We provide both theoretical and experimental backing. In particular, we incorporate the Gurobi MIP solver, Blossom V algorithm, and Dijkstra's algorithm into architectures that extract suitable features from raw inputs for the traveling salesman problem, the min-cost perfect matching problem and the shortest path problem. The code is available at https://github.com/martius-lab/blackbox-backprop.

Keywords

Cite

@article{arxiv.1912.02175,
  title  = {Differentiation of Blackbox Combinatorial Solvers},
  author = {Marin Vlastelica and Anselm Paulus and Vít Musil and Georg Martius and Michal Rolínek},
  journal= {arXiv preprint arXiv:1912.02175},
  year   = {2024}
}

Comments

ICLR 2020 conference paper (spotlight). The first two authors contributed equally

R2 v1 2026-06-23T12:36:01.785Z