Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Importance Weighted Autoencoders

Chin-Wei Huang, Kris Sankaran|arXiv (Cornell University)|May 13, 2019
Statistical Methods and InferenceMathematics6 citations
TL;DR

This paper proposes Hierarchical Importance Weighted Autoencoders (H-IWAE), a variational inference method that uses a shared meta-latent variable to induce negative correlation among multiple proposal samples, reducing variance in the importance-weighted lower bound. The method improves posterior approximation and inference performance, especially with larger sample counts, by coordinating proposals to correct individual errors.

ABSTRACT

Importance weighted variational inference (Burda et al., 2015) uses multiple i.i.d. samples to have a tighter variational lower bound. We believe a joint proposal has the potential of reducing the number of redundant samples, and introduce a hierarchical structure to induce correlation. The hope is that the proposals would coordinate to make up for the error made by one another to reduce the variance of the importance estimator. Theoretically, we analyze the condition under which convergence of the estimator variance can be connected to convergence of the lower bound. Empirically, we confirm that maximization of the lower bound does implicitly minimize variance. Further analysis shows that this is a result of negative correlation induced by the proposed hierarchical meta sampling scheme, and performance of inference also improves when the number of samples increases.

Motivation & Objective

  • Address the high variance in importance-weighted variational inference by introducing structured dependencies among samples.
  • Improve posterior approximation quality by using a hierarchical meta-sampler that coordinates multiple proposals.
  • Theoretically connect convergence of the lower bound to convergence of the estimator variance.
  • Empirically validate that maximizing the lower bound implicitly minimizes variance due to induced negative correlation.
  • Demonstrate improved inference performance on density estimation benchmarks using hierarchical sampling with optimized weighting heuristics.

Proposed method

  • Introduce a hierarchical latent structure where a shared meta-latent variable $\mathbf{z}_0$ controls multiple proposal distributions $q_j(\mathbf{z}_j|\mathbf{z}_0)$, inducing dependency among samples.
  • Derive a hierarchical importance weighted lower bound (H-IWLB) that generalizes the standard IWAE bound by incorporating shared meta-sampling.
  • Use importance weighting with a weighting function $\pi_j$ to correct for bias, with heuristics like uniform averaging ($\alpha=0$) and balanced weighting ($\alpha=1$).
  • Train the model via gradient-based optimization of the H-IWLB, with amortized inference via neural network encoders.
  • Apply sampling importance resampling (SIR) to visualize and analyze the correlation structure of the learned proposals.
  • Use polyak averaging and learning rate scheduling to stabilize training on standard density estimation datasets.

Experimental results

Research questions

  • RQ1Can a hierarchical meta-sampling scheme reduce the variance of the importance-weighted estimator in variational inference?
  • RQ2Does inducing negative correlation among multiple proposals improve the tightness of the variational lower bound?
  • RQ3How does the choice of weighting heuristic affect the shape and correlation structure of the learned proposals?
  • RQ4Does maximizing the H-IWLB implicitly minimize the variance of the Monte Carlo estimate of the bound?
  • RQ5Can hierarchical sampling improve inference performance on standard density estimation benchmarks compared to standard IWAE?

Key findings

  • The H-IWAE model achieves lower variance in the importance-weighted estimator by inducing negative correlation among proposals through a shared meta-latent variable $\mathbf{z}_0$.
  • Empirical results confirm that maximizing the H-IWLB implicitly reduces the variance of the estimator, supporting the theoretical connection between bound convergence and variance convergence.
  • With $\alpha=1$ (balanced heuristic), proposals become more specialized and negatively correlated, leading to better performance on binarized MNIST and OMNIGLOT datasets as $K$ increases.
  • On Caltech101 Silhouettes, H-IWAE with $K=5$ and $\alpha=1$ outperforms standard Gaussian IWAE and single-hierarchical-proposal IWAE, though performance is still below the best baseline.
  • Repeating encoder updates per minibatch before decoder update significantly improves H-IWAE performance, suggesting reduced amortization bias due to better inference model optimization.
  • Visualizations show that proposals trained with a common $\mathbf{z}_0$ are negatively correlated, while independent $\mathbf{z}_0$ leads to positively correlated biases and worse 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.