Skip to main content
QUICK REVIEW

[Paper Review] Variational Bayesian Monte Carlo

Luigi Acerbi|arXiv (Cornell University)|Oct 12, 2018
Gaussian Processes and Bayesian InferenceComputer Science12 citations
TL;DR

This paper introduces Variational Bayesian Monte Carlo (VBMC), a sample-efficient framework that combines variational inference with Gaussian-process-based Bayesian quadrature to approximate posterior distributions and model evidence for expensive, black-box likelihoods. VBMC achieves robust performance across synthetic and real neuronal models (up to D=10) with limited likelihood evaluations, outperforming existing methods in accuracy and consistency.

ABSTRACT

Many probabilistic models of interest in scientific computing and machine learning have expensive, black-box likelihoods that prevent the application of standard techniques for Bayesian inference, such as MCMC, which would require access to the gradient or a large number of likelihood evaluations. We introduce here a novel sample-efficient inference framework, Variational Bayesian Monte Carlo (VBMC). VBMC combines variational inference with Gaussian-process based, active-sampling Bayesian quadrature, using the latter to efficiently approximate the intractable integral in the variational objective. Our method produces both a nonparametric approximation of the posterior distribution and an approximate lower bound of the model evidence, useful for model selection. We demonstrate VBMC both on several synthetic likelihoods and on a neuronal model with data from real neurons. Across all tested problems and dimensions (up to $D = 10$), VBMC performs consistently well in reconstructing the posterior and the model evidence with a limited budget of likelihood evaluations, unlike other methods that work only in very low dimensions. Our framework shows great promise as a novel tool for posterior and model inference with expensive, black-box likelihoods.

Motivation & Objective

  • Address the challenge of Bayesian inference in models with expensive, black-box likelihoods where standard MCMC or variational methods are infeasible due to high evaluation costs.
  • Simultaneously approximate the posterior distribution and the model evidence (marginal likelihood) under limited likelihood evaluation budgets.
  • Develop a method that remains effective in medium dimensions (up to D=10), even with complex likelihoods exhibiting multi-modality, heavy tails, and strong parameter correlations.
  • Overcome limitations of existing surrogate-based methods that focus only on posterior or model evidence, not both.
  • Provide a robust, sample-efficient inference framework suitable for scientific computing and machine learning applications with computationally intensive models.

Proposed method

  • Use variational inference to approximate the true posterior with a parametric family qϕ(x), minimizing the KL divergence via optimization of variational parameters ϕ.
  • Replace the intractable marginal likelihood integral in the variational objective with a GP-based Bayesian quadrature approximation, enabling efficient numerical integration.
  • Leverage active sampling via acquisition functions (e.g., a_pro) to strategically select likelihood evaluations, improving GP surrogate accuracy in regions of high posterior density.
  • Employ Gaussian processes to model the log joint distribution log p(D|x)p(x), using the GP posterior to guide sampling and estimate integrals with uncertainty quantification.
  • Optimize GP hyperparameters and update the variational approximation iteratively, switching from sampling to optimization to reduce computational cost over time.
  • Integrate the GP surrogate into the variational objective to compute a lower bound on the model evidence (ELBO), enabling model selection.

Experimental results

Research questions

  • RQ1Can a unified framework simultaneously approximate the posterior and model evidence for expensive, black-box likelihoods with limited function evaluations?
  • RQ2How does VBMC perform on likelihoods with realistic properties such as multi-modality, heavy tails, and strong parameter correlations?
  • RQ3Does VBMC outperform existing methods in terms of accuracy and sample efficiency across diverse synthetic and real-world problems?
  • RQ4To what extent does the quality of VBMC’s posterior approximation improve model evidence estimation compared to surrogate-only or inference-only methods?
  • RQ5How does VBMC’s algorithmic cost scale with the number of likelihood evaluations, and how does it compare to alternatives like WSABI or BBQ?

Key findings

  • VBMC consistently reconstructs both the posterior and model evidence with high accuracy across all tested synthetic likelihoods and real neuronal data, even in up to D=10 dimensions.
  • VBMC outperforms WSABI, BBQ, and BAPE in terms of posterior accuracy and model evidence estimation, particularly on complex, non-trivial likelihoods with multi-modality and correlations.
  • On the V1 neuronal model (D=7), VBMC achieved a median Gaussianized symmetrized KL divergence of less than one (below the desirable threshold) with only 250–300 likelihood evaluations.
  • The algorithmic cost per function evaluation for VBMC is moderate (2–3 seconds on average), and it drops significantly after ~275 evaluations due to a switch from hyperparameter sampling to optimization.
  • Control experiments show that VBMC produces higher-quality samples than other methods, as evidenced by improved LML estimates when using WSABI-L on VBMC-generated samples.
  • Direct GP fitting on VBMC samples yields a better posterior approximation than other methods, though still less accurate than VBMC’s variational posterior, confirming the quality of VBMC’s variational approximation.

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.