Skip to main content
QUICK REVIEW

[Paper Review] Learning Deep Generative Models with Annealed Importance Sampling

Xinqiang Ding, David J. Freedman|arXiv (Cornell University)|Jun 12, 2019
Generative Adversarial Networks and Image SynthesisComputer Science34 references7 citations
TL;DR

This paper proposes using annealed importance sampling (AIS) — inspired by the Jarzynski equality — to improve deep generative model training by bridging variational inference (VI) and Markov chain Monte Carlo (MCMC). It generalizes variational autoencoders (VAEs) and importance weighted autoencoders (IWAE), enabling better marginal likelihood estimation through efficient computation-to-accuracy trade-offs without increased memory use, outperforming IWAE and MH-HMC on MNIST and Omniglot datasets.

ABSTRACT

Variational inference (VI) and Markov chain Monte Carlo (MCMC) are two main approximate approaches for learning deep generative models by maximizing marginal likelihood. In this paper, we propose using annealed importance sampling for learning deep generative models. Our proposed approach bridges VI with MCMC. It generalizes VI methods such as variational auto-encoders and importance weighted auto-encoders (IWAE) and the MCMC method proposed in (Hoffman, 2017). It also provides insights into why running multiple short MCMC chains can help learning deep generative models. Through experiments, we show that our approach yields better density models than IWAE and can effectively trade computation for model accuracy without increasing memory cost.

Motivation & Objective

  • To address the challenge of approximating intractable posterior distributions in deep generative models during maximum likelihood learning.
  • To bridge the gap between variational inference (VI) and Markov chain Monte Carlo (MCMC) methods for more accurate likelihood estimation.
  • To develop a unified framework that generalizes VAEs, IWAEs, and MCMC-based learning using AIS.
  • To enable effective trade-offs between computational cost and model accuracy without increasing memory usage.
  • To provide theoretical and empirical insights into why multiple short MCMC chains improve model learning.

Proposed method

  • The method uses annealed importance sampling (AIS) to estimate the gradient of the log-marginal likelihood, leveraging a sequence of intermediate distributions from a proposal distribution to the target posterior.
  • It formulates the gradient estimator as an expectation over weighted samples drawn from a path of distributions, parameterized by a temperature schedule $\beta_t$ from 0 to 1.
  • The core estimator generalizes IWAE by allowing multiple importance sampling paths with adaptive weighting, improving posterior approximation.
  • The approach uses a free-form temperature schedule $\beta_t$ that satisfies $0 = \beta_0 \leq \cdots \leq \beta_T = 1$, enabling flexible path construction.
  • It integrates MCMC steps (e.g., MH-HMC) within the AIS framework to refine samples along the annealing path, enhancing sample quality.
  • The method supports both single and multiple sample paths, with performance improving as $K$ (number of samples) and $T$ (number of annealing steps) increase.

Experimental results

Research questions

  • RQ1Can annealed importance sampling be used as a unified framework to generalize both VI and MCMC methods for deep generative model learning?
  • RQ2How does AIS improve marginal likelihood estimation compared to standard VAEs and IWAEs?
  • RQ3Why does using multiple short MCMC chains improve model learning, and can this be formalized within an AIS framework?
  • RQ4Can AIS achieve better model accuracy than IWAE and MH-HMC with the same computational cost?
  • RQ5What is the impact of increasing $K$ (number of samples) and $T$ (number of annealing steps) on model performance and computational efficiency?

Key findings

  • On the Omniglot dataset, the proposed method achieved a test log-likelihood of -101.64 with $L=5$, $K=50$, and $T=11$, outperforming IWAE-DReG and MH-HMC under the same computational cost.
  • With identical computational cost, the proposed method produced better density models than IWAE-DReG, demonstrating superior computation-to-accuracy trade-offs.
  • For $T=11$, the MH-HMC method slightly outperformed the proposed method, but for $T=5$, the proposed method yielded better results, indicating sensitivity to path length.
  • Increasing $K$ or $T$ consistently improved model performance, confirming that better posterior approximation leads to more accurate gradient estimation.
  • The method achieved state-of-the-art marginal likelihood estimates on both MNIST and Omniglot, with AIS-based likelihood estimates validated via Bidirectional Monte Carlo.
  • The approach enables effective computation-to-accuracy trade-offs without increasing memory cost, making it suitable for large-scale deep generative modeling.

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.