Every generative model faces the same challenge: how do you assign a probability to a data point? A photo, a sentence, a molecule — each lives in a high-dimensional space, and computing its exact probability is usually intractable. Transformers predict the next token but never claim to model the full joint distribution. Variational autoencoders optimize a lower bound. GANs skip likelihoods entirely.
Normalizing flows take a different path. Start with a simple distribution you can evaluate exactly — a standard Gaussian, say. Then apply a sequence of invertible, differentiable transformations to warp it into something that matches your data. Because every transformation is invertible, you can map any data point back to the simple space and read off its exact probability using the change-of-variables formula.
The word normalizing refers to this act of "normalizing" a complex density back into a simple (normal) one. The word flow describes the sequence of transformations through which probability mass flows and reshapes. Together, they form one of the few families of generative models that give you exact log-likelihoods — which means you can train directly by maximum likelihood and evaluate precisely how probable any sample is.
Comments
Loading comments...