Skip to main content
QUICK REVIEW

[Paper Review] Sandwiching the marginal likelihood using bidirectional Monte Carlo

Roger Grosse, Zoubin Ghahramani|arXiv (Cornell University)|Nov 8, 2015
Statistical Methods and InferenceMathematics32 references33 citations
TL;DR

This paper introduces bidirectional Monte Carlo (BDMC), a method that computes tight stochastic bounds on the marginal likelihood by combining forward and reverse annealed importance sampling. It enables accurate, quantitatively verifiable estimation of marginal likelihoods on simulated data, revealing that AIS, SMC, and NS are the most reliable estimators among those tested, while likelihood weighting and BIC are consistently inaccurate.

ABSTRACT

Computing the marginal likelihood (ML) of a model requires marginalizing out all of the parameters and latent variables, a difficult high-dimensional summation or integration problem. To make matters worse, it is often hard to measure the accuracy of one's ML estimates. We present bidirectional Monte Carlo, a technique for obtaining accurate log-ML estimates on data simulated from a model. This method obtains stochastic lower bounds on the log-ML using annealed importance sampling or sequential Monte Carlo, and obtains stochastic upper bounds by running these same algorithms in reverse starting from an exact posterior sample. The true value can be sandwiched between these two stochastic bounds with high probability. Using the ground truth log-ML estimates obtained from our method, we quantitatively evaluate a wide variety of existing ML estimators on several latent variable models: clustering, a low rank approximation, and a binary attributes model. These experiments yield insights into how to accurately estimate marginal likelihoods.

Motivation & Objective

  • To address the lack of reliable ground-truth marginal likelihood estimates for evaluating ML estimators in complex models.
  • To develop a method that provides both stochastic upper and lower bounds on the true log-ML with high probability.
  • To enable quantitative benchmarking of existing marginal likelihood estimators using simulated data with known ground truth.
  • To identify which estimators—such as AIS, SMC, or NS—perform reliably across different latent variable models.
  • To support the development of better inference algorithms by providing a rigorous evaluation framework for marginal likelihood estimation.

Proposed method

  • Proposes bidirectional Monte Carlo (BDMC), which runs standard importance sampling algorithms (e.g., AIS, SMC) both forward and in reverse to generate stochastic lower and upper bounds on the log-ML.
  • Uses annealed importance sampling (AIS) or sequential Monte Carlo (SMC) to generate a stochastic lower bound by sampling from a sequence of intermediate distributions.
  • Generates a stochastic upper bound by reversing the same algorithm starting from an exact posterior sample, effectively running the process backward.
  • The true log-ML is almost surely sandwiched between these two bounds, with the gap shrinking as computation increases.
  • Applies the method to simulate data from models including clustering, low-rank approximation, and binary attributes, enabling ground-truth estimation.
  • Employs the resulting bounds as a gold standard to evaluate the accuracy of other ML estimators such as nested sampling, harmonic mean, and BIC.

Experimental results

Research questions

  • RQ1How can we obtain reliable, quantitatively verifiable estimates of marginal likelihood for models where the true value is intractable?
  • RQ2Which existing marginal likelihood estimators—AIS, SMC, nested sampling, harmonic mean, BIC—perform accurately across diverse latent variable models?
  • RQ3Can bidirectional Monte Carlo reliably bound the true marginal likelihood with high probability using only simulated data?
  • RQ4How do algorithmic choices such as annealing schedules or variable collapsing affect the accuracy of marginal likelihood estimation?
  • RQ5To what extent do different estimators systematically over- or underestimate the true log-ML, and can this be detected via BDMC?

Key findings

  • Bidirectional Monte Carlo successfully produces stochastic upper and lower bounds on the log-ML that converge to the true value with sufficient computation, enabling high-confidence ground-truth estimation.
  • AIS achieved an RMSE of 7.5 nats in 16.5 minutes and 9.0 nats in 15.1 minutes on the clustering model, showing strong performance with increasing computation.
  • SMC achieved RMSE values of 11.9 and 4.7 nats in 20.5 and 69 minutes respectively, indicating slower convergence but eventual accuracy.
  • Nested sampling (NS) showed high variance and was outperformed by AIS and SMC, especially under limited computation.
  • Likelihood weighting and the harmonic mean estimator consistently produced inaccurate estimates, with the latter failing even with high confidence.
  • BIC was found to be unreliable and systematically inaccurate across all tested models, despite its widespread use in model selection.

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.