Skip to main content
QUICK REVIEW

[Paper Review] Perturbative Black Box Variational Inference

Robert Bamler, Cheng Zhang|arXiv (Cornell University)|Sep 21, 2017
Gaussian Processes and Bayesian InferenceComputer Science20 references7 citations
TL;DR

This paper proposes Perturbative Black Box Variational Inference (PBBVI), a new family of variational bounds indexed by an odd integer order $K$ that improves upon standard black box variational inference by reducing gradient variance while tightening the bound on the marginal likelihood. For $K=3$, PBBVI achieves better posterior coverage and higher test likelihoods than both KLVI and alpha-VI, with lower-variance gradients and faster convergence.

ABSTRACT

Black box variational inference (BBVI) with reparameterization gradients triggered the exploration of divergence measures other than the Kullback-Leibler (KL) divergence, such as alpha divergences. In this paper, we view BBVI with generalized divergences as a form of estimating the marginal likelihood via biased importance sampling. The choice of divergence determines a bias-variance trade-off between the tightness of a bound on the marginal likelihood (low bias) and the variance of its gradient estimators. Drawing on variational perturbation theory of statistical physics, we use these insights to construct a family of new variational bounds. Enumerated by an odd integer order $K$, this family captures the standard KL bound for $K=1$, and converges to the exact marginal likelihood as $K o\infty$. Compared to alpha-divergences, our reparameterization gradients have a lower variance. We show in experiments on Gaussian Processes and Variational Autoencoders that the new bounds are more mass covering, and that the resulting posterior covariances are closer to the true posterior and lead to higher likelihoods on held-out data.

Motivation & Objective

  • To address the high-variance gradient estimators in reparameterized black box variational inference with generalized divergences, particularly for alpha-divergences.
  • To develop a new family of variational bounds that balance bias and variance by leveraging perturbation theory from statistical physics.
  • To construct a method that maintains low-variance reparameterization gradients while approaching the exact marginal likelihood as $K \to \infty$.
  • To empirically validate that the new bounds yield better posterior approximations and higher predictive likelihoods than existing methods like KLVI and alpha-VI.

Proposed method

  • Proposes a new variational lower bound $\mathcal{L}^{(K)}(\lambda, V_0)$ indexed by an odd integer $K$, derived from perturbation theory of statistical physics.
  • The bound is expressed as an expectation over the variational distribution of a polynomial expansion in the log density difference $\log p(\mathbf{x}, \mathbf{z}) - \log q(\mathbf{z}; \lambda) + V_0$ up to order $K$.
  • Uses reparameterization gradients for efficient, low-variance optimization of the bound via stochastic gradient descent.
  • Introduces a learnable reference energy $V_0$ as a function of the data, modeled via a neural network, to improve flexibility and approximation quality.
  • Applies the method to Gaussian Processes and Variational Autoencoders, using amortized inference networks to scale to large datasets.
  • Employs a training strategy that shuffles data per epoch and uses mini-batches of size 20 to ensure stable convergence.

Experimental results

Research questions

  • RQ1Can a new family of variational bounds be derived using perturbation theory that reduces gradient variance while tightening the bound on the marginal likelihood?
  • RQ2How does the performance of PBBVI compare to KLVI and alpha-VI in terms of posterior coverage and predictive likelihood?
  • RQ3Does increasing the perturbative order $K$ lead to a systematic improvement in approximation quality and convergence speed?
  • RQ4Can the PBBVI bound be effectively scaled to large datasets using mini-batch training and amortized inference?

Key findings

  • For $K=3$, PBBVI produces variational distributions that cover more of the true posterior mass compared to KLVI and alpha-VI, especially on smaller training sets.
  • PBBVI achieves higher predictive log-likelihood on held-out test data than KLVI across all training set sizes, with the largest gain observed on smaller subsets.
  • The gradient estimators in PBBVI exhibit significantly lower variance than those in alpha-VI, leading to faster convergence during training.
  • As the training set size increases, the performance of PBBVI approaches that of KLVI, consistent with theoretical expectations that $\mathbb{E}_{q^*}[(V_0^* - V)^3] = 0$ implies convergence to KLVI in the large-data limit.
  • The PBBVI bound converges to the true marginal likelihood as $K \to \infty$, demonstrating theoretical consistency with the true posterior.
  • The method enables more reliable hyperparameter optimization in variational EM due to tighter approximation of the log marginal likelihood at higher $K$.

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.