One yardstick for every family
The topic Autoregressive transformers completed the map of this course. VAEs, GANs, normalizing flows, energy-based models, diffusion and autoregressive models all learn to produce images. Which one is good? Is today's checkpoint better than yesterday's? The training losses do not say. A GAN's two losses pull against each other, and different families minimize different things.
The yardstick from Entropy, cross-entropy and KL is the average log-likelihood of held-out images. Not every model can report it.
- Flows and autoregressive models compute exactly.
- A VAE gives only a lower bound, the ELBO. Diffusion gives a bound too, or an exact value at the price of solving the probability-flow ODE for every image.
- An energy-based model knows its density only up to an unknown normalizing constant.
- A GAN has no density at all. It can only sample.
And where a likelihood exists, it can still disagree with how the samples look (Theis, van den Oord and Bethge, 2016).
The final judge is a person looking at samples. Salimans et al. (2016) asked crowd workers to tell real images from generated ones. The answers depended on the setup, for example on whether workers got feedback on their mistakes, and people are slow and expensive anyway. So the same paper proposed an automatic substitute that needs nothing but samples: the Inception Score.