# Multiple-try Metropolis

Jump to: navigation, search

Multiple-try Metropolis is a sampling method that is a modified form of the Metropolis-Hastings method, first presented by Liu, Liang, and Wong in 2000. It is designed to help the sampling trajectory converge faster, by increasing both the step size and the acceptance rate.

## Background

### Problems with Metropolis-Hastings

In Markov chain Monte Carlo, the Metropolis–Hastings algorithm (MH) can be used to sample from a probability distribution which is difficult to sample from directly. However, the MH algorithm requires the user to supply a proposal distribution, which can be relatively arbitrary. In many cases, one uses a Gaussian distribution centered on the current point in the probability space, of the form ${\displaystyle Q(x';x^{t})={\mathcal {N}}(x^{t};\sigma ^{2}I)\,}$. This proposal distribution is convenient to sample from and may be the best choice if one has little knowledge about the target distribution, ${\displaystyle \pi (x)\,}$. If desired, one can use the more general multivariate normal distribution, ${\displaystyle Q(x';x^{t})={\mathcal {N}}(x^{t};\mathbf {\Sigma } )}$, where ${\displaystyle \mathbf {\Sigma } }$ is the covariance matrix which the user believes is similar to the target distribution.

Although this method must converge to the stationary distribution in the limit of infinite sample size, in practice the progress can be exceedingly slow. If ${\displaystyle \sigma ^{2}\,}$ is too large, almost all steps under the MH algorithm will be rejected. On the other hand, if ${\displaystyle \sigma ^{2}\,}$ is too small, almost all steps will be accepted, and the Markov chain will be similar to a random walk through the probability space. In the simpler case of ${\displaystyle Q(x';x^{t})={\mathcal {N}}(x^{t};I)\,}$, we see that ${\displaystyle N\,}$ steps only takes us a distance of ${\displaystyle {\sqrt {N}}\,}$. In this event, the Markov Chain will not fully explore the probability space in any reasonable amount of time. Thus the MH algorithm requires reasonable tuning of the scale parameter (${\displaystyle \sigma ^{2}\,}$ or ${\displaystyle \mathbf {\Sigma } }$).

### Problems with high dimensionality

Even if the scale parameter is well-tuned, as the dimensionality of the problem increases, progress can still remain exceedingly slow. To see this, again consider ${\displaystyle Q(x';x^{t})={\mathcal {N}}(x^{t};I)\,}$. In one dimension, this corresponds to a Gaussian distribution with mean 0 and variance 1. For one dimension, this distribution has a mean step of zero, however the mean squared step size is given by

${\displaystyle \langle x^{2}\rangle =\int _{-\infty }^{\infty }x^{2}{\frac {1}{\sqrt {2\pi }}}e^{-{\frac {x^{2}}{2}}}=1}$

As the number of dimensions increases, the expected step size becomes larger and larger. In ${\displaystyle N\,}$ dimensions, the probability of moving a radial distance ${\displaystyle r\,}$ is related to the Chi distribution, and is given by

${\displaystyle P_{n}(r)\propto r^{n-1}e^{-r^{2}/2}}$

This distribution is peaked at ${\displaystyle r={\sqrt {N-1}}\,}$ which is ${\displaystyle \approx {\sqrt {N}}\,}$ for large ${\displaystyle N\,}$. This means that the step size will increase as the roughly the square root of the number of dimensions. For the MH algorithm, large steps will almost always land in regions of low probability, and therefore be rejected.

If we now add the scale parameter ${\displaystyle \sigma ^{2}\,}$ back in, we find that to retain a reasonable acceptance rate, we must make the transformation ${\displaystyle \sigma ^{2}\rightarrow \sigma ^{2}/N}$. In this situation, the acceptance rate can now be made reasonable, but the exploration of the probability space becomes increasingly slow. To see this, consider a slice along any one dimension of the problem. By making the scale transformation above, the expected step size is any one dimension is not ${\displaystyle \sigma \,}$ but instead is ${\displaystyle \sigma /{\sqrt {N}}}$. As this step size is much smaller than the "true" scale of the probability distribution (assuming that ${\displaystyle \sigma \,}$ is somehow known a priori, which is the best possible case), the algorithm executes a random walk along every parameter.

## The Multiple-try Metropolis algorithm

Suppose ${\displaystyle Q(\mathbf {x} ,\mathbf {y} )}$ is an arbitrary proposal function. We require that ${\displaystyle Q(\mathbf {x} ,\mathbf {y} )>0}$ only if ${\displaystyle Q(\mathbf {y} ,\mathbf {x} )>0}$. Additionally, ${\displaystyle \pi (\mathbf {x} )}$ is the likelihood function.

Define ${\displaystyle w(\mathbf {x} ,\mathbf {y} )=\pi (\mathbf {x} )Q(\mathbf {x} ,\mathbf {y} )\lambda (\mathbf {x} ,\mathbf {y} )}$ where ${\displaystyle \lambda (\mathbf {x} ,\mathbf {y} )}$ is a non-negative symmetric function in ${\displaystyle \mathbf {x} }$ and ${\displaystyle \mathbf {y} }$ that can be chosen by the user.

Now suppose the current state is ${\displaystyle \mathbf {x} }$. The MTM algorithm is as follows:

1) Draw k independent trial proposals ${\displaystyle \mathbf {y} _{1},\ldots ,\mathbf {y} _{k}}$ from ${\displaystyle Q(\mathbf {x} ,.)}$. Compute the weights ${\displaystyle w(\mathbf {y} _{j},\mathbf {x} )}$ for each of these.

2) Select ${\displaystyle \mathbf {y} }$ from the ${\displaystyle \mathbf {y} _{i}}$ with probability proportional to the weights.

3) Now produce a reference set by drawing ${\displaystyle \mathbf {x} _{1},\ldots ,\mathbf {x} _{k-1}}$ from the distribution ${\displaystyle Q(\mathbf {y} ,.)}$. Set ${\displaystyle \mathbf {x} _{k}=\mathbf {x} }$ (the current point).

4) Accept ${\displaystyle \mathbf {y} }$ with probability

