A Solver-free Framework for Scalable Learning in Neural ILP Architectures
Yatin Nandwani, Rishabh Ranjan, Mausam, Parag Singla
Abstract
There is a recent focus on designing architectures that have an Integer Linear Programming (ILP) layer following a neural model (referred to as Neural ILP in this paper). Neural ILP architectures are suitable for pure reasoning tasks that require data-driven constraint learning or for tasks requiring both perception (neural) and reasoning (ILP). A recent SOTA approach for end-to-end training of Neural ILP explicitly defines gradients through the ILP black box [Paulus et al., 2021] -this trains extremely slowly, owing to a call to the underlying ILP solver for every training data point in a minibatch. In response, we present an alternative training strategy that is solver-free, i.e., does not call the ILP solver at all at training time. Neural ILP has a set of trainable hyperplanes (for cost and constraints in ILP), together representing a polyhedron. Our key idea is that the training loss should impose that the final polyhedron separates the positives (all constraints satisfied) from the negatives (at least one violated constraint or a suboptimal cost value), via a soft-margin formulation. While positive example(s) are provided as part of the training data, we devise novel techniques for generating negative samples. Our solution is flexible enough to handle equality as well as inequality constraints. Experiments on several problems, both perceptual as well as symbolic, which require learning the constraints of an ILP, show that our approach has superior performance and scales much better compared to purely neural baselines and other state-of-the-art models that require solver-based training. In particular, we are able to obtain excellent performance on 9 × 9 symbolic and visual sudoku, to which the other Neural ILP model is not able to scale. 2
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ed1dfb2d-90fe-46ca-8706-e0cad0137fe2Cited by top-tier papers4
- GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
- Two-Stage Predict+Optimize for MILPs with Unknown Parameters in ConstraintsXinyi Hu, Jasper C. H. Lee, Jimmy Ho-Man LeeNeurIPS 2023 · 15 citations
- Multi-Stage Predict+Optimize for (Mixed Integer) Linear ProgramsXinyi Hu, Jasper C. H. Lee, Jimmy H. M. Lee, Peter J. StuckeyNeurIPS 2024 · 9 citations
- Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the ConstraintsJayanta Mandi, Marianne Defresne, Senne Berden, Tias GunsNeurIPS 2025 · 9 citations
Builds on14
- Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
- Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations
- MIPaaL: Mixed Integer Program as a LayerAaron M. Ferber, Bryan Wilder, Bistra Dilkina, Milind TambeAAAI 2020 · 169 citations
- Interior Point Solving for LP-based prediction+optimisationJayanta Mandi, Tias GunsNeurIPS 2020 · 138 citations
- Implicit MLE: Backpropagating Through Discrete Exponential Family DistributionsMathias Niepert, Pasquale Minervini, Luca FranceschiNeurIPS 2021 · 121 citations
Related papers
- CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming ConstraintsAnselm Paulus, Michal Rolínek, Vít Musil, Brandon Amos et al.ICML 2021 · 73 citations
- Differentiable Integer Linear ProgrammingZijie Geng, Jie Wang, Xijun Li, Fangzhou Zhu et al.ICLR 2025
- SymILO: A Symmetry-Aware Learning Framework for Integer Linear OptimizationQian Chen, Tianjian Zhang, Linxin Yang, Qingyu Han et al.NeurIPS 2024 · 5 citations
- Neuro-symbolic Learning Yielding Logical ConstraintsZenan Li, Yunpeng Huang, Zhaoyu Li, Yuan Yao et al.NeurIPS 2023 · 19 citations
- DOGE-Train: Discrete Optimization on GPU with End-to-End TrainingAhmed Abbas, Paul SwobodaAAAI 2024 · 6 citations
