Skip to main content
QUICK REVIEW

[Paper Review] Fast Variational Inference in the Conjugate Exponential Family

James Hensman, Magnus Rattray|arXiv (Cornell University)|Jun 22, 2012
Gaussian Processes and Bayesian InferenceComputer Science18 references78 citations
TL;DR

This paper introduces a unified framework for fast variational inference in conjugate exponential family models by deriving a collapsed variational bound that enables efficient optimization via conjugate gradients. The method achieves up to an order of magnitude speedup over standard variational inference, with empirical results showing significant convergence improvements in Gaussian mixtures, LDA, and RNA-Seq models.

ABSTRACT

We present a general method for deriving collapsed variational inference algo- rithms for probabilistic models in the conjugate exponential family. Our method unifies many existing approaches to collapsed variational inference. Our collapsed variational inference leads to a new lower bound on the marginal likelihood. We exploit the information geometry of the bound to derive much faster optimization methods based on conjugate gradients for these models. Our approach is very general and is easily applied to any model where the mean field update equations have been derived. Empirically we show significant speed-ups for probabilistic models optimized using our bound.

Motivation & Objective

  • To unify existing collapsed variational inference approaches into a single framework applicable to conjugate exponential family models.
  • To derive a new lower bound on the marginal likelihood that enables faster optimization through curvature exploitation.
  • To enable efficient optimization using conjugate gradients by leveraging the information geometry of the collapsed bound.
  • To facilitate integration into automated inference tools like Infer.NET by providing a general, plug-and-play method.
  • To demonstrate substantial speedups in convergence for large-scale models such as LDA and RNA-Seq.

Proposed method

  • Derives a unified collapsed variational bound using the KL-corrected bound framework, unifying prior approaches under a single formulation.
  • Applies a d-separation test to identify which latent variables can be analytically marginalized, simplifying the optimization landscape.
  • Reframes standard variational inference as steepest ascent on the collapsed bound, enabling natural gradient and conjugate gradient optimization.
  • Uses the information geometry of the bound to compute curvature-aware search directions, allowing larger, more efficient optimization steps.
  • Employs conjugate gradient methods—specifically Fletcher-Reeves and Hestenes-Steifel variants—on the collapsed bound to accelerate convergence.
  • Provides a minimal-code extension to existing mean field algorithms, requiring only minor modifications to switch from VBEM to conjugate gradient optimization.

Experimental results

Research questions

  • RQ1Can a unified framework be developed for collapsed variational inference across all conjugate exponential family models?
  • RQ2How does the collapsed variational bound compare to standard mean field variational inference in terms of optimization efficiency?
  • RQ3Can conjugate gradient methods significantly accelerate convergence in large-scale probabilistic models?
  • RQ4What is the impact of curvature-aware optimization on convergence speed and solution quality?
  • RQ5To what extent can this method be integrated into automated inference engines like Infer.NET?

Key findings

  • The Fletcher-Reeves conjugate gradient method reduced optimization time from 370 minutes to 38.5 minutes in the LDA model, a 90% speedup.
  • In the RNA-Seq model, the conjugate gradient method converged in 268 iterations (8 seconds per iteration), compared to 4,459 iterations for standard VBEM, reducing time from ~11 hours to ~40 minutes.
  • The collapsed bound was shown to be strictly tighter than the standard mean field bound, enabling larger optimization steps and faster convergence.
  • The method achieved convergence in a mixture of Gaussians model where standard VBEM failed to find a good solution, demonstrating improved robustness.
  • The approach is easily integrable into existing inference pipelines, requiring only a few lines of code to switch from VBEM to conjugate gradient optimization.
  • Empirical results show that the method consistently outperforms standard VBEM across diverse models, with speedups of up to an order of magnitude.

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.