Skip to main content
QUICK REVIEW

[Paper Review] Iterative Amortized Inference

Joseph Marino, Yisong Yue|arXiv (Cornell University)|Jul 24, 2018
Generative Adversarial Networks and Image SynthesisComputer Science37 citations
TL;DR

This paper introduces iterative amortized inference, a method that improves variational inference in deep latent variable models by learning to iteratively refine approximate posterior estimates using encoded gradients. By applying learned optimization steps across multiple inference iterations, the approach closes the amortization gap and achieves state-of-the-art performance on image and text benchmarks, outperforming standard inference models in both reconstruction and likelihood objectives.

ABSTRACT

Inference models are a key component in scaling variational inference to deep latent variable models, most notably as encoder networks in variational auto-encoders (VAEs). By replacing conventional optimization-based inference with a learned model, inference is amortized over data examples and therefore more computationally efficient. However, standard inference models are restricted to direct mappings from data to approximate posterior estimates. The failure of these models to reach fully optimized approximate posterior estimates results in an amortization gap. We aim toward closing this gap by proposing iterative inference models, which learn to perform inference optimization through repeatedly encoding gradients. Our approach generalizes standard inference models in VAEs and provides insight into several empirical findings, including top-down inference techniques. We demonstrate the inference optimization capabilities of iterative inference models and show that they outperform standard inference models on several benchmark data sets of images and text.

Motivation & Objective

  • To address the amortization gap in variational inference, where standard inference models fail to reach fully optimized posterior estimates.
  • To generalize standard inference models in VAEs by enabling iterative refinement of posterior approximations through learned optimization.
  • To provide a theoretical justification for top-down inference techniques commonly used in practice but previously lacking formal grounding.
  • To improve computational efficiency and convergence speed in posterior inference by learning optimization dynamics via neural networks.

Proposed method

  • The method employs a neural network-based inference model that iteratively updates approximate posterior parameters using encoded gradients of the ELBO with respect to the posterior parameters.
  • It generalizes standard VAE inference by allowing multiple inference steps, where each step refines the posterior estimate using a learned update rule.
  • The inference model is trained to predict updates to the posterior parameters based on the current data and gradient information, effectively learning a meta-optimizer for posterior inference.
  • A variant of the method encodes prediction errors instead of gradients to approximate higher-order derivatives, leading to faster convergence in practice.
  • The approach is applied in both one-level and hierarchical latent variable models, with architectures including fully connected and highway-connected layers.
  • Training involves multiple inference iterations per data example, with gradients backpropagated through the iterative process to jointly optimize the inference and generative models.

Experimental results

Research questions

  • RQ1Can iterative inference models close the amortization gap in variational autoencoders by refining posterior estimates beyond a single forward pass?
  • RQ2Does learning to perform iterative optimization in posterior inference lead to improved likelihood and reconstruction performance on image and text datasets?
  • RQ3Can the proposed method provide a theoretical basis for top-down inference techniques used in practice?
  • RQ4How does encoding gradients versus errors affect convergence speed and final performance in iterative inference?
  • RQ5Can non-recurrent optimization models outperform conventional optimizers in posterior inference without requiring explicit modeling of curvature?

Key findings

  • Iterative inference models outperform standard inference models on MNIST, Omniglot, SVHN, CIFAR-10, and RCV1, achieving higher ELBOs and lower perplexity.
  • On the RCV1 text dataset, iterative models achieved a test perplexity of 108.5, significantly outperforming the standard model and closing the gap with importance-weighted baselines.
  • The use of error encoding in the optimization step led to faster convergence and improved performance compared to gradient encoding in some settings.
  • The method demonstrated consistent improvements across both one-level and hierarchical models, with gains observed in both reconstruction quality and likelihood.
  • Gradient magnitudes decreased over inference iterations, indicating effective convergence toward a stable posterior estimate.
  • The iterative approach achieved state-of-the-art performance on image and text benchmarks, validating its effectiveness in reducing the amortization gap.

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.