Reversible Jump MCMC

bayesianmcmcreversible-jumpmodel-selectionnonparametricchange-point

Definition

Reversible jump Markov chain Monte Carlo (RJMCMC), introduced by Green (1995), extends the Metropolis-Hastings algorithm to trans-dimensional parameter spaces. It constructs a single Markov chain that jumps between models of different dimension, with stationary distribution π(θ,k)π(k)L(yθk)\pi(\theta, k) \propto \pi(k)\,L(y|\theta_k) — a mixture over candidate dimensions kk. Posterior probabilities π^(ky)\hat\pi(k|y) are estimated as the fraction of MCMC draws at dimension kk; Bayes factors are their ratios.

Key Ideas

How It Works

Original Framework and Applications (Green 1995)

Green (1995) demonstrates the framework on three problems. The joint distribution is p(k,θ(k),y)=p(k)p(θ(k)k)p(yk,θ(k))p(k, \theta^{(k)}, y) = p(k)p(\theta^{(k)}\mid k)p(y\mid k,\theta^{(k)}); the MCMC target is the joint posterior p(k,θ(k)y)p(k, \theta^{(k)}\mid y).

Multiple change-point (Poisson process): Coal mining disasters 1851–1962 (n=192, L=40,907 days). Prior: kPoisson(λ=3)k \sim \text{Poisson}(\lambda=3) truncated at kmax=30k_{\max}=30; step positions are even-order statistics from 2k+12k+1 uniform draws (spacing prior); heights hjGamma(1,200)h_j \sim \text{Gamma}(1,200). Four move types (H, P, birth, death); birth splits height hjh_j using uUniform[0,1]u \sim \text{Uniform}[0,1] via hj+1/hj=(1u)/uh_{j+1}'/h_j' = (1-u)/u with Jacobian (hj+hj+1)2/hj(h_j'+h_{j+1}')^2/h_j. Result: posterior mode k=3 change-points; main break near 25 June 1890; 40,000 iterations/45 sec (Sun Sparc 2).

Image segmentation (Voronoi tessellation): 2D analogue — k tiles, each with uniform intensity; birth/death of generating points. Synthetic 50×5050\times50 disc (intensity 2.0 vs. background 0.5, σ=0.7\sigma=0.7) recovered after 20,000 sweeps, 260 sec.

Partition models (binomial experiments): Pine seedling mortality data (Consonni-Veronese 1995), 4 responses in a 2×22\times 2 factorial; groups share a common β\beta drawn from a prior partition; RJMCMC results replicate Consonni-Veronese analytic approximations.

Triangular Mixture Application (Perron-Mengersen 2001)

Model: nondecreasing regression Xi=F(ti)+εiX_i=F(t_i)+\varepsilon_i, εiN(0,σ2)\varepsilon_i\sim\mathcal{N}(0,\sigma^2), with FF approximated as a mixture of rr triangular cumulative distribution functions (CDFs) on partition {x1,,xr1}(0,1)\{x_1,\ldots,x_{r-1}\}\subset(0,1). Parameters θ=(σ2,r,x1,,xr1)\theta=(\sigma^2, r, x_1,\ldots,x_{r-1}). Four operations are proposed at each step:

  1. Renew σ2\sigma^2: Gibbs draw from π(σ2r,x)\pi(\sigma^2|r,x).
  2. Death: draw node index jj uniformly; propose θ0=(σ2,r1,partition without xj)\underline\theta_0=(\sigma^2,r-1,\text{partition without }x_j); accept with probability min[1,  λ(xj+1xj1)pb(r1)f(yθ0)/(pd(r)f(yθ))]\min[1,\;\lambda(x_{j+1}-x_{j-1})\,p_b(r-1)\,f(y|\underline\theta_0) / (p_d(r)\,f(y|\theta))].
  3. Move: draw jj uniformly; propose zUniform[xj1,xj+1]z\sim\text{Uniform}[x_{j-1},x_{j+1}]; standard Metropolis-Hastings (MH) accept ratio f(yθz)/f(yθ)f(y|\theta_z)/f(y|\theta).
  4. Birth: draw jj uniformly; insert zUniform[xj1,xj]z\sim\text{Uniform}[x_{j-1},x_j]; accept with probability min[1,  pd(r+1)f(yθ0)/(λ(xjxj1)pb(r)f(yθ))]\min[1,\;p_d(r+1)\,f(y|\underline\theta_0) / (\lambda(x_j-x_{j-1})\,p_b(r)\,f(y|\theta))].

In simulations the posterior for rr concentrates between 10 and 30 with unimodal, roughly symmetric shape.

Bayes Factor Computation (Han-Carlin 2001)

For an acquired immunodeficiency syndrome (AIDS) CD4 count model (467 subjects), Carlin-Chib product-space and modified Carlin-Chib methods fail to converge after 1.5×1061.5\times10^6 iterations. RJMCMC achieves B^21=67.83\hat B_{21}=67.83 — strong evidence for the random-effects model — and is the recommended approach for variable-dimension problems.

Why It Matters

Open Questions

Related