CVLGMLMay 31, 2023

A Geometric Perspective on Diffusion Models

arXiv:2305.19947v323 citationsHas Code
Originality Incremental advance
AI Analysis

This provides theoretical insights into diffusion model behavior, aiding in understanding and improving sampling efficiency for generative modeling tasks.

The paper analyzes the ODE-based sampling dynamics of a variance-exploding SDE in diffusion models, revealing quasi-linear and implicit denoising trajectories that connect data and noise distributions, with the denoising trajectory influencing curvature and enabling second-order samplers.

Recent years have witnessed significant progress in developing effective training and fast sampling techniques for diffusion models. A remarkable advancement is the use of stochastic differential equations (SDEs) and their marginal-preserving ordinary differential equations (ODEs) to describe data perturbation and generative modeling in a unified framework. In this paper, we carefully inspect the ODE-based sampling of a popular variance-exploding SDE and reveal several intriguing structures of its sampling dynamics. We discover that the data distribution and the noise distribution are smoothly connected with a quasi-linear sampling trajectory and another implicit denoising trajectory that even converges faster. Meanwhile, the denoising trajectory governs the curvature of the corresponding sampling trajectory and its finite differences yield various second-order samplers used in practice. Furthermore, we establish a theoretical relationship between the optimal ODE-based sampling and the classic mean-shift (mode-seeking) algorithm, with which we can characterize the asymptotic behavior of diffusion models and identify the empirical score deviation. Code is available at \url{https://github.com/zju-pi/diff-sampler}.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes