Kubo formula

From formulasearchengine
Jump to navigation Jump to search

Multicanonical ensemble (also called multicanonical sampling or flat histogram) is a sampling technique that uses the Metropolis–Hastings algorithm to compute integrals where the integrand has a rough landscape with multiple local minima. It samples states according to the inverse of the density of states,[1] which has to be known a priori or be computed using other techniques like the Wang and Landau algorithm.[2] Multicanonical sampling is an important technique for spin systems like the Ising model or spin glasses.[1][3][4]

Motivation

In systems with a large number of degrees of freedom, like spin systems, Monte Carlo integration is required. In this integration, importance sampling and in particular the Metropolis algorithm, is a very important technique.[3] However, the Metropolis algorithm samples states according to where beta is the inverse of the temperature. This means that an energy barrier of on the energy spectrum is exponentially difficult to overcome.[1] Systems with multiple local energy minima like the Potts model become hard to sample as the algorithm gets stuck in the system's local minima.[3] This motivates other approaches, namely, other sampling distributions.

Overview

Multicanonical ensemble uses the Metropolis–Hastings algorithm with a sampling distribution given by the inverse of the density of states of the system, contrary to the sampling distribution of the Metropolis algorithm.[1] With this choice, on average, the number of states sampled at each energy is constant, i.e. it is a simulation with a "flat histogram" on energy. This leads to an algorithm for which the energy barriers are no longer difficult to overcome. Another advantage over the Metropolis algorithm is that the sampling is independent of the temperature of the system, which means that one simulation allows the estimation of thermodynamical variables for all temperatures (thus the name "multicanonical": several temperatures). This is a great improvement in the study of first order phase transitions.[1]

The biggest problem in performing a multicanonical ensemble is that the density of states has to be known a priori.[2][3] One important contribution to multicanonical sampling was the Wang and Landau algorithm, which asymptotically converges to a multicanonical ensemble while calculating the density of states during the convergence.[2]

The multicanonical ensemble is not restricted to physical systems. It can be employed on abstract systems which have a cost function F. By using the density of states with respect to F, the method becomes general for computing higher dimensional integrals or finding local minima.[5]

Motivation

Consider a system and it phase-space characterized by a configuration and a "cost" function F from the system's phase-space to a one dimensional space : , the spectrum of F.

Template:Show

The computation of an average quantity over the phase-space requires the evaluation of an integral:

where is weight of each state per volume,

The density of states in respect with F is given by

which means that if both Q and p do not depend on the particular state but only on the particular F's value of the state ,

the formula for can be integrated over f by adding a dirac delta function,

i.e. the knowledge of the density of states allows the computation of averages over F using a one-dimensional integral instead of a multidimensional integral as it is the projection of the number of states on in .

Template:Show

Because the number of states can be high for systems with high number of degrees of freedom, an analytical expression can be hard to obtain and the computation of can be expensive. Typically, because the problem is a multidimensional integral, Monte Carlo integration is normally employed. On the simplest formulation, the method chooses N uniform random states , and uses the estimator

for computing : converges almost surely to by the strong law of large numbers:

One typical problem of this convergence is that the variance of Q can be very high, which leads to a high computational effort to achieve reasonable results.

Template:Show

To improve this convergence, the Metropolis–Hastings algorithm was proposed. Generally, Monte Carlo methods' idea is to use importance sampling to improve the convergence of the estimator by sampling states according to an arbitrary distribution (notice the capital P, different from p), and use the appropriate estimator:

where .

Notice that when P is a uniform distribution, this estimator equals the one used on a uniform sampling, as it should.

One important choice of P is to define an arbitrary temperature, and use it equals to Boltzmann factor with the energy being the cost function:

I.e. the lower the cost function of a particular state, the more likely it is to be sampled.

Historically, this occurred because the original idea[6] was exactly to use Metropolis–Hastings algorithm to compute averages on a system in contact with a heat bath where the weight is given by the Boltzmann factor. On these systems, the choice of states according to it led to a considerable improvement on studying physical systems.[3]

However, it is not true that the sampling distribution must equals the weight distribution. One reason for this is that Metropolis–Hastings algorithm fails to converge when the cost function has multiple minima.[1] The reason is that the algorithm uses a random walk with local steps. I.e. the random walk normally performs steps whose energy difference is of order 1. This means that the computational cost to the algorithm leave a specific region with a local minimum exponentially increases with the cost function's value of the minimum. I.e. the deeper the minimum, the more time the algorithm spends there, and harder (exponentially with deep) it will leave.

This is the motivation to introduce a multicanonic ensemble. The idea is to avoid becoming stuck on local minima of the cost function by making them "invisible" to the sampling technique.

Multicanonic ensemble

A multicanonic ensemble is choosing the sampling distribution used in the importance sampling to be

where

is the density of states of the system with respect to the cost function (V is the phase-space volume). The consequence of this choice is that the probability to sample a state and it has cost function f is

which motivates the name "flat histogram". I.e. all costs are equally sampled, and thus there are no barriers. For systems in contact with a heat bath, there is another important advantage: because the sampling is independent of the temperature, one simulation is enough to study all temperatures (thus the name "multicanonic": several temperatures).

Template:Show

Tunneling time and critical slowing down

Like in any other Monte Carlo method, there are correlations of the samples being drawn from . A typical measurement of the correlation is the tunneling time. The tunneling time is defined by the number of Markov steps (of the Markov chain) the simulation needs to perform a round-trip between the minimum and maximum of the spectrum of F. One motivation to use the tunneling time is that when it crosses the spectra, it passes through the region of the maximum of the density of states, thus de-correlating the process. On the other hand using round-trips ensures that the system visits all the spectrum.

Because the histogram is flat on the variable F, a multicanonic ensemble can be seen as a diffusion process (i.e. a random walk) on the one dimensional line of F values. Detailed balance of the process dictates that there is no drift on the process.[7] This implies that the tunneling time, in local dynamics, should scale as a diffusion process, and thus the tunneling time should scale quadratically with the size of the spectrum, N:

However, in some systems (the Ising model being the most paradigmatic), the scaling suffers from critical slowing down: it is where depends on the particular system.[4]

Non-local dynamics were developed to improve the scaling to a quadratic scaling[8] (see wolff algorithm), beating the critical slowing down. However, it is still an open question whether there is a local dynamics that does not suffer from critical slowing down in spin systems like Ising model.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. 1.0 1.1 1.2 1.3 1.4 1.5 Cite error: Invalid <ref> tag; no text was provided for refs named Berg
  2. 2.0 2.1 2.2 Cite error: Invalid <ref> tag; no text was provided for refs named Landau
  3. 3.0 3.1 3.2 3.3 3.4 Cite error: Invalid <ref> tag; no text was provided for refs named Newmann
  4. 4.0 4.1 Cite error: Invalid <ref> tag; no text was provided for refs named Dayal
  5. Cite error: Invalid <ref> tag; no text was provided for refs named Lee
  6. Cite error: Invalid <ref> tag; no text was provided for refs named Metropolis
  7. Cite error: Invalid <ref> tag; no text was provided for refs named Robert
  8. Cite error: Invalid <ref> tag; no text was provided for refs named Wolff