# Denoising diffusion probabilistic models

Date: 19 June 2020 · Era: V · Transformers · Category: theory · Significance: 4/5
People: Jonathan Ho, Ajay Jain, Pieter Abbeel
Organisations: University of California Berkeley

Canonical: https://shapeofintelligence.com/timeline/2020-ddpm/ · Dataset and text CC BY 4.0

> Ho, Jain and Abbeel simplify the 2015 diffusion recipe into predicting the noise, and match adversarial networks on image quality; the generative field changes course.

## What had to happen

5 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1982 · The Hopfield network](https://shapeofintelligence.com/md/timeline/1982-hopfield-network/)
- [1985 · The Boltzmann machine](https://shapeofintelligence.com/md/timeline/1985-boltzmann-machine/)
- [2015 · Diffusion models](https://shapeofintelligence.com/md/timeline/2015-diffusion-thermodynamics/) *direct*

Sohl-Dickstein's diffusion models of 2015 had been correct and impractical. Jonathan Ho's paper, posted on 19 June 2020, made two changes. It trained the network on a much simpler target, the noise that had been added at each step rather than the full reverse distribution, which turned out to be equivalent to a weighted form of the original objective and far easier to learn. And it used a large U-Net, the image-to-image architecture from medical segmentation, with attention inside it. On the CIFAR-10 benchmark the results matched the best adversarial networks, and on faces they were, to most eyes, better.

Diffusion had two properties GANs lacked. Training was stable, a single loss going down, with none of the collapse and oscillation of the adversarial game. And the model covered the whole distribution rather than the parts it found easiest to fake. Within a year, Prafulla Dhariwal and Alex Nichol had shown diffusion beating GANs on ImageNet, and OpenAI's GLIDE and DALL-E 2, Google's Imagen and Stability's Stable Diffusion were all built on it.

The film of noise resolving into a picture, which is how everyone now imagines a machine making an image, is this algorithm. The instrument on this page shows the forward process on a real image and the reverse as an illustration.

## What it led to

5 events downstream, through 2024.

Built on it directly:

- [2022 · DALL·E 2](https://shapeofintelligence.com/md/timeline/2022-dalle-2/)
- [2022 · Midjourney opens its beta](https://shapeofintelligence.com/md/timeline/2022-midjourney/)
- [2022 · Stable Diffusion is released](https://shapeofintelligence.com/md/timeline/2022-stable-diffusion/)
- [2024 · AlphaFold 3](https://shapeofintelligence.com/md/timeline/2024-alphafold-3/)

And, through them, by era:

- VI · Everyone: 1 events

## Sources

- [Denoising Diffusion Probabilistic Models (arXiv:2006.11239)](https://arxiv.org/abs/2006.11239) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2020-ddpm/

Before: [2020 · GPT-3](https://shapeofintelligence.com/md/timeline/2020-gpt-3/) · After: [2020 · Learning to summarise from human feedback](https://shapeofintelligence.com/md/timeline/2020-rlhf-summarisation/)