${\displaystyle r={\text{min}}\left(1,{\frac {w(\mathbf {y} _{1},\mathbf {x} )+\ldots +w(\mathbf {y} _{k},\mathbf {x} )}{w(\mathbf {x} _{1},\mathbf {y} )+\ldots +w(\mathbf {x} _{k},\mathbf {y} )}}\right)}$

It can be shown that this method satisfies the detailed balance property and therefore produces a reversible Markov chain with ${\displaystyle \pi (\mathbf {x} )}$ as the stationary distribution.

If ${\displaystyle Q(\mathbf {x} ,\mathbf {y} )}$ is symmetric (as is the case for the multivariate normal distribution), then one can choose ${\displaystyle \lambda (\mathbf {x} ,\mathbf {y} )={\frac {1}{Q(\mathbf {x} ,\mathbf {y} )}}}$ which gives ${\displaystyle w(\mathbf {x} ,\mathbf {y} )=\pi (\mathbf {x} )}$.

Several further theoretical studies, variants and extensions can be found in literature.[1][2][3][4][5][6]

### Disadvantages

Multiple-try Metropolis needs to compute the energy of ${\displaystyle 2k-1}$ other states at every step. If the slow part of the process is calculating the energy, then this method can be slower. If the slow part of the process is finding neighbors of a given point, or generating random numbers, then again this method can be slower. It can be argued that this method only appears faster because it puts much more computation into a "single step" than Metropolis-Hastings does.

## References

1. ^ Bédard, Mylène; Douc, Randal; Moulines, Eric (2012-03-01). "Scaling analysis of multiple-try MCMC methods". Stochastic Processes and their Applications. 122 (3): 758–786. doi:10.1016/j.spa.2011.11.004.
2. ^ Martino, Luca; Read, Jesse (2013-07-11). "On the flexibility of the design of multiple try Metropolis schemes". Computational Statistics. 28 (6): 2797–2823. doi:10.1007/s00180-013-0429-2. ISSN 0943-4062.
3. ^ Craiu, Radu V.; Lemieux, Christiane (2007-01-30). "Acceleration of the Multiple-Try Metropolis algorithm using antithetic and stratified sampling". Statistics and Computing. 17 (2): 109–120. doi:10.1007/s11222-006-9009-4. ISSN 0960-3174.
4. ^ Martino, Luca; Del Olmo, Victor Pascual; Read, Jesse (2012-07-01). "A multi-point Metropolis scheme with generic weight functions". Statistics & Probability Letters. 82 (7): 1445–1453. doi:10.1016/j.spl.2012.04.008.
5. ^ Pandolfi, Silvia; Bartolucci, Francesco; Friel, Nial (2014-04-01). "A generalized multiple-try version of the Reversible Jump algorithm". Computational Statistics & Data Analysis. 72: 298–314. doi:10.1016/j.csda.2013.10.007.
6. ^ Casarin, Roberto; Craiu, Radu; Leisen, Fabrizio (2011-12-07). "Interacting multiple try algorithms with different proposal distributions". Statistics and Computing. 23 (2): 185–200. doi:10.1007/s11222-011-9301-9. ISSN 0960-3174.
• [1]Liu, J. S., Liang, F. and Wong, W. H. (2000). The multiple-try method and local optimization in Metropolis sampling, Journal of the American Statistical Association, 95(449): 121-134 JSTOR