Generative Models / Variational Autoencoders
Variational Autoencoders
Latent-variable modeling, the evidence lower bound and the reparameterization trick.
Probability · Maximum likelihood · KL divergence
A variational autoencoder is a latent-variable model with a learned approximate posterior. It turns otherwise difficult posterior inference into a differentiable optimization problem.
Evidence lower bound
For observation and latent variable , introduce as an approximation to . Then
The first term rewards reconstruction under the decoder. The second regularizes the approximate posterior toward the prior. Their balance shapes both fidelity and latent-space organization.
Reparameterization
For a diagonal Gaussian posterior,
Randomness is isolated in , leaving a differentiable path through and . This is the reparameterization trick.