Bridge Sampling

bayesianmarginal-likelihoodbayes-factormonte-carloimportance-samplingmcmc

Definition

Bridge sampling (Meng-Wong 1996) is a Monte Carlo method for estimating a ratio of normalizing constants — and hence a Bayes factor or a single marginal likelihood — by connecting two densities through an intermediate "bridge" function. For two densities known only up to their constants, pi(θ)=qi(θ)/cip_i(\theta)=q_i(\theta)/c_i (i=1,2i=1,2), the identity c1c2=E2[q1(θ)α(θ)]E1[q2(θ)α(θ)]\frac{c_1}{c_2} = \frac{\mathrm{E}_{2}[\,q_1(\theta)\,\alpha(\theta)\,]}{\mathrm{E}_{1}[\,q_2(\theta)\,\alpha(\theta)\,]} holds for any bridge function α(θ)\alpha(\theta) with finite, nonzero expectations, where Ei\mathrm{E}_i denotes expectation under pip_i. Both expectations are estimated from draws already available under each density, so the constant ratio is recovered without sampling from any bridging path.

Key Ideas

How It Works

  1. Obtain draws from the posterior p1(θ)=p(θy)p_1(\theta)=p(\theta\mid y) (unnormalized q1=p(yθ)p(θ)q_1=p(y\mid\theta)p(\theta), target constant c1=p(y)c_1=p(y)) and construct a normalized proposal p2p_2 with known constant, drawing a sample from it.
  2. Initialise the constant ratio (e.g. by importance sampling).
  3. Iterate the fixed-point recursion for the optimal bridge, alternately updating α\alpha and the current estimate of c1/c2c_1/c_2 from the two samples, until convergence.
  4. Return p^(y)=c1\hat p(y)=c_1; for a Bayes factor between two models, either form the ratio of two such marginal likelihoods or bridge the two posteriors directly.

Why It Matters

Open Questions

Related