Skip to main content
QUICK REVIEW

[Paper Review] On importance-weighted autoencoders

Axel Finke, Alexandre H. Thiéry|arXiv (Cornell University)|Jul 24, 2019
Generative Adversarial Networks and Image SynthesisComputer Science33 references5 citations
TL;DR

This paper introduces Adaptive Importance Sampling for Learning (AISLE), a unified framework that generalizes the reweighted wake-sleep (RWS) algorithm and subsumes both the IWAE-STL and IWAE-DREG gradients as special cases. It demonstrates that RWS-type adaptive importance sampling is more robust than multi-sample IWAE objectives, especially under high-variance conditions, and provides a principled theoretical foundation for heuristic IWAE variants.

ABSTRACT

The importance weighted autoencoder (IWAE) (Burda et al., 2016) is a popular variational-inference method which achieves a tighter evidence bound (and hence a lower bias) than standard variational autoencoders by optimising a multi-sample objective, i.e. an objective that is expressible as an integral over $K > 1$ Monte Carlo samples. Unfortunately, IWAE crucially relies on the availability of reparametrisations and even if these exist, the multi-sample objective leads to inference-network gradients which break down as $K$ is increased (Rainforth et al., 2018). This breakdown can only be circumvented by removing high-variance score-function terms, either by heuristically ignoring them (which yields the 'sticking-the-landing' IWAE (IWAE-STL) gradient from Roeder et al. (2017)) or through an identity from Tucker et al. (2019) (which yields the 'doubly-reparametrised' IWAE (IWAE-DREG) gradient). In this work, we argue that directly optimising the proposal distribution in importance sampling as in the reweighted wake-sleep (RWS) algorithm from Bornschein & Bengio (2015) is preferable to optimising IWAE-type multi-sample objectives. To formalise this argument, we introduce an adaptive-importance sampling framework termed adaptive importance sampling for learning (AISLE) which slightly generalises the RWS algorithm. We then show that AISLE admits IWAE-STL and IWAE-DREG (i.e. the IWAE-gradients which avoid breakdown) as special cases.

Motivation & Objective

  • To address the gradient breakdown issue in importance-weighted autoencoders (IWAE) as K increases, particularly the vanishing signal-to-noise ratio in φ-gradients.
  • To argue that adaptive importance sampling, as in the reweighted wake-sleep (RWS) algorithm, is preferable to the multi-sample objective paradigm of IWAE.
  • To formalize a general framework—Adaptive Importance Sampling for Learning (AISLE)—that unifies RWS, IWAE-STL, and IWAE-DREG under a single principled approach.
  • To provide a theoretical justification for the heuristic IWAE-STL gradient and show that it arises naturally from the RWS-type adaptive importance-sampling perspective.
  • To empirically evaluate AISLE variants and compare them with IWAE, IWAE-DREG, and RWS-DREG across different settings, particularly under non-i.i.d. and high-dimensional latent spaces.

Proposed method

  • Proposes AISLE, a generic adaptive importance-sampling framework for variational inference that iteratively improves the proposal distribution qφ,x(z) while learning the model parameters θ.
  • Introduces two divergence-based objectives in AISLE: KL and χ² divergence, leading to AISLE-KL and AISLE-χ² variants.
  • Derives φ-gradients for AISLE using self-normalized importance sampling with K particles, avoiding reparametrization and score-function variance issues.
  • Shows that the IWAE-STL and IWAE-DREG gradients are special cases of AISLE, with IWAE-STL emerging via a novel application of the double-reparametrization identity from Tucker et al. (2019).
  • Employs regularization of importance weights via α*-scaling to mitigate numerical instability and reduce bias in high-variance regimes.
  • Uses ADAM with weight regularization in experiments to stabilize training, particularly for high-K settings.

Experimental results

Research questions

  • RQ1Is the adaptive importance-sampling approach of RWS superior to the multi-sample objective of IWAE in terms of gradient stability and empirical performance?
  • RQ2Can the heuristic IWAE-STL gradient be justified within a principled theoretical framework?
  • RQ3Do the IWAE-DREG and IWAE-STL gradients emerge naturally from a generalized RWS-type framework like AISLE?
  • RQ4How does the performance of AISLE compare to IWAE, IWAE-DREG, and RWS-DREG across varying dimensions and particle counts?
  • RQ5What role does importance weight regularization play in stabilizing gradients and improving convergence in high-variance scenarios?

Key findings

  • AISLE-KL-NOREP and AISLE-χ²-NOREP, which avoid reparametrization, outperform 'score-function free' gradients (IWAE-STL, IWAE-DREG) when the variational family does not include the true posterior, especially at moderate K.
  • The standard IWAE φ-gradient performance deteriorates with increasing K, consistent with O(K−1/2) signal-to-noise decay, as previously theorized.
  • Contrary to expectations, the 'score-function free' gradients (IWAE-STL, IWAE-DREG) do not improve with larger K; in fact, performance sometimes worsens due to a dominant O(K−1) self-normalization bias.
  • Regularization of importance weights significantly improves the stability and performance of χ²-based AISLE variants, particularly in high-dimensional settings (D=10).
  • RWS-DREG performs well only when the proposal qφ,x is close to the true posterior πθ,x, failing in high-dimensional or non-expressive variational families.
  • The O(K−1) self-normalization bias in IWAE-STL and IWAE-DREG can be beneficial in practice, outweighing the benefit of reduced variance from increasing K, suggesting a trade-off between bias and variance in these estimators.

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.