Diffusion models are a class of generative AI that create new data—images, audio, video, even scientific samples—by learning to reverse a gradual noising process. During training, the model systematically destroys structured data by adding noise; it then trains a neural network to undo that destruction one small step at a time. Generation itself starts from pure random static, which the trained network progressively denoises into a coherent, realistic sample. This counterintuitive two-step recipe—noising, then learned denoising—is what powers many of today's best-known image and media generation systems, and it offers a different set of trade-offs than older generative architectures such as GANs and VAEs.

The Forward Process: Adding Noise

The first stage is deceptively simple. Starting with clean training data—photographs, waveforms, frames of video—the model applies increasing amounts of Gaussian noise over a long series of steps. Nothing about this process is learned or intelligent: it is a fixed, systematic degradation of the data. An introduction to diffusion models written for applied mathematicians describes exactly this setup, showing final time-step images that are "pure noise matrices consisting of independent Gaussian samples"—data in which no trace of the original structure remains.

Why destroy data you want to learn from? The answer is that the forward process creates an enormous teaching signal. As Snowflake's technical explainer puts it, the forward process "simply creates millions of examples that show how structured data changes as increasing amounts of noise are applied." Every pair—a clean image and its partially corrupted counterpart at each noise level—becomes a supervised example of what denoising should accomplish. The fixed noising procedure converts one generative task (produce a realistic image from nothing) into millions of tiny, well-defined prediction tasks (remove a small amount of noise from this corrupted image).

The noising is gradual, and that gradualness matters. If you added all the noise at once, the mapping from noise to data would be too abrupt to learn. By spreading the corruption across many small steps, the forward process ensures that each individual step—from one noise level to the next—is a modest, learnable transformation. The endpoint is always the same: a state of pure randomness in which the original signal appears entirely gone, yet the statistical imprint of how the data was degraded remains recoverable in principle.

The Two-Step Journey of Diffusion: Noising and Denoising

To see how the two halves fit together, it helps to trace a single conceptual pass through the full pipeline. The table below models the transformation of data through both stages, showing what happens at each point, who is doing the work, and what state the data is in.

The two-stage conceptual model of a diffusion model, from clean data to noise and back to new data
StageProcess DescriptionData State
Forward process (noising)A fixed procedure gradually adds increasing amounts of noise to each training example, step after step.A clean image (or audio clip) degrades progressively until it becomes pure random noise.
Reverse process (denoising)A neural network is trained to predict the noise present in a corrupted sample, then subtract it, moving one step back toward cleaner data.Pure noise is transformed, step by step, into a coherent new sample such as a realistic image.
Generation (inference)Starting from fresh random noise, the trained network applies the reverse process repeatedly until it reaches the clean end of the schedule.A brand-new, synthetic data sample that was never in the training set.

The Reverse Process: Denoising to Generate Data

The second stage is where learning happens. The network sees one noisy example at a time and predicts the noise that was added to produce it. As Snowflake's explainer describes, those predictions start out poor and become increasingly accurate after repeated training across millions of examples. Crucially, the network is not learning to generate images directly—it is learning to estimate how any partially corrupted image should look one step earlier in the noise schedule.

That reframing is the key insight. Predicting "what noise was mixed in" is a much easier problem than predicting "what a realistic image looks like," because the noise itself follows a known statistical pattern. Once the network can denoise any single step reliably, generation becomes an iterative application of that skill: start with random noise, ask the network to remove a bit of it, feed the result back in, and repeat until the noise schedule is exhausted.

The arXiv introduction demonstrates this empirically with a concrete result worth noting precisely. After training on image data, the authors applied the backward denoising process to nine randomly chosen pure-noise images at the final time step, and by time zero the model had produced new, synthetic examples in which at least eight of the nine cases corresponded to recognizable handwritten digits. They emphasize that no labels were used during training—the model learned the structure of the data purely from the noising and denoising procedure, not from any category annotation.

This is also what gives diffusion models their flexibility across data types. Because the forward process only requires a way to add noise and the reverse process only requires a network that can predict that noise, the same framework applies whether the underlying data is a grid of pixels, a sequence of audio samples, or a stack of video frames. The neural network doing the denoising is commonly a U-Net or, increasingly, a transformer-based architecture, but the conceptual loop—predict noise, subtract it, repeat—is shared across all of them.

How Diffusion Models Compare With GANs and VAEs

Diffusion models did not arrive in a vacuum. Two earlier generative architectures dominated the field: Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs). GANs pit two networks against each other—a generator that produces fake samples and a discriminator that tries to tell them apart from real ones—so the generator learns through adversarial pressure. VAEs instead learn a compressed latent representation of the data and then decode from that latent space back to full samples.

The core distinction is how each approach breaks down the generative problem. GANs attempt to generate in a single forward pass, which makes them fast at inference time but notoriously difficult to train—the adversarial dynamic can become unstable, and the two networks can fail to converge or collapse into producing limited varieties of output. VAEs are generally easier to train but tend to produce blurrier, lower-fidelity samples because of how they compress and reconstruct data.

Diffusion models trade that single-shot generation for many small denoising steps. The practical consequence, as both Snowflake and AWS explain in their overviews of the field, is that diffusion models tend to offer greater training stability than GANs and higher output quality than VAEs, which is a major reason they have become the dominant architecture for high-fidelity image synthesis. The cost of this advantage is speed: because generation requires running the denoising network many times in sequence, diffusion models are typically slower and more computationally expensive at inference than their single-pass predecessors. Whether that trade-off is acceptable depends on the task—for static images and pre-rendered media, quality usually wins; for applications demanding instant results, the multi-step cost remains a real limitation.

Sander Dieleman - Diffusion models for image and video generation | ML in PL 2025To provide a real-world example of community engagement and discussion around diffusion models and other generative AI, illustrating their practical impact and user experience.Watch on YouTube
Sander Dieleman - Diffusion models for image and video generation | ML in PL 2025To offer a visual and auditory explanation of diffusion models for image and video generation, complementing the text-based explanation with an expert presentation.Watch on YouTube

Where Diffusion Models Are Being Used

Image generation is the most visible application, but it is far from the only one. Diffusion models have been extended to video generation, where the denoising process operates across both space and time to produce coherent moving sequences. In audio, the same framework generates speech, music, and sound effects by treating a waveform as data to be progressively noised and reconstructed.

Beyond media, diffusion models are increasingly applied in scientific research. Because they learn the statistical structure of a dataset without labels, they can be used to generate plausible synthetic data for domains where real examples are scarce or expensive to collect—including molecular structures and other scientific distributions. That label-free learning property, demonstrated in the handwritten-digit experiment, is what makes the same underlying machinery useful in both creative tools and research platforms.

Leveraging Diffusion Models for Creative and Scientific Innovation

The decision framework for readers is straightforward: adopt diffusion models for generative AI tasks requiring high-quality, diverse outputs and stable training, especially in image, video, and audio synthesis. The trade-off to weigh is inference cost—many denoising steps mean slower, more compute-intensive generation than GANs or VAEs—against the superior fidelity and training reliability that have made diffusion the default choice for media generation.

To watch this technology's trajectory, observe the increasing integration of diffusion models into creative tools, scientific research platforms, and enterprise media generation workflows, indicated by new product announcements and research publications. The underlying two-step mechanism that produced recognizable digits from pure noise in the arXiv demonstration is the same mechanism now shipping in consumer and enterprise systems, so each new announcement of a diffusion-based image, audio, or video tool is a measurable signal of how far the approach has scaled from that nine-image experiment.

Sources