Auto-Encoding Variational Bayes
Diederik P. Kingma, Max Welling
ICLR 2014 · arXiv 1312.6114 · Read the paper ↗
The variational autoencoder: learn a latent space you can sample from, trained with the reparameterization trick.
4 steps · 0 solved
Start: Reparameterization trick →- 1Reparameterization trickSample a latent so gradients can flow.Sample a VAE latent with the reparameterization trick
- 2KL between GaussiansThe closed-form regulariser.VAE loss: KL divergence between the encoder's Gaussian and the prior
- 3ELBO lossReconstruction plus KL to a standard normal.Compute the VAE loss: reconstruction BCE plus KL to a standard normal
- 4Backward passGradients through the sample and the KL term.Backpropagate through the VAE reparameterization and KL term