Exploring the Optimal Choice for Generative Processes in Diffusion Models: Ordinary vs Stochastic Differential Equations

06/03/2023
by   Yu Cao, et al.
0

The diffusion model has shown remarkable success in computer vision, but it remains unclear whether ODE-based probability flow or SDE-based diffusion models are superior and under what circumstances. Comparing the two is challenging due to dependencies on data distribution, score training, and other numerical factors. In this paper, we examine the problem mathematically by examining two limiting scenarios: the ODE case and the large diffusion case. We first introduce a pulse-shape error to perturb the score function and analyze error accumulation, with a generalization to arbitrary error. Our findings indicate that when the perturbation occurs at the end of the generative process, the ODE model outperforms the SDE model (with a large diffusion coefficient). However, when the perturbation occurs earlier, the SDE model outperforms the ODE model, and we demonstrate that the error of sample generation due to pulse-shape error can be exponentially suppressed as the diffusion term's magnitude increases to infinity. Numerical validation of this phenomenon is provided using toy models such as Gaussian, Gaussian mixture models, and Swiss roll. Finally, we experiment with MNIST and observe that varying the diffusion coefficient can improve sample quality even when the score function is not well trained.

READ FULL TEXT

page 11

page 39

page 40

page 41

page 42

research
05/26/2023

Error Bounds for Flow Matching Methods

Score-based generative models are a popular class of generative modellin...
research
04/26/2023

Score-based Generative Modeling Through Backward Stochastic Differential Equations: Inversion and Generation

The proposed BSDE-based diffusion model represents a novel approach to d...
research
10/14/2021

Diffusion Normalizing Flow

We present a novel generative modeling method called diffusion normalizi...
research
05/18/2023

Dirichlet Diffusion Score Model for Biological Sequence Generation

Designing biological sequences is an important challenge that requires s...
research
05/31/2023

A Geometric Perspective on Diffusion Models

Recent years have witnessed significant progress in developing efficient...
research
08/14/2023

U-Turn Diffusion

We present a comprehensive examination of score-based diffusion models o...
research
02/14/2023

Score Approximation, Estimation and Distribution Recovery of Diffusion Models on Low-Dimensional Data

Diffusion models achieve state-of-the-art performance in various generat...

Please sign up or login with your details

Forgot password? Click here to reset