Describe the forward and reverse processes in diffusion models.
hardAnswer
- Forward (q): gradually add Gaussian noise to the data over T steps until it becomes ~ N(0, I).
- Fixed, no learning.
- Closed-form: .
- Reverse : learn to denoise step-by-step, reversing q.
- Train by minimizing ,,eps — the network predicts the noise added at each step.
- At sampling, start from Gaussian noise and denoise for T (or fewer, with DDIM) steps.
Check yourself — multiple choice
- Diffusion doesn't use noise
- Forward: add noise until Gaussian; reverse: learn to denoise step-by-step; train ε_θ to predict added noise
- Diffusion trains an encoder-decoder
- Same as GAN
Diffusion: add noise → train to reverse via noise prediction (DDPM).
#diffusion#generative
Practise Deep Learning
214 interview questions in this topic.
Related questions
- How does DDIM speed up diffusion sampling?
- What is classifier-free guidance (CFG) in diffusion?
- How does Latent Diffusion (Stable Diffusion) reduce compute?
- What is InstanceNorm and where does it shine?
- What is a transposed convolution ('deconv') and its checkerboard artifact issue?
- What is the standard reconstruction loss for autoencoders?