Skip to main content
QUICK REVIEW

[Paper Review] Acquiring Maps of Interrelated Conjectures on Sharp Bounds

Beldiceanu, Nicolas, Cheukam-Ngouonou, Jovial|arXiv (Cornell University)|Jan 1, 2022
Multimodal Machine Learning ApplicationsComputer Science9 citations
TL;DR

This paper introduces CombOptNet, a differentiable neural network layer that integrates integer linear programming (ILP) solvers by learning both cost coefficients and constraints end-to-end. By enabling backpropagation through black-box ILP solvers via informative gradient approximations, CombOptNet allows models to jointly learn feature extraction and combinatorial problem specification, achieving state-of-the-art performance on keypoint matching without prior knowledge of the underlying NP-hard structure.

ABSTRACT

To automate the discovery of conjectures on combinatorial objects, we introduce the concept of a map of sharp bounds on characteristics of combinatorial objects, that provides a set of interrelated sharp bounds for these combinatorial objects. We then describe a Bound Seeker, a CP-based system, that gradually acquires maps of conjectures. The system was tested for searching conjectures on bounds on characteristics of digraphs: it constructs sixteen maps involving 431 conjectures on sharp lower and upper-bounds on eight digraph characteristics.

Motivation & Objective

  • To bridge symbolic reasoning and deep learning by enabling end-to-end training of neural networks that jointly learn features and combinatorial problem specifications.
  • To address the challenge of non-differentiability in discrete combinatorial optimization by providing a gradient approximation for both cost terms and constraints in integer programs.
  • To enable the use of black-box ILP solvers as differentiable layers in deep architectures without compromising solver performance.
  • To demonstrate universal combinatorial expressivity by learning diverse NP-hard problems, including KNAPSACK and keypoint matching, from raw data and natural language.
  • To show that a single, task-agnostic ILP layer can match or approach performance of specialized solvers in real-world vision tasks.

Proposed method

  • Proposes a backward pass for integer linear programs (ILPs) that computes gradients with respect to both cost vectors (c) and constraint coefficients (A, b), enabling end-to-end backpropagation.
  • Uses a continuous relaxation of the discrete ILP solution via the KKT conditions and applies implicit differentiation to compute gradients through the solver’s output.
  • Employs a differentiable approximation of the ILP solution mapping (A, b, c) → y(A, b, c) using the Karush–Kuhn–Tucker (KKT) conditions and active-set methods.
  • Integrates the ILP layer as a module in a deep neural network, where features are extracted from raw inputs (e.g., images or text) and used to parameterize the ILP’s cost and constraint terms.
  • Leverages black-box ILP solvers (e.g., Gurobi) during the forward pass to ensure optimal solution quality, while computing gradients via implicit differentiation during backpropagation.
  • Applies the method to synthetic inverse optimization tasks and real-world keypoint matching, learning constraints from natural language and image data.

Experimental results

Research questions

  • RQ1Can we train a neural network to jointly learn the cost function and combinatorial constraints of an ILP in an end-to-end differentiable manner?
  • RQ2Does learning constraints via gradient backpropagation through a black-box ILP solver enable better generalization and performance on combinatorial reasoning tasks?
  • RQ3Can a single, generic ILP layer trained with CombOptNet achieve competitive performance on real-world vision tasks without architectural priors?
  • RQ4How does the performance of CombOptNet compare to specialized solvers when only unary costs are available?
  • RQ5Can the method recover known combinatorial structures (e.g., KNAPSACK) from natural language descriptions?

Key findings

  • On the keypoint matching benchmark, CombOptNet achieved 83.1% accuracy on 4×4 matching using only unary costs, closely matching the 84.3% accuracy of BB-GM, a state-of-the-art method with access to both unary and quadratic costs.
  • When restricted to unary costs only, CombOptNet’s performance (80.7% on 5×5) was within 1.3 percentage points of BB-GM’s full-architecture performance (82.9% on 5×5), demonstrating strong generalization without prior structural knowledge.
  • In the KNAPSACK inverse optimization task, CombOptNet successfully recovered constraints from plain text descriptions and achieved high accuracy on synthetic instances, showing robustness to natural language input.
  • The method achieved state-of-the-art performance on a competitive computer vision keypoint matching benchmark despite being a task-agnostic ILP layer, outperforming MLP and CVXPY baselines and approaching LPmax, the theoretical upper bound of LP relaxation.
  • The gradient approximation via implicit differentiation enabled effective training without modifying or softening the ILP solver, preserving its optimal solution quality.
  • The ablation study confirmed that learning both cost terms and constraints was essential, as models that fixed constraints performed significantly worse.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.