Diffusion Models Deep Dive — DDPM and Beyond

Generative ModelsDiffusionFree Lesson

Advertisement

Diffusion Models Deep Dive

Diffusion models generate data by learning to reverse a gradual noising process. They have achieved state-of-the-art image generation quality, surpassing GANs in both quality and diversity.


Forward Process (Diffusion)

DfForward Diffusion Process

The forward process gradually adds Gaussian noise to data x0x_0 over TT timesteps:

q(xtxt1)=N(xt;1βtxt1,βtI)q(x_t | x_{t-1}) = \mathcal{N}(x_t; \sqrt{1 - \beta_t} x_{t-1}, \beta_t I)

After TT steps, xTx_T is approximately isotropic Gaussian noise. The process is fixed (no learned parameters) and defined by noise schedule β1,,βT\beta_1, \ldots, \beta_T.

Forward Process Marginal

q(xtx0)=N(xt;αˉtx0,(1αˉt)I)q(x_t | x_0) = \mathcal{N}(x_t; \sqrt{\bar{\alpha}_t} x_0, (1 - \bar{\alpha}_t) I)

Here,

  • αt\alpha_t=1 - \beta_t
  • αˉt\bar{\alpha}_t=\prod_{s=1}^{t} \alpha_s (cumulative product)
  • xtx_t=Noisy version of x_0 at timestep t
  • βt\beta_t=Noise level at step t

Advertisement

Need Expert Deep Learning Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement