Reverse Gaussian steps
The topic DDPM: the forward process built a fixed chain that turns an image into almost pure noise in small Gaussian steps. Nothing in it is learned. To generate, we have to walk the chain the other way: start from noise and remove it one step at a time. This topic derives what a network must learn to do that, and how to train it.
The model of the way back is the reverse process, again a Markov chain. Writing for the whole chain ,
DDPM (Ho, Jain and Abbeel, 2020) makes every reverse step a Gaussian:
The mean comes from one network shared by all steps, a U-Net that receives as an extra input. The variance is fixed by the schedule and not learned; DDPM uses .
Why a Gaussian? The true reverse step is not Gaussian in general: it mixes over every image that could have led to . But when is small, one step moves only a little, and over such a short distance the reverse step is close to a Gaussian (Feller, 1949; Sohl-Dickstein et al., 2015). That is why diffusion uses many small steps rather than a few large ones.