Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models

Ying-Qing Guo, Yu-Kang Yang, Hui Yuan, Mengdi Wang
2/1/2025
32 citations

No official code found. Best implementation: yukang123/UniTreeG (5 stars, Python, last commit 2025-12-03).

Abstract

Training-free guidance enables controlled generation in diffusion and flow models, but most methods rely on gradients and assume differentiable objectives. This work focuses on training-free guidance addressing challenges from non-differentiable objectives and discrete data distributions.

Show full abstract

We propose TreeG: Tree Search-Based Path Steering Guidance, applicable to both continuous and discrete settings in diffusion and flow models. TreeG offers a unified framework for training-free guidance by proposing, evaluating, and selecting candidates at each step, enhanced with tree search over active paths and parallel exploration. We comprehensively investigate the design space of TreeG over the candidate proposal module and the evaluation function, instantiating TreeG into three novel algorithms. Our experiments show that TreeG consistently outperforms top guidance baselines in symbolic music generation, small molecule design, and enhancer DNA design with improvements of 29.01%, 16.6%, and 18.43%. Additionally, we identify an inference-time scaling law showing TreeG's scalability in inference-time computation.

View on arXivView PDF

Code Implementations(1)

yukang123/UniTreeGCommunity25%

[NeurIPS 2025] The official code of "Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models".

50Python, C++May 25, 202512 months ago

Similar Papers

Cite this paper

@article{guo2025trainingfree,
  title  = {Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models},
  author = {Ying-Qing Guo and Yu-Kang Yang and Hui Yuan and Mengdi Wang},
  year   = {2025},
  eprint = {2502.11420},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2502.11420},
  url    = {https://doi.org/10.48550/arXiv.2502.11420},
  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/2502.11420.svg)](https://codeofpaper.com/paper/2502.11420)

Discussion