Most people think of Stable Diffusion or DALL-E as pure generators—models that conjure images from scratch. But the reality is more counterintuitive: they first learn to destroy images. The destruction process, known as forward diffusion, is what makes generation possible.
In a new explainer series, the channel Neural AI Flair breaks down Denoising Diffusion Probabilistic Models (DDPM) from the ground up. Part 1 focuses on the forward diffusion process, where Gaussian noise is gradually added to an image until it becomes pure noise. This may seem wasteful, but the key insight is that destruction is easy to model mathematically, while creation is not.
The forward process relies on a Markov chain—each step depends only on the previous one—making it tractable. A beta schedule controls how much noise is added at each step. Crucially, there's a one-step mathematical shortcut that allows training to be fast: you can jump directly from the original image to any noised version without simulating every intermediate step.
The series will continue with Part 2 on the beta schedule, Part 3 on what the model actually learns, and Part 4 on an application to text called DiffusionGemma.
"Hot take: Stable Diffusion isn't a generative model. It's a destruction model running backwards." — Neural AI Flair