NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Preference-Based Gradient Estimation for ML-Guided Approximate Combinatorial Optimization

Arman Mielke, Uwe Bauknecht, Thilo Strauss, Mathias Niepert

TL;DR

This paper introduces a novel self-supervised learning framework that enhances existing approximation algorithms for combinatorial optimization problems (CO) by using Graph Neural Networks (GNNs) to predict optimal parameters. Their key innovation is a preference-based gradient estimation (PBGE) technique that allows end-to-end training without requiring ground-truth optimal solutions, a significant bottleneck in previous methods. This approach successfully improves the performance of standard CO solvers on challenging problems like TSP and minimum k-cut.

What Problem Does This Paper Address?

Combinatorial optimization (CO) problems are ubiquitous in fields like logistics and manufacturing, but finding exact solutions is often computationally intractable within practical time limits. While approximation algorithms offer a way to find good-enough solutions, they can be suboptimal. Existing machine learning approaches often struggle with the discrete nature of CO solutions and the lack of readily available ground-truth optimal data for training. This paper tackles the challenge of training ML models to guide these approximation algorithms effectively, aiming to achieve near-optimal solutions while maintaining computational efficiency and avoiding the need for expensive exact solutions during training.

Methods

The core of the proposed method is to use a Graph Neural Network (GNN) to predict parameters that influence the behavior of an existing, off-the-shelf approximation algorithm for a CO problem. Specifically, the GNN outputs "edge scores" which are then used to modify the edge weights of the input graph. The approximation algorithm then operates on this modified graph.

The main novelty lies in the training methodology. Since the approximation algorithms are typically non-differentiable "black boxes," the authors introduce Preference-Based Gradient Estimation (PBGE). This technique works by sampling multiple solutions from the approximation algorithm, comparing their objective function values to determine the "better" and "worse" solutions, and then using this preference information to estimate gradients. This allows for end-to-end, self-supervised training without needing to know the true optimal solution. The gradient is scaled based on the difference in quality between the sampled solutions, further refining the learning process.

Datasets

The paper evaluates their approach on two well-known combinatorial optimization problems:

  • Minimum k-cut: They use a modified graph generator called NOIgen+ and also generate unweighted graphs.
  • Traveling Salesman Problem (TSP): They use the standard Euclidean TSP generation method.

Ground truth labels for supervised baselines were generated using traditional algorithms (Karger-Stein for min-cut, Concorde for TSP).

Key Insights and Ideas

  • Augmenting, not replacing: The paper demonstrates that ML can effectively enhance existing, efficient heuristics rather than needing to replace them entirely. This leverages the strengths of both learned models and established algorithms.
  • Self-supervised learning for CO: PBGE is a significant contribution, enabling effective training without the need for expensive ground-truth optimal solutions, which is a major hurdle in applying ML to many CO problems.
  • Black-box optimization: The ability to train by treating the approximation algorithm as a black box is crucial, as it makes the method applicable to a wide range of existing CO solvers.
  • Parameter prediction: GNNs are shown to be effective at learning to predict parameters that guide heuristics towards better solutions, bridging the gap between learned models and traditional algorithms.

Key Results

  • Minimum k-cut: The proposed PBGE method improved the optimality gap by an order of magnitude compared to the unmodified Karger-Stein algorithm. It also achieved performance close to supervised methods, despite being trained in a self-supervised manner.
  • Traveling Salesman Problem (TSP): PBGE achieved Pareto-optimality on TSP-100 when using 100 random insertion runs for decoding, outperforming other self-supervised methods.
  • Efficiency: The GNN-augmented algorithms generally require fewer runs of the underlying approximation algorithm to find good solutions, making them more efficient in practice.

Limitations and Future Work

  • Computational Cost: Incorporating the approximation algorithm into the training loop makes the training process more computationally intensive.
  • Algorithm Requirement: The approach requires an existing approximation algorithm to be available for the target CO problem.
  • Problem Scope: The current work focuses on CO problems where solutions can be represented as edge subsets. Extending to other types of CO problems is a potential future direction.
  • Additional Constraints: The authors plan to explore incorporating additional constraints into their framework.

Summary updated

BibTeX
@article{mielke2026preference,
  author = {Arman Mielke and Uwe Bauknecht and Thilo Strauss and Mathias Niepert},
  title = {{Preference-Based Gradient Estimation for ML-Guided Approximate Combinatorial Optimization}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure