Skip to content
Book a conversation

Diffusion model

Understand diffusion models, their relationship to generation and denoising, and how to assess the images they produce.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: diffusion probabilistic model.

A diffusion model belongs to a family of generative models that connects a noise-adding process with a learned generation process in the opposite direction. In their 2020 paper Denoising Diffusion Probabilistic Models, Jonathan Ho, Ajay Jain, and Pieter Abbeel present this formulation for image synthesis. Ho, Jain, and Abbeel, Section 2.

Forward and reverse processes

The forward process gradually adds Gaussian noise to a training example according to a variance schedule. In plain terms, random perturbations are introduced through defined stages. In the formulation studied, this provides versions with different noise levels around which training is organized. Ho, Jain, and Abbeel, Section 2, Equation 2.

The reverse process uses learned transitions to generate data in the opposite direction. Generation starts with a sample of Gaussian noise and follows those transitions to produce the output. In the parameterization developed in Section 3.2, the model is trained to estimate the noise present at a particular stage; that estimate contributes to computing the next generation step. Ho, Jain, and Abbeel, Section 3.2 and sampling algorithm.

The aim is to produce samples from learned patterns. This mechanism does not guarantee exact restoration of an original image from the training set. Describing generation as progressive denoising should not create that expectation.

Distinguishing a technique from a task

AI image generation is a task; diffusion identifies a technical family. Not every image-producing service uses this formulation. The paper also discusses relationships with the autoregressive model, without making the two labels equivalent. Its experiments and implementation choices do not describe every visual generator. Ho, Jain, and Abbeel, research paper.

In a hypothetical example, a team could generate an equipment illustration for internal material. Understanding the mechanism explains how the image is produced, but the team still needs to check objects, proportions, and correspondence to the intended content. The resulting image is a generated output; its appearance does not establish fidelity to the actual equipment.

Sources

  1. Denoising Diffusion Probabilistic Models, Section 2: Background Jonathan Ho, Ajay Jain and Pieter Abbeel / arXiv

    Version 2, Section 2, Equations 1 and 2: learned reverse transitions and a forward process that gradually adds Gaussian noise.

  2. Denoising Diffusion Probabilistic Models, Section 3.2: Reverse process Jonathan Ho, Ajay Jain and Pieter Abbeel / arXiv

    The studied parameterization estimates noise and uses that estimate in successive generation steps; sampling starts with Gaussian noise.

  3. Denoising Diffusion Probabilistic Models Jonathan Ho, Ajay Jain and Pieter Abbeel / arXiv

    A 2020 image synthesis study with particular experiments and implementation choices; it does not describe every visual generator.

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources