The bill for pixels
The topic Continuous-time diffusion and flow matching finished the theory of diffusion: noise prediction, scores, the SDE and the probability-flow ODE describe one model, and good solvers cut sampling from 1000 steps to tens. It ended with the bill: every one of those steps is still a full pass of a large network over the whole image.
Here is that bill in full. One colour image has
numbers, and a pixel-space sampler pushes all of them through at each of the steps, with in the original DDPM. Training is no cheaper, since every gradient step denoises full-resolution images. Rombach et al. (2022) quote 150–1000 V100-days to train the strongest pixel-space models, and about five days on one A100 to draw 50,000 samples.
Attention makes it worse. A self-attention layer compares every position with every other one, so its cost grows with the square of the number of positions, and a image has of them. That is why pixel-space U-Nets attend only at coarse resolutions.
Now suppose an encoder could turn the image into a grid with 4 channels per cell, and a decoder could turn the grid back into the image with no visible loss. Diffusion in that grid would touch far fewer numbers at every step. This topic builds that encoder and runs the whole DDPM machinery inside it.