DIFUSCO
A graph-based diffusion model that generates solutions to combinatorial optimization problems such as TSP.
Diffusion and generative · 449 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 5.3M
- Operations
- 449
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2023
- Cited by
- 74 (as of 27 October 2026)
- Authors
- Zhiqing Sun, Yiming Yang
- Source
- GitHub: Edward-Sun/DIFUSCO
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15652
- Graph hash
- 8f0723683d416936cc0f7a911b2c68725296bae6f46b07777bc663e580c40380
- Skeleton hash
- eb8a0390de1408153ef9eeefddf8e50e1848d3cd05cc75b7b9c6f7dc156eba95
- Architecture hash
- 673102508185a06c9c6043ceee96ddfa27b17b46d6a86ca6456c478eb5dd36ec
- Diagram SHA-256
- 3e6b01cdd47845b791fd0d55ace6b2a19ce1b6460625d844bf87453e9cfca316
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DIFUSCO is a graph-based diffusion framework for combinatorial optimization. It casts NP-complete problems as optimization over vectors of zeros and ones, and it uses graph-based denoising diffusion models to generate solutions.
The paper investigates two types of diffusion models, one with Gaussian noise and one with Bernoulli noise, and devises an inference schedule to improve solution quality. It evaluates the method on two problems, the Traveling Salesman Problem (TSP) and Maximal Independent Set (MIS). The paper reports that DIFUSCO narrows the performance gap between ground-truth and neural solvers from 1.76% to 0.46% on TSP-500 and from 2.46% to 1.17% on TSP-1000. For MIS, the paper reports results on the SATLIB benchmark. In the released code, running the TSP experiments requires an additional cython package for merging the diffusion heatmap results.
Key idea. DIFUSCO casts NP-complete problems as discrete {0, 1}-vector optimization and generates solutions with graph-based denoising diffusion models.
- DIFUSCO
- graph-based diffusion solver
- combinatorial optimization
- neural solver
- traveling salesman problem
- TSP
- maximal independent set
- MIS
- NP-complete
- diffusion model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{sun2023difuscographbaseddiffusionsolvers,
title={DIFUSCO: Graph-based Diffusion Solvers for Combinatorial Optimization},
author={Zhiqing Sun and Yiming Yang},
year={2023},
eprint={2302.08224},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2302.08224},
}