Skip to main content
QUICK REVIEW

[Paper Review] Reinterpreting Importance-Weighted Autoencoders

Chris Cremer, Quaid Morris|arXiv (Cornell University)|Apr 10, 2017
Adversarial Robustness in Machine LearningComputer Science45 citations
TL;DR

This paper reinterprets importance-weighted autoencoders (IWAE) not as maximizing a tighter evidence lower bound, but as optimizing the standard VAE objective using a more complex, implicitly defined posterior distribution $\tilde{q}_{\text{IW}}$. The key contribution is showing that the IWAE procedure implicitly learns a nonparametric, importance-weighted posterior that converges to the true posterior as $k \to \infty$, and introducing $q_{\text{EW}}$, the expected importance-weighted distribution, which is provably closer to the true posterior than the original $q(z|x)$ in terms of KL divergence.

ABSTRACT

The standard interpretation of importance-weighted autoencoders is that they maximize a tighter lower bound on the marginal likelihood than the standard evidence lower bound. We give an alternate interpretation of this procedure: that it optimizes the standard variational lower bound, but using a more complex distribution. We formally derive this result, present a tighter lower bound, and visualize the implicit importance-weighted distribution.

Motivation & Objective

  • To reinterpret the IWAE objective beyond maximizing a tighter ELBO, by analyzing its underlying implicit posterior distribution.
  • To formally derive the implicit importance-weighted posterior $\tilde{q}_{\text{IW}}$ that arises from multi-sample importance reweighting.
  • To introduce $q_{\text{EW}}$, the expected importance-weighted distribution, as a normalized, more accurate posterior approximation than the base $q(z|x)$.
  • To prove that $q_{\text{EW}}$ is closer to the true posterior than $q(z|x)$ in terms of KL divergence.
  • To provide visualization and sampling algorithms for $\tilde{q}_{\text{IW}}$ and $q_{\text{EW}}$ without kernel density artifacts.

Proposed method

  • Derives the unnormalized implicit posterior $\tilde{q}_{\text{IW}}(z|x,z_{2:k})$ as a function of $k$ importance samples from $q(z|x)$, using importance reweighting.
  • Shows that the IWAE ELBO is equivalent to the VAE ELBO when using $\tilde{q}_{\text{IW}}$ in place of $q(z|x)$, with expectation over $z_{2:k}$.
  • Introduces $q_{\text{EW}}(z|x)$ as the expectation of $\tilde{q}_{\text{IW}}$ over $z_{2:k}$, forming a normalized, nonparametric posterior approximation.
  • Proposes Algorithm 1 for sampling from $q_{\text{EW}}(z|x)$, equivalent to sampling-importance-resampling (SIR).
  • Proposes Algorithm 2 for plotting $q_{\text{EW}}(z|x)$ without kernel smoothing, using Monte Carlo averaging over $z_{2:k}$.
  • Uses Jensen’s inequality and KL divergence decomposition to prove $q_{\text{EW}}$ is closer to the true posterior than $q(z|x)$.

Experimental results

Research questions

  • RQ1Can the IWAE objective be reinterpreted as optimizing the standard VAE ELBO with a more complex, implicit posterior distribution?
  • RQ2What is the form and behavior of the implicit posterior $\tilde{q}_{\text{IW}}$ induced by importance reweighting in IWAE?
  • RQ3How does the expected importance-weighted posterior $q_{\text{EW}}$ compare to the true posterior in terms of KL divergence?
  • RQ4Can $q_{\text{EW}}$ be efficiently sampled and visualized without introducing kernel density estimation artifacts?
  • RQ5What is the limiting behavior of $\tilde{q}_{\text{IW}}$ as $k \to \infty$?

Key findings

  • The IWAE ELBO is mathematically equivalent to the VAE ELBO when using the implicit posterior $\tilde{q}_{\text{IW}}(z|x,z_{2:k})$ in place of $q(z|x)$, with expectation over $z_{2:k}$.
  • The expected importance-weighted posterior $q_{\text{EW}}(z|x)$ is a normalized distribution that converges to the true posterior $p(z|x)$ as $k \to \infty$.
  • The KL divergence between $q_{\text{EW}}$ and the true posterior is strictly less than that between $q(z|x)$ and the true posterior, i.e., $KL(q_{\text{EW}}||p) \leq KL(q||p)$.
  • The implicit posterior $\tilde{q}_{\text{IW}}$ depends on the specific batch of $z_{2:k}$ samples and is unnormalized, but its expectation yields the normalized $q_{\text{EW}}$.
  • Algorithm 2 enables accurate, artifact-free visualization of $q_{\text{EW}}$ by averaging over multiple $z_{2:k}$ batches without kernel smoothing.
  • As $k$ increases, $q_{\text{EW}}$ becomes a progressively tighter approximation of the true posterior, as shown in 2D and 1D visualizations.

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.