Inference-time Scaling of Diffusion Models through Classical Search

Xiangcheng Zhang, Haowei Lin, Haotian Ye, James Zou, Jianzhu Ma +2 more
5/29/2025
cs.LGstat.ML

No official code found. Best implementation: XiangchengZhang/Diffusion-inference-scaling (39 stars, last commit 2025-10-08).

Abstract

Classical search algorithms have long underpinned modern artificial intelligence. In this work, we tackle the challenge of inference-time control in diffusion models -- adapting generated outputs to meet diverse test-time objectives -- using principles from classical search. We propose a general framework that orchestrates local and global search to efficiently navigate the generative space. It employs a theoretically grounded local search via annealed Langevin MCMC and performs compute-efficient global exploration using breadth-first and depth-first tree search. We evaluate our approach on a range of challenging domains, including planning, offline reinforcement learning, and image generation. Across all tasks, we observe significant gains in both performance and efficiency. These results show that classical search provides a principled and practical foundation for inference-time scaling in diffusion models. Project page at https://diffusion-inference-scaling.github.io/.

View on arXivView PDF

Code Implementations(1)

Official Implementation for Inference-time Scaling of Diffusion Models through Classical Search

393Shell, PythonMay 26, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025inferencetime,
  title  = {Inference-time Scaling of Diffusion Models through Classical Search},
  author = {Xiangcheng Zhang and Haowei Lin and Haotian Ye and James Zou and Jianzhu Ma and Yitao Liang and Yilun Du},
  year   = {2025},
  eprint = {2505.23614},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23614v2}
}

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/2505.23614.svg)](https://codeofpaper.com/paper/2505.23614)

Discussion