papers / vae2013
Next task →
Research Papers/Generative models and diffusion/Auto-Encoding Variational Bayes
Generative models and diffusion · #1 · seminal

Auto-Encoding Variational Bayes

Diederik P. Kingma, Max Welling · 2013 · ICLR (2014)

1. Research problem

Learning latent-variable models with intractable posteriors required slow per-example variational optimization and biased approximations.

2. Motivation

The authors wanted a scalable way to fit generative models with continuous latent variables using stochastic variational inference.

3. Previous approaches

Variational inference used mean-field updates; wake-sleep and MCMC methods were slow or biased; earlier autoencoders lacked a proper probabilistic objective.

4. Core contribution

Introduced the variational autoencoder with an amortized inference network and the reparameterization trick, enabling low-variance gradients of the ELBO.

5. Mathematical formulation

Maximize the evidence lower bound E_q(z|x)[log p(x|z)] - KL(q(z|x) || p(z)), with z = mu(x) + sigma(x)*epsilon and epsilon ~ N(0,I).

6. Methodology

Derive the stochastic gradient of the ELBO via reparameterization, use an encoder network to output q parameters, and optimize jointly with the decoder.

7. Architecture

Encoder and decoder neural networks (MLPs or CNNs) with a Gaussian latent distribution.

8. Experimental setup

Generated samples and evaluated log-likelihood bounds on MNIST and a scanned-digit dataset.

9. Datasets

MNIST, Frey face dataset (as used in the paper).

10. Results

Made variational latent-variable training practical with minibatch SGD, establishing a foundation for deep generative modeling.

11. Limitations

The Gaussian posterior can be too restrictive, the KL term can cause posterior collapse, and samples are often blurrier than adversarial models'.

12. Critical analysis

A foundational probabilistic modeling result whose reparameterization trick is now ubiquitous far beyond VAEs.

13. Implementation tasks

  • 1.Implement a VAE with reparameterization on MNIST and monitor the ELBO during training.
  • 2.Ablate the KL term to observe posterior collapse or over-regularization.
  • 3.Visualize the learned 2D latent space by decoding a grid of points.

14. Follow-up work

  • 1.Generative Adversarial Nets (Goodfellow et al., 2014)
  • 2.Importance Weighted Autoencoders (Burda et al., 2015)

15. Open research questions

  • 1.How can richer posterior families avoid the limitations of Gaussians?
  • 2.Why do VAE samples tend to be blurrier than GAN samples?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.