Welch Labs: AI creates images by clearing random noise
Welch Labs explains that diffusion models generate new images by repeatedly removing random noise from a starting field, similar to running particle motion backward.
▶ Watch at 0:16
Jul 25, 2025
Welch Labs
Welch Labs explains how modern AI image and video generation works by combining CLIP text understanding with diffusion models that turn random noise into guided visuals.
Welch Labs explains that diffusion models generate new images by repeatedly removing random noise from a starting field, similar to running particle motion backward.
▶ Watch at 0:16According to Welch Labs, the CLIP model maps both text and images into a shared space so the system understands how closely a phrase matches a picture.
▶ Watch at 4:18Welch Labs notes that instead of undoing noise one small step at a time, the model is trained to predict the total noise added to an image for faster, steadier learning.
▶ Watch at 11:00Welch Labs says classifier-free guidance makes AI follow text prompts better by finding and boosting the difference between what the model produces with a prompt and without one.
▶ Watch at 32:12Welch Labs points out that the DDIM sampling method removes random steps from the standard process while getting similar results, which makes generating an image much faster.
Welch Labs describes the score function as a learned guide inside a diffusion model that always points from noisy data toward a clearer, more likely image.
▶ Watch at 16:05Welch Labs explains that feeding a time variable into the model lets it adjust to the current noise level, building rough shapes when noise is high and fine details as the image clears.
An extension of classifier-free guidance where the model is actively steered away from user-specified undesirable features or concepts.
“This generation of image and video models works using a process known as diffusion, which is remarkably equivalent to the Brownian motion we see as particles diffuse, but with time run backwards and in high dimensional space.”
“This is also known as a score function. And the intuition here is that the score function points us towards more likely, less noisy data.”
“The central idea is that the vectors for a given image and its caption should be similar.”
“...the team instead trained the model to predict the total noise that was added to the original image.”
“This approach is called classifier-free guidance.”
t to adjust its predictions based on the current noise level, handling coarse features at high noise levels and fine details as the image becomes clearer.The speaker reveals that modern artificial intelligence image and video generation is remarkably equivalent to the physics of diffusing particles, just with time run backwards. In this podcast episode, which came out on July 25, 2025, the speaker breaks down the core technology behind these visual models. By the end, you will learn how a two part system turns pure static and a text prompt into a detailed picture.
How running physics in reverse creates images from pure static. Instead of painting an image from scratch, diffusion models begin with an initial field of purely random noise. The speaker explains that the system iteratively removes this noise, which is conceptually similar to reversing Brownian motion as particles diffuse in high dimensional space.
How a machine learns to match words with pictures. That is the job of CLIP, which stands for Contrastive Language Image Pretraining. It uses text and image encoders to map concepts into a shared embedding space, which is a mathematical map where the vectors for a given image and its caption are placed close together because they are similar.
Why predicting the whole mess beats fixing one step at a time. The speaker notes that for the DDPM training objective, the team trained the model on a much more challenging task: predicting the total noise that was added to the original image. This approach provides a more stable and efficient training goal.
The internal compass that guides static back into a clear picture. Once trained to spot the noise, the model relies on what the speaker calls a score function. At any given point, the score function points the model toward a more likely, less noisy version of the data.
How the model knows when to sketch broad shapes and when to add fine details. By conditioning the model on a time variable, called t, it adjusts its predictions based on the current noise level. It handles coarse features when noise levels are high, and shifts to fine details as the image becomes clearer.
Cutting out the randomness to generate images much faster. A method called DDIM, or Denoising Diffusion Implicit Models, offers a deterministic sampling method. By removing the random steps, it achieves similar results to the standard process while enabling significantly faster image generation.
The steering trick that forces the model to actually follow your prompt. The speaker highlights a critical technique used by models like Stable Diffusion called classifier free guidance. It improves prompt adherence by calculating the difference between the model's output with your prompt and its output without a prompt, and then amplifying that difference.
Telling the model what to avoid is just as powerful as telling it what to create. Building directly on classifier free guidance, negative prompts give users even tighter control over the final image. This extension actively steers the generation process away from undesirable features or concepts that the user specifies.
Modern image generation relies on a two part system: a model like CLIP translates your prompt's meaning, and a diffusion model refines random noise into a picture using active steering like classifier free guidance. This generation of image and video models works using a process known as diffusion, which is remarkably equivalent to the Brownian motion we see as particles diffuse, but with time run backwards and in high dimensional space.
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
Grant Sanderson
Machine Learning Street Talk
Machine Learning Street Talk
Lenny's Podcast: Product | Career | Growth
Machine Learning Street Talk
Eye on AI
Turing Post
Steve Eisman