Glossary termGenerative model

Diffusion Model

Also known as: Denoising diffusion model, Score-based generative model

Generative model that learns to reverse a gradual noising process, turning random noise step by step into images, audio or other data.

A diffusion model generates data by learning to remove noise. During training, real examples, such as images, are progressively corrupted by adding small amounts of random noise over many steps until nothing but noise remains. A neural network learns to predict and undo that noise at each step. To generate something, the model starts from pure random noise and applies the learned denoising process repeatedly, gradually forming a coherent sample. Text prompts or other inputs can guide the process so that the result matches a description.

The approach was introduced in 2015 by Jascha Sohl-Dickstein and colleagues, drawing on ideas from nonequilibrium thermodynamics, and related score-based methods were developed by Yang Song and Stefano Ermon. A 2020 paper by Jonathan Ho, Ajay Jain and Pieter Abbeel on denoising diffusion probabilistic models showed image quality competitive with GANs. Latent diffusion, which runs the process in a compressed latent space for efficiency, underlies Stable Diffusion, released openly in 2022, and similar ideas power many commercial image and video generators.

Diffusion models made high-quality image generation widely accessible and are used for illustration, design, photo editing, video, audio and scientific tasks such as generating candidate protein structures. Generation is relatively slow because it requires many denoising steps, which has driven research on faster samplers and distilled models. The same technology raises concerns about deepfakes, imitation of living artists' styles and the use of copyrighted images for training without consent, issues at the center of lawsuits and policy debates since 2023.

Key points

  • Diffusion models learn to reverse a step-by-step noising process applied to training data.
  • Generation starts from random noise and repeatedly denoises it, often guided by a text prompt.
  • Latent diffusion, used by Stable Diffusion, runs the process in a compressed representation for efficiency.
  • Training on copyrighted images and imitation of artists' styles are major points of controversy.

Related entries

Glossary term

Generative AI

AIIdeas and Culture

AI systems that create text, images, audio, video, code or other content by learning patterns from large datasets and producing outputs on request.

Technology

Open-weight latent diffusion model, first released in 2022, that generates and edits images from text prompts and runs on consumer graphics cards.

Glossary term

Generative model in which two neural networks compete, one creating synthetic samples and the other judging whether they are real or fake.

Glossary term

An abstract, usually lower-dimensional space in which a model represents data so that similar items sit close together and patterns become explicit.

Organization

British generative AI company best known for funding and releasing Stable Diffusion, an openly downloadable text-to-image model.

Glossary term

Deepfake

AIOSINT

Synthetic image, video or audio created or altered with AI to realistically depict people saying or doing things they never said or did.

Glossary term

Artificially generated data that mimics the statistical properties of real data, used to train and test models when real data is scarce or sensitive.

Featured in guides

Referenced by

Other entries that discuss or point to Diffusion Model.