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

A Diffusion Model Framework for Unsupervised Neural Combinatorial Optimization

Sebastian Sanokowski, Sepp Hochreiter, Sebastian Lehner

Abstract

DiffUCO introduces a high-expressivity diffusion framework for unsupervised combinatorial optimization (UCO). By utilizing a novel Joint Variational Upper Bound loss, the method bypasses the requirement for exact likelihood evaluations, enabling the use of latent variable models for data-free optimization. Experimental results demonstrate that DiffUCO achieves new state-of-the-art performance on several NP-hard benchmarks, including Maximum Independent Set and MaxCut, while maintaining high computational efficiency.

Introduction

Combinatorial Optimization (CO)—finding the optimal solution from a finite but massive set of possibilities—is a cornerstone of computer science. Recently, "Neural CO" has emerged, using deep learning to solve these problems faster than classical solvers. However, most current unsupervised methods (UCO) are limited to simple "mean-field" models or autoregressive models. These models are used because the standard training objective—minimizing the reverse Kullback-Leibler (KL) divergence—requires calculating exact sample likelihoods.

Highly expressive latent variable models, like diffusion models, are far superior at capturing complex dependencies between variables, but they do not provide exact likelihoods. This has historically made them unsuitable for data-free, unsupervised optimization. DiffUCO addresses this limitation, unlocking the power of diffusion for the CO field.

Methods

The authors bridge the gap between diffusion models and UCO with three key innovations:

  1. Joint Variational Upper Bound: They derive a new loss function that upper-bounds the intractable reverse KL divergence. This objective allows the model to be trained using the joint distribution of the latent variables and the target, removing the requirement for exact likelihoods.
  2. Annealed Noise Distribution: Diffusion models work by adding noise to data and learning to reverse it. The authors propose a specific noise schedule that works in tandem with "variational annealing," starting at a high "temperature" to explore the solution space and gradually cooling down to find the global minimum.
  3. Tokenized Conditional Expectation (CE-ST): To turn the model's probabilistic output into a hard discrete solution, they use Conditional Expectation. They improve this by grouping variables into "tokens" (subgraphs), allowing for parallel processing and a significant speedup in inference time.
The DiffUCO framework: Forward noise process and reverse generative process for graph optimization.

Crucially, the authors prove that previous state-of-the-art unsupervised methods, such as Erdős Goes Neural, are actually simplified, one-step versions of this diffusion framework. Unlike autoregressive models that make permanent decisions, diffusion models iteratively refine the entire solution, allowing the model to "correct" sub-optimal choices made early in the generation process.

Experimental Results

The model was evaluated on several classic NP-hard graph problems, including Maximum Independent Set (MIS), Maximum Clique (MaxCl), Minimum Dominating Set (MDS), and MaxCut. Benchmarks included "RB-Model" graphs designed for difficulty and Barabási-Albert (BA) graphs that mimic real-world network structures.

Performance comparison of DiffUCO against various baselines on MIS and MDS benchmarks.

DiffUCO achieved the best results among all neural unsupervised methods across MIS, MaxCl, MDS, and MaxCut. On large MaxCut instances (BA-large), DiffUCO outperformed Gurobi (the industry-standard commercial solver) when Gurobi was given a 300-second time limit per graph. Furthermore, thanks to tokenization (CE-ST), DiffUCO is remarkably fast; on the MDS problem, it was over 32 times faster than the previous leading autoregressive model (LTFT) while producing better solutions.

Conclusion and Future Work

DiffUCO represents a significant step forward in neural optimization by successfully applying high-expressivity diffusion models to unsupervised tasks. While training on very large, highly connected graphs remains memory-intensive for current Graph Neural Networks (GNNs), the framework's ability to refine solutions iteratively provides a robust alternative to traditional solvers. Future research may explore Latent Diffusion Models or U-Net-inspired GNN architectures to scale the framework to "giant" graphs with millions of nodes.

Summary updated

BibTeX
@inproceedings{sanokowski2024diffusion,
  author = {Sebastian Sanokowski and Sepp Hochreiter and Sebastian Lehner},
  title = {{A Diffusion Model Framework for Unsupervised Neural Combinatorial Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=AFfXlKFHXJ},
}
Figure