- Parallel tempering
Parallel tempering, also known as replica exchange, is a
simulation method aimed at improving the dynamic properties ofMonte Carlo method simulations of physical systems, and ofMarkov chain Monte Carlo sampling methods more generally. The replica exchange method originates with Swendsen [ Swendsen RH and Wang JS (1986) Replica Monte Carlo simulation of spin glasses Physical Review Letters 57 : 2607-2609 ] , was extended by Geyer [C. J. Geyer, in Computing Science and Statistics Proceedings of the 23rd Symposium on the Interface, American Statistical Association, New York, 1991, p. 156.] and was later developed, among others, byGiorgio Parisi and many others.Typically an MC simulation using a
Metropolis-Hastings update consists of a single stochastic process that evaluates theenergy of the system and accepts/rejects updates based on thetemperature "T". At high temperatures updates that change the energy of the system are comparatively more probable. When the system is highly correlated, updates are rejected and the simulation is said to suffer from critical slowing down.If we were to run two simulations at temperatures separated by a Δ"T", we would find that if Δ"T" is small enough, then the energy
histogram s obtained by collecting the values of the energies over a set of Monte Carlo steps N will create two distributions that will somewhat overlap. The overlap can be defined by the area of the histograms that falls over the same interval of energy values, normalized by the total number of samples. For Δ"T" = 0 the overlap should approach 1.Another way to interpret this overlap is to say that system configurations sampled at temperature "T"1 are likely to appear during a simulation at "T"2. Because the
Markov chain should have no memory of its past, we can create a new update for the system composed of the two systems at "T"1 and "T"2. At a given Monte Carlo step we can update the global system by swapping the configuration of the two systems, or alternatively trading the two temperatures. The update can be accepted/rejected with a Metropolis-Hastings criterion, which isp = min( 1, exp( [1/kTi - 1/kTj] [E i - E j] )).
The
detailed balance condition has to be satisfied by ensuring that the reverse update has to be equally likely, all else being equal. This can be ensured by appropriately choosing regular Monte Carlo updates or Parallel Tempering updates with probabilities that are independent of the configurations of the two systems or of the Monte Carlo step.This update can be generalized to more than two systems.
By a careful choice of temperatures and number of systems one can achieve an improvement in the mixing properties of a set of Monte Carlo simulations that exceeds the extra computational cost of running parallel simulations.
Other considerations to be made: increasing the number of different temperatures can have a detrimental effect, as one can think of the 'lateral' movement of a given system across temperatures as a diffusion process.Set up is important as there must be a practical histogram overlap to achieve a reasonable probability of lateral moves.
The parallel tempering method can be used as a super
simulated annealing that does not need restart, since a system at high temperature can feed new local optimizers to a system at low temperature, allowing tunneling between metastable states and improving convergence to a global optimum.References
[http://www.rsc.org/Publishing/Journals/CP/article.asp?doi=b509983h Parallel tempering: Theory, applications, and new perspectives] , David J. Earl and Michael W. Deem, Phys. Chem. Chem. Phys., 2005, 7, 3910
Wikimedia Foundation. 2010.