Generation as Search Operator for Test-Time Scaling of Diffusion-based Combinatorial Optimization

Yang Li, Lvda Chen, Haonan Wang, Run-Zhong Wang, Junchi Yan
1/1/2025
diffusion-flow

No official code found. Best implementation: Thinklab-SJTU/GenSCO (14 stars).

Abstract

While diffusion models have shown promise for combinatorial optimization (CO), their inference-time scaling cost-efficiency remains relatively underexplored. Existing methods improve solution quality by increasing denoising steps, but the performance often becomes saturated quickly.

Show full abstract

This paper proposes GenSCO to systematically scale diffusion solvers by an orthogonal dimension of inference-time computation beyond denoising step expansion, i.e., search-driven generation. Gen-SCO takes generation as a search operator rather than a complete solving process, where each operator cycle combines solution disruption (via local search operators) and diffusion sampling, enabling iterative exploration of the learned solution space. Rather than over-refining current solutions, this paradigm encourages the model to leave local optima and explore a broader area of the solution space, ensuring a more consistent scaling effect. The search loop is supported by a search-friendly solution-enhancement training procedure that incorporates a rectified flow model learning to establish diffusion trajectories between suboptimal solutions and the optimal ones. The flow model is empowered by a lightweight transformer architecture to learn neural ODEs that linearize solution trajectories, accelerating convergence of the scaling effect with efficiency. The resulting enhanced scaling efficiency and practical scalability lead to synergistic performance improvements. Extensive experiments show that GenSCO delivers performance improvements by orders of magnitude over previous state-of-the-art neural methods. Notably, GenSCO even achieves significant speedups compared to the state-of-the-art classic mathematical solver LKH3, delivering a 141 × speedup to reach 0.000% optimality gap on TSP-100, and approximately a 10 × speedup to reach 0.02% on TSP-500.

DOISemantic Scholar

Code Implementations(1)

[NeurIPS 2025] Generation as Search Operator for Test-Time Scaling of Diffusion-Based Combinatorial Optimization

141

Similar Papers

Cite this paper

@article{li2025generation,
  title  = {Generation as Search Operator for Test-Time Scaling of Diffusion-based Combinatorial Optimization},
  author = {Yang Li and Lvda Chen and Haonan Wang and Run-Zhong Wang and Junchi Yan},
  year   = {2025},
  doi    = {10.52202/085713-4237},
  url    = {https://doi.org/10.52202/085713-4237},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/814519755f573db81e9ee2674f146b6c5164cdfa.svg)](https://codeofpaper.com/paper/814519755f573db81e9ee2674f146b6c5164cdfa)

Discussion