Barker's algorithm accepts a proposed move from to

PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Computational Physics · Monte Carlo and lattice simulation of physical systems

Error, Chance and the Machine, Ch Markov-chain Monte Carlo

Problem

Barker's algorithm accepts a proposed move from xx to yy, drawn from a proposal density q(y∣x)q(y\mid x) that satisfies q(y∣x)=q(x∣y)q(y\mid x)=q(x\mid y) (a symmetric proposal), with probability αB(x,y)=p(y)p(x)+p(y),\alpha_B(x,y) = \frac{p(y)}{p(x)+p(y)}, rather than the Metropolis choice min⁡(1,p(y)/p(x))\min(1,p(y)/p(x)), where pp is the (unnormalised) target density. (a) Show that the kernel K(x,y)=q(y∣x) αB(x,y)K(x,y) = q(y\mid x)\,\alpha_B(x,y) (for y≠xy\ne x) satisfies detailed balance, p(x)K(x,y)=p(y)K(y,x)p(x)K(x,y)=p(y)K(y,x), for any symmetric proposal qq. (b) A particle occupies one of two energy levels, E1=0E_1=0 and E2=ΔE_2=\Delta, with Boltzmann weights p(i)∝e−βEip(i)\propto e^{-\beta E_i}. A symmetric proposal always proposes the other level, q(2∣1)=q(1∣2)=1q(2\mid1)=q(1\mid2)=1. For βΔ=2\beta\Delta=2, use the unnormalised weights p(1)=1p(1)=1, p(2)=e−βΔp(2)=e^{-\beta\Delta} to compute the Barker acceptance probabilities αB(1,2)\alpha_B(1,2) and αB(2,1)\alpha_B(2,1), and verify numerically that p(1)K(1,2)=p(2)K(2,1)p(1)K(1,2)=p(2)K(2,1) to three significant figures. (c) For the same two-level system at βΔ=2\beta\Delta = 2, write the 2×22\times2 transition matrix of the Barker chain and of the Metropolis chain, and find the second eigenvalue λ2\lambda_2 of each. Compute the integrated autocorrelation time τint\tau_{\rm int} of the energy for each chain. Which chain gives the smaller error bar on the mean energy for a fixed run length, and why does the chain with the larger acceptances win?

Browse the problem library