
ddpm_unet
Diffusion and generative100 ops230.1K params
DDPM's time-conditioned U-Net denoiser, a PixelCNN++-style backbone with sinusoidal timestep embeddings.
Diffusion and generative · 489 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
Denoising diffusion probabilistic models (DDPMs) are a class of latent variable models inspired by considerations from nonequilibrium thermodynamics. A diffusion model is a parameterized Markov chain trained using variational inference to produce samples matching the data after finite time. Transitions of this chain are learned to reverse a diffusion process, which gradually adds noise to the data until signal is destroyed. The best results come from training on a weighted variational bound designed according to a novel connection between diffusion probabilistic models and denoising score matching with Langevin dynamics. The paper's preferred parameterization both resembles Langevin dynamics and simplifies the diffusion model's variational bound to an objective that resembles denoising score matching.
The network in this family is the reverse-process backbone. To represent the reverse process, the authors use a U-Net backbone similar to an unmasked PixelCNN++ with group normalization throughout. Parameters are shared across time, which is specified to the network using the Transformer sinusoidal position embedding. Self-attention is used at the 16 x 16 feature map resolution. The 32 x 32 models use four feature map resolutions, from 32 x 32 to 4 x 4, and the 256 x 256 models use six. All models have two convolutional residual blocks per resolution level with the self-attention blocks placed between the convolutional blocks. The CIFAR10 model has 35.7 million parameters, and the LSUN and CelebA-HQ models have 114 million parameters.
T is set to 1000 for all experiments so that the number of network evaluations during sampling matches previous work. On the unconditional CIFAR10 dataset the model obtains an Inception score of 9.46 and a state-of-the-art FID score of 3.17, and on 256x256 LSUN it obtains sample quality similar to ProgressiveGAN. The models also admit a progressive lossy decompression scheme that can be interpreted as a generalization of autoregressive decoding. The official code ran on Google Cloud TPU v3-8 and requires TensorFlow 1.15. The CIFAR-10 release card notes that the ddpm scheduler yields the highest quality at inference but also takes the longest.
Key idea. DDPM presents high quality image synthesis results using diffusion probabilistic models, reaching a state-of-the-art FID score of 3.17 on unconditional CIFAR10. Its reverse process parameterization establishes a connection between diffusion models and denoising score matching over multiple noise levels with annealed Langevin dynamics for sampling.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{ho2020denoisingdiffusionprobabilisticmodels,
title={Denoising Diffusion Probabilistic Models},
author={Jonathan Ho and Ajay Jain and Pieter Abbeel},
year={2020},
eprint={2006.11239},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2006.11239},
}