The denoising diffusion probabilistic model (DDPM) uses a Markov chain that gradually adds Gaussian noise to a data point :
with a Noise Schedule .
Closed-form marginals. With and , compounding the Gaussian steps gives
So any noise level can be sampled in one step, without simulating the chain:
function ForwardSample(x0, t)
ε ← sample N(0, I)
xt ← sqrt(ᾱ_t) · x0 + sqrt(1 − ᾱ_t) · ε
return xt, εVariance preserving. If , then for all . The signal is replaced by noise without changing the overall scale. For , is essentially standard Gaussian.
Posterior of one step. Given both and , the previous state is Gaussian as well (see DDPM Ancestral Sampling). The continuous-time version of the chain is the Variance-Preserving SDE (see Continuous Limit of the DDPM Chain).
References
- J. Ho, A. Jain, P. Abbeel (2020). Denoising Diffusion Probabilistic Models. NeurIPS 33. arXiv:2006.11239
- J. Sohl-Dickstein, E. Weiss, N. Maheswaranathan, S. Ganguli (2015). Deep Unsupervised Learning using Nonequilibrium Thermodynamics. ICML 2015. arXiv:1503.03585