Skip to main content
QUICK REVIEW

[Paper Review] On the relationship between variational inference and adaptive importance sampling.

Axel Finke, Alexandre H. Thiéry|arXiv (Cornell University)|Jul 24, 2019
Explainable Artificial Intelligence (XAI)Computer Science2 citations
TL;DR

This paper introduces AISLE, a unified framework for multi-sample variational inference that subsumes IWAE and RWS as special cases. By applying variance reduction from Tucker et al. (2019), it provides theoretical justification for the sticking-the-landing gradient, showing its breakdown in prior work is not due to lack of joint objective, and positions adaptive importance sampling as a more principled foundation for sequential Monte Carlo extensions than IWAE-style objectives.

ABSTRACT

The importance weighted autoencoder (IWAE) (Burda et al., 2016) and reweighted wake-sleep (RWS) algorithm (Bornschein and Bengio, 2015) are popular approaches which employ multiple samples to achieve bias reductions compared to standard variational methods. However, their relationship has hitherto been unclear. We introduce a simple, unified framework for multi-sample variational inference termed adaptive importance sampling for learning (AISLE) and show that it admits IWAE and RWS as special cases. Through a principled application of a variance-reduction technique from Tucker et al. (2019), we also show that the sticking-the-landing (STL) gradient from Roeder et al. (2017), which previously lacked theoretical justification, can be recovered as a special case of RWS (and hence of AISLE). In particular, this indicates that the breakdown of RWS -- but not of STL -- observed in Tucker et al. (2019) may not be attributable to the lack of a joint objective for the generative-model and inference-network parameters as previously conjectured. Finally, we argue that our adaptive-importance-sampling interpretation of variational inference leads to more natural and principled extensions to sequential Monte Carlo methods than the IWAE-type multi-sample objective interpretation.

Motivation & Objective

  • To clarify the theoretical relationship between variational inference, IWAE, and RWS, which had remained unclear despite their shared use of multiple samples.
  • To develop a unified framework—AISLE—that generalizes both IWAE and RWS under a single adaptive importance sampling interpretation.
  • To provide theoretical grounding for the sticking-the-landing (STL) gradient, which previously lacked justification despite its empirical success.
  • To investigate whether the observed breakdown of RWS in Tucker et al. (2019) stems from the absence of a joint objective for generative and inference networks.
  • To advocate for adaptive importance sampling as a more natural and principled basis for extending variational inference to sequential Monte Carlo methods.

Proposed method

  • Proposes AISLE, a general framework for multi-sample variational inference based on adaptive importance sampling, where proposal distributions are learned adaptively to minimize variational lower bound variance.
  • Demonstrates that IWAE and RWS emerge as special cases of AISLE by choosing specific proposal and weight update strategies.
  • Applies a variance-reduction technique from Tucker et al. (2019) to the AISLE framework, enabling derivation of the STL gradient as a special case of RWS.
  • Uses the AISLE framework to analyze the structural differences between RWS and STL, particularly in how parameters are updated and how gradients are computed.
  • Reinterprets the IWAE objective not as a primary objective but as a special case of a broader adaptive importance sampling scheme.
  • Establishes that the failure of RWS in certain settings—previously attributed to lack of joint optimization—can be explained by the method's sensitivity to proposal distribution quality, not the absence of a joint objective.

Experimental results

Research questions

  • RQ1How are IWAE and RWS related within a unified theoretical framework?
  • RQ2Can the sticking-the-landing gradient be formally justified within a principled variational inference framework?
  • RQ3Is the breakdown of RWS in Tucker et al. (2019) due to the lack of a joint objective for generative and inference networks?
  • RQ4Does the adaptive importance sampling interpretation of variational inference enable more natural extensions to sequential Monte Carlo methods than the IWAE objective?
  • RQ5What role does variance reduction play in connecting different multi-sample variational inference methods?

Key findings

  • AISLE successfully unifies IWAE and RWS under a single adaptive importance sampling framework, demonstrating that both are special cases of a broader class of multi-sample variational inference methods.
  • The sticking-the-landing gradient is formally recovered as a special case of RWS within AISLE, providing the first theoretical justification for its use.
  • The breakdown of RWS observed in Tucker et al. (2019) is not due to the absence of a joint objective for model and inference parameters, but rather to sensitivity in the proposal distribution updates.
  • The adaptive importance sampling interpretation of variational inference offers a more principled and natural pathway for extending methods to sequential Monte Carlo, compared to the IWAE-style objective.
  • The variance-reduction technique from Tucker et al. (2019) enables a clean derivation of the STL gradient within the AISLE framework, reinforcing its theoretical soundness.
  • The analysis shows that the core issue in RWS is not the lack of joint optimization, but the instability introduced by the way proposal distributions are updated during training.

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.