Skip to main content
QUICK REVIEW

[Paper Review] Unbiased Implicit Variational Inference

Michalis K. Titsias, Francisco J. R. Ruiz|arXiv (Cornell University)|Aug 6, 2018
Domain Adaptation and Few-Shot LearningComputer Science25 citations
TL;DR

This paper proposes Unbiased Implicit Variational Inference (uivi), a method that enables direct, unbiased optimization of the evidence lower bound (ELBO) using an implicit variational distribution constructed via deep neural networks. Unlike prior approaches relying on density ratio estimation or surrogate bounds, uivi uses a reparameterizable conditional distribution over latent variables, enabling efficient, unbiased gradient estimation through Monte Carlo sampling, and achieves tighter ELBOs and better predictive performance than sivi and standard VAEs at comparable computational cost.

ABSTRACT

We develop unbiased implicit variational inference (UIVI), a method that expands the applicability of variational inference by defining an expressive variational family. UIVI considers an implicit variational distribution obtained in a hierarchical manner using a simple reparameterizable distribution whose variational parameters are defined by arbitrarily flexible deep neural networks. Unlike previous works, UIVI directly optimizes the evidence lower bound (ELBO) rather than an approximation to the ELBO. We demonstrate UIVI on several models, including Bayesian multinomial logistic regression and variational autoencoders, and show that UIVI achieves both tighter ELBO and better predictive performance than existing approaches at a similar computational cost.

Motivation & Objective

  • To overcome the limitations of existing implicit variational inference methods that rely on approximations or density ratio estimation.
  • To enable direct optimization of the evidence lower bound (ELBO) in models with complex, implicit variational families.
  • To develop a scalable and unbiased gradient estimator for ELBO optimization using hierarchical reparameterization and efficient MCMC sampling.
  • To improve both ELBO tightness and predictive performance in Bayesian models such as Bayesian logistic regression and variational autoencoders.

Proposed method

  • uivi defines a semi-implicit variational distribution by mixing a reparameterizable conditional distribution $ q_{\theta}(z|\varepsilon) $ with a flexible noise distribution $ q(\varepsilon) $, where $ \theta $ is a deep neural network mapping $ \varepsilon $ to the parameters of $ q_{\theta}(z|\varepsilon) $.
  • The method expresses the ELBO gradient as an expectation over $ q_{\theta}(\varepsilon|z) $, enabling unbiased Monte Carlo estimation of the gradient without density ratio estimation.
  • A fast Markov chain Monte Carlo (MCMC) procedure is used to sample from the conditional $ q_{\theta}(\varepsilon|z) $, starting from the stationary distribution to avoid burn-in phases.
  • The gradient estimator is constructed using samples from $ q_{\theta}(z|\varepsilon) $ and $ q_{\theta}(\varepsilon|z) $, allowing unbiased optimization of the ELBO via stochastic gradient ascent.
  • The approach maintains computational efficiency by leveraging reparameterization and avoiding iterative density ratio estimation.
  • The method is applied to Bayesian multinomial logistic regression and variational autoencoders (VAEs), with shared architecture and training setup for fair comparison.

Experimental results

Research questions

  • RQ1Can we achieve unbiased optimization of the ELBO in implicit variational inference without relying on density ratio estimation?
  • RQ2Can a hierarchical reparameterization scheme with deep neural networks yield a more expressive and flexible variational family while enabling unbiased gradient estimation?
  • RQ3Does direct ELBO optimization via unbiased gradients lead to tighter bounds and improved predictive performance compared to surrogate bounds used in sivi?
  • RQ4Can the proposed method maintain computational efficiency while outperforming standard VAEs and sivi in terms of ELBO and test log-likelihood?

Key findings

  • uivi achieves a test log-likelihood of -94.09 on MNIST and -110.72 on Fashion-MNIST, significantly outperforming sivi (-97.77 and -121.53) and the standard VAE.
  • The ELBO value under uivi is tighter than both sivi and the standard VAE, indicating a better approximation of the true posterior.
  • uivi maintains similar computational cost to sivi, with average iteration times of 0.14s on MNIST and 0.13s on Fashion-MNIST, compared to 0.16s and 0.17s for sivi.
  • Reconstructions from uivi show higher fidelity than those from sivi and standard VAEs, as demonstrated in qualitative results on MNIST and Fashion-MNIST.
  • The method successfully avoids the need for density ratio estimation by expressing the ELBO gradient as an expectation, enabling unbiased estimation via MCMC sampling from $ q_{\theta}(\varepsilon|z) $.
  • uivi demonstrates consistent improvements in both ELBO and predictive performance across multiple models, validating its effectiveness in complex Bayesian inference settings.

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.