All models

ddpm_unet

DDPM's time-conditioned U-Net denoiser, a PixelCNN++-style backbone with sinusoidal timestep embeddings.

Diffusion and generative · 100 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

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.

At a glance

Parameters
230.1K
Operations
100
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2020
Cited by
8,702 (as of 19 October 2026)
Authors
Jonathan Ho, Ajay Jain, Pieter Abbeel
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11768
Graph hash
bc32478b3d65a7e02ca70c9b159528185598f739ee6341d579459310caab31dd
Skeleton hash
71647094b7cf6bd8b1bf2aeb6b45126b398569a5daae615b574172b66a37bf7f
Architecture hash
1853100275252ce138ddeb36cc85a3481b8edcab508bd4a166496fbfab477875
Diagram SHA-256
da0c30708a561583ce41ab59a65a5c0774333e0d022f7c326768512de5243ad2
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

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.

  • DDPM
  • Denoising Diffusion Probabilistic Models
  • diffusion U-Net
  • UNet2DModel
  • ddpm_unet2d
  • DiffusionModelUNet
  • ddpm-cifar10-32
  • denoising diffusion
  • reverse process
  • PixelCNN++ backbone
  • CIFAR10
  • diffusers
  • MONAI

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}