English

Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splitting

Machine Learning 2024-07-23 v4

Abstract

In many applications, a combinatorial problem must be repeatedly solved with similar, but distinct parameters. Yet, the parameters ww are not directly observed; only contextual data dd that correlates with ww is available. It is tempting to use a neural network to predict ww given dd. However, training such a model requires reconciling the discrete nature of combinatorial optimization with the gradient-based frameworks used to train neural networks. We study the case where the problem in question is an Integer Linear Program (ILP). We propose applying a three-operator splitting technique, also known as Davis-Yin splitting (DYS), to the quadratically regularized continuous relaxation of the ILP. We prove that the resulting scheme is compatible with the recently introduced Jacobian-free backpropagation (JFB). Our experiments on two representative ILPs: the shortest path problem and the knapsack problem, demonstrate that this combination-DYS on the forward pass, JFB on the backward pass-yields a scheme which scales more effectively to high-dimensional problems than existing schemes. All code associated with this paper is available at github.com/mines-opt-ml/fpo-dys.

Keywords

Cite

@article{arxiv.2301.13395,
  title  = {Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splitting},
  author = {Daniel McKenzie and Samy Wu Fung and Howard Heaton},
  journal= {arXiv preprint arXiv:2301.13395},
  year   = {2024}
}
R2 v1 2026-06-28T08:27:37.985Z