On the Trajectory Regularity of ODE-based Diffusion Sampling

Defang Chen, Zhenyu Zhou, Can Wang, Chunhua Shen, Siwei Lyu
5/18/2024
cs.LGcs.CV

No official code found. Best implementation: zju-pi/diff-sampler (364 stars, Apache-2.0, last commit 2025-11-25).

Abstract

Diffusion-based generative models use stochastic differential equations (SDEs) and their equivalent ordinary differential equations (ODEs) to establish a smooth connection between a complex data distribution and a tractable prior distribution. In this paper, we identify several intriguing trajectory properties in the ODE-based sampling process of diffusion models. We characterize an implicit denoising trajectory and discuss its vital role in forming the coupled sampling trajectory with a strong shape regularity, regardless of the generated content. We also describe a dynamic programming-based scheme to make the time schedule in sampling better fit the underlying trajectory structure. This simple strategy requires minimal modification to any given ODE-based numerical solvers and incurs negligible computational cost, while delivering superior performance in image generation, especially in $5\sim 10$ function evaluations.

View on arXivView PDF

Code Implementations(1)

zju-pi/diff-samplerCommunity100%
Apache-2.0

An open-source toolbox for fast sampling of diffusion models. Official implementations of our works published in ICML, NeurIPS, CVPR, J. Stat. Mech.

36419Shell, PythonNov 30, 202311 months agoApache-2.0
benchmarkcvpr2024diffusion-modelsicml-2024neurips-2024+2 more

Similar Papers

Cite this paper

@article{chen2024trajectory,
  title  = {On the Trajectory Regularity of ODE-based Diffusion Sampling},
  author = {Defang Chen and Zhenyu Zhou and Can Wang and Chunhua Shen and Siwei Lyu},
  year   = {2024},
  eprint = {2405.11326},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11326v1},
  journal = {ICML 2024 2024}
}

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

Discussion