In computational statistics, the preconditioned Crank–Nicolson algorithm (pCN) is a Markov chain Monte Carlo (MCMC) method for obtaining random samples – sequences of random observations – from a target probability distribution for which direct sampling is difficult.
The most significant feature of the pCN algorithm is its dimension robustness, which makes it well-suited for high-dimensional sampling problems. The pCN algorithm is well-defined, with non-degenerate acceptance probability, even for target distributions on infinite-dimensional Hilbert spaces. As a consequence, when pCN is implemented on a real-world computer in large but finite dimension N, i.e. on an N-dimensional subspace of the original Hilbert space, the convergence properties (such as ergodicity) of the algorithm are independent of N. This is in strong contrast to schemes such as Gaussian random walk Metropolis–Hastings and the Metropolis-adjusted Langevin algorithm, whose acceptance probability degenerates to zero as N tends to infinity.
The algorithm as named was highlighted in 2013 by Cotter, Roberts, Stuart and White,[1] and its ergodicity properties were proved a year later by Hairer, Stuart and Vollmer.[2] In the specific context of sampling diffusion bridges, the method was introduced in 2008.[3]
See also: Metropolis–Hastings algorithm.
The pCN algorithm generates a Markov chain
(Xn)n
l{H}
\mu
\mu(E)=
1 | |
Z |
\intE\exp(-\Phi(x))\mu0(dx)
E\subseteql{H}
Z
Z=\intl{H
\mu0=l{N}(0,C0)
l{H}
C0
\Phi\colonl{H}\toR
The Metropolis–Hastings algorithm is a general class of methods that try to produce such Markov chains
(Xn)n
X'n
Xn
Xn
X'n
Xn
The special form of this pCN proposal is to take
X'n=\sqrt{1-\beta2}Xn+\beta\Xin,
\Xin\sim\mu0i.i.d.
X'n|Xn\siml{N}\left(\sqrt{1-\beta2}Xn,\beta2C0\right).
0<\beta<1
Zn\simUnif([0,1])
Xn=X'nifZn\leq\alpha(Xn,X'n),
Xn=XnifZn>\alpha(Xn,X'n).
\alpha(x,x')=min(1,\exp(\phi(x)-\phi(x'))).
It can be shown[2] that this method not only defines a Markov chain that satisfies detailed balance with respect to the target distribution
\mu
\mu
l{H}
Xn
\mu
n\toinfty
\beta
This behaviour of pCN is in stark contrast to the Gaussian random walk proposal
X'n\midXn\siml{N}\left(Xn,\beta\Gamma\right)
\Gamma
l{H}
\mu
X'n+1
Xn
N
\beta
N\toinfty
\beta\to0
N\toinfty