Skip to main content
QUICK REVIEW

[Paper Review] Importance Weighted Autoencoders

Yuri Burda|arXiv (Cornell University)|Sep 1, 2015
Generative Adversarial Networks and Image SynthesisComputer Science249 citations
TL;DR

The paper introduces the Importance Weighted Autoencoder (IWAE), a generative model that improves upon the Variational Autoencoder (VAE) by using importance weighting to tighten the log-likelihood lower bound. By sampling multiple latent codes and weighting them according to their likelihood, IWAE achieves richer, more expressive representations and significantly higher test log-likelihoods than VAEs with the same architecture.

ABSTRACT

The variational autoencoder (VAE; Kingma, Welling (2014)) is a recently proposed generative model pairing a top-down generative network with a bottom-up recognition network which approximates posterior inference. It typically makes strong assumptions about posterior inference, for instance that the posterior distribution is approximately factorial, and that its parameters can be approximated with nonlinear regression from the observations. As we show empirically, the VAE objective can lead to overly simplified representations which fail to use the network's entire modeling capacity. We present the importance weighted autoencoder (IWAE), a generative model with the same architecture as the VAE, but which uses a strictly tighter log-likelihood lower bound derived from importance weighting. In the IWAE, the recognition network uses multiple samples to approximate the posterior, giving it increased flexibility to model complex posteriors which do not fit the VAE modeling assumptions. We show empirically that IWAEs learn richer latent space representations than VAEs, leading to improved test log-likelihood on density estimation benchmarks.

Motivation & Objective

  • To address the limitation of VAEs in learning rich, high-capacity latent representations due to overly restrictive posterior assumptions.
  • To improve the expressiveness of variational inference in deep generative models by tightening the evidence lower bound (ELBO).
  • To demonstrate that multiple-sample importance weighting enables better modeling of complex posteriors compared to standard VAEs.
  • To empirically validate that IWAEs learn more active latent dimensions and achieve higher log-likelihoods than VAEs on density estimation benchmarks.

Proposed method

  • The IWAE uses a recognition network to generate K independent samples from the approximate posterior q(h|x).
  • Each sample is assigned an importance weight based on the ratio p(x|h)/q(h|x), forming a weighted average of the likelihoods.
  • The objective function is the log-expected value of the weighted average of K samples, which forms a tighter lower bound on the true log-likelihood than the standard VAE ELBO.
  • The model is trained end-to-end using backpropagation, with the importance-weighted objective replacing the standard VAE loss.
  • The method maintains the same architecture as the VAE but allows the recognition network to model complex, non-factorial posteriors through multiple samples.
  • As K increases, the IWAE lower bound converges to the true log-likelihood, providing a more accurate approximation than the VAE objective.

Experimental results

Research questions

  • RQ1Can a tighter lower bound on the log-likelihood improve the expressiveness of latent representations in variational autoencoders?
  • RQ2Does using multiple samples in posterior approximation lead to better modeling of complex, non-factorial posteriors compared to standard VAEs?
  • RQ3To what extent does the IWAE objective reduce the number of inactive latent dimensions compared to the VAE?
  • RQ4How does the generative performance of IWAEs compare to VAEs in terms of test log-likelihood on density estimation benchmarks?
  • RQ5Is the inactivation of latent dimensions in VAEs due to optimization issues or inherent limitations of the objective function?

Key findings

  • IWAEs achieved significantly higher test log-likelihoods than VAEs, with improvements of up to 2.5 nats on MNIST and CIFAR-10 benchmarks.
  • On the MNIST dataset, an IWAE with k=50 achieved a test log-likelihood of 84.88 nats, compared to 86.76 nats for the best VAE, indicating better generative performance.
  • The number of active latent dimensions in IWAEs was consistently higher than in VAEs, with 25 active units in the best IWAE model versus 19 in the best VAE model.
  • When retrained using the opposite objective, the VAE trained with the IWAE objective increased both active dimensions and log-likelihood, while the IWAE trained with the VAE objective degraded in both metrics.
  • The number of active dimensions in the second layer of two-layer models remained below 10, suggesting limited utilization of capacity in deeper architectures.
  • Removing inactive dimensions had a negligible effect (less than 0.06 nats) on test log-likelihood, confirming that they contribute little to generative performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.