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) — a mixture over candidate dimensions k. Posterior probabilities π^(k∣y) are estimated as the fraction of MCMC draws at dimension k; Bayes factors are their ratios.
Key Ideas
Dimension-matching bijection: to move from dimension d to d′>d, draw auxiliary variables u∼q(u) of dimension d′−d and construct θ′=g(θ,u) via a differentiable bijection. The reverse move uses u′∼q(u′) with θ=g−1(θ′,u′). The joint (θ,u) and (θ′,u′) must have equal dimension.
Acceptance ratio:α=min[1,π(θ,k)q(u)π(θ′,k′)q(u′)∂(θ,u)∂(θ′,u′)]. The Jacobian corrects for the change of variables and ensures detailed balance holds across model dimensions.
Move types: standard implementations include birth (add a component, k→k+1), death (remove a component, k→k−1), move (perturb current parameters at fixed k), and parameter renewal (e.g., Gibbs update of nuisance σ2). Move probabilities pb(k) and pd(k) must satisfy the balance condition pb(k)π(k)=pd(k+1)π(k+1) for ergodicity.
Prior on dimension: a truncated Poisson π(k)∝Pois(λ) on {1,…,Kmax} or geometric prior penalises large k and ensures the chain is bounded.
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(y∣k,θ(k)); the MCMC target is the joint posterior p(k,θ(k)∣y).
Multiple change-point (Poisson process): Coal mining disasters 1851–1962 (n=192, L=40,907 days). Prior: k∼Poisson(λ=3) truncated at kmax=30; step positions are even-order statistics from 2k+1 uniform draws (spacing prior); heights hj∼Gamma(1,200). Four move types (H, P, birth, death); birth splits height hj using u∼Uniform[0,1] via hj+1′/hj′=(1−u)/u with Jacobian (hj′+hj+1′)2/hj. 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×50 disc (intensity 2.0 vs. background 0.5, σ=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×2 factorial; groups share a common β drawn from a prior partition; RJMCMC results replicate Consonni-Veronese analytic approximations.
Model: nondecreasing regression Xi=F(ti)+εi, εi∼N(0,σ2), with F approximated as a mixture of r triangular cumulative distribution functions (CDFs) on partition {x1,…,xr−1}⊂(0,1). Parameters θ=(σ2,r,x1,…,xr−1). Four operations are proposed at each step:
Renew σ2: Gibbs draw from π(σ2∣r,x).
Death: draw node index j uniformly; propose θ0=(σ2,r−1,partition without xj); accept with probability min[1,λ(xj+1−xj−1)pb(r−1)f(y∣θ0)/(pd(r)f(y∣θ))].
Move: draw j uniformly; propose z∼Uniform[xj−1,xj+1]; standard Metropolis-Hastings (MH) accept ratio f(y∣θz)/f(y∣θ).
Birth: draw j uniformly; insert z∼Uniform[xj−1,xj]; accept with probability min[1,pd(r+1)f(y∣θ0)/(λ(xj−xj−1)pb(r)f(y∣θ))].
In simulations the posterior for r 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×106 iterations. RJMCMC achieves B^21=67.83 — strong evidence for the random-effects model — and is the recommended approach for variable-dimension problems.
Why It Matters
Marginalises over model dimension within a single MCMC run rather than requiring separate runs per candidate k or a product-space augmentation (Carlin-Chib 1995).
Well-suited to nonparametric problems where the effective dimension is unknown: number of spline knots, mixture components, change-point locations, or regression terms.
Posterior π^(k∣y) directly estimates model probabilities; no normalising constant is needed for Bayes factors between models of the same type.
Open Questions
Choosing the bijection g and proposal q(u) to achieve efficient mixing is problem-specific and requires tuning; poor choices result in near-zero acceptance for birth/death moves.
Convergence diagnostics for trans-dimensional chains are harder than for fixed-dimension MCMC since standard spectral methods apply only within each k.
For small numbers of candidate models, running Chib (1995) or Chib-Jeliazkov (2001) for each k separately may be more efficient and easier to diagnose.