Learn · student

Diffusion for students

Forward noising vs learned reverse denoising.

Reviewed:

Short answer

Diffusion models generate data by learning to reverse a gradual noising process—currently the dominant approach for high-quality image synthesis.

Why it matters

Understanding diffusion clarifies why generation takes iterative steps, how guidance works, and why edits/inpainting are natural extensions.

Diagram

Diagram of diffusion adding noise then denoising to generate an image
Diagram of diffusion adding noise then denoising to generate an image

Article

Math-lite

Focus on the iterative refinement idea and conditioning signals.

Examples

Text-to-image sampling

A UI shows progress as noise becomes a landscape over many steps. Users tweak guidance scale to balance prompt adherence versus diversity.

Inpainting a signboard

An editor masks a storefront sign; diffusion regenerates only that region conditioned on surrounding pixels and a new text prompt.

FAQ

How is diffusion different from a GAN?
GANs train a generator against a discriminator in an adversarial game. Diffusion models train a denoiser with a likelihood-related objective and generate via iterative refinement. Diffusion systems are often easier to train stably at high resolution, at the cost of heavier sampling.
What is latent diffusion?
Latent diffusion performs the denoising process in a compressed latent space learned by an autoencoder, then decodes back to pixels. This reduces compute compared with pixel-space diffusion.
Why does the same prompt look different each time?
Sampling starts from random noise (a seed). Different seeds explore different regions of the learned distribution unless randomness is fixed.

Related tools

  • Midjourney — AI image generation service known for distinctive aesthetics and community-driven creative workflows.
  • Leonardo.AI — AI image generation and creative production platform with fine control for game and marketing assets.
  • Adobe Firefly — Adobe’s generative AI creative models integrated into Firefly web and Creative Cloud apps.

Related rankings

Related topics

  • AI Image Generation — AI image generation creates new pictures from text prompts, reference images, or editing instructions. Modern systems…
  • Text to Image — Text-to-image systems generate pictures from natural-language prompts, typically using diffusion or related generative…
  • Generative AI — Generative AI refers to models that create new content—text, images, audio, code, or other media—by learning the…
  • Multimodal Models — Multimodal models accept or produce more than one data type—such as text, images, audio, or video—within a unified or…

Sources