Minimal Diffusion

A from-scratch denoising diffusion probabilistic model implementation. View source

Timestep Scrubber

Drag the slider to move through the reverse diffusion process. Left = pure noise (t=T). Right = clean digit (t=0).

Generating sample...
t = 1000 (pure noise)

Draw Your Own Digit

Draw a digit below. The model adds noise, then denoises it back. You'll see your drawing become the model's "platonic ideal" of that digit.

t = 500

Forward vs Reverse

Watch an image dissolve into noise (forward) or structure emerge from noise (reverse).