Many small steps
The topic Energy-based models ended with a bill: sampling an EBM takes hundreds of gradient steps on a learned landscape, and training needs such samples after every update. Diffusion models keep the walk from noise to data but change what is learned. They reach noise in many small steps of a fixed process, each step adds a little Gaussian noise, and no step has to be invertible, unlike the layers of a flow (see The change of variables).
Start from a data point , say an image. Add a little noise to get , a little more to get , and so on up to :
This is the forward process. Two properties define it. First, each step looks only at the previous point: is drawn from a distribution that ignores . A chain like this is a Markov chain. Second, is fixed in advance. It has no parameters, and nothing in it is trained.
Why destroy data on purpose? Because of where the chain ends. We want to be distributed as , whatever image we started from. That is a prior we can sample from, like in a VAE or a flow. If a model learns to walk the chain backwards, from to , it turns noise into data. The idea comes from Sohl-Dickstein et al. (2015); DDPM (Ho, Jain and Abbeel, 2020) made it produce good images. This topic builds the forward chain. The walk back comes next.