Bennett acceptance ratio
Encyclopedia
The Bennett acceptance ratio method (sometimes abbreviated to BAR) is an algorithm for estimating the difference in free energy between two systems (usually the systems will be simulated on the computer).
It was suggested by Charles H. Bennett
Charles H. Bennett (computer scientist)
Charles H. Bennett is an IBM Fellow at IBM Research. Bennett's recent work at IBM has concentrated on a re-examination of the physical basis of information, applying quantum physics to the problems surrounding information exchange...

 in 1976.

Preliminaries

Take a system in a certain super state. By performing a Metropolis Monte Carlo walk it is possible to sample the landscape of states that the system moves between, using the equation


where ΔUU(Statey) − U(Statex) is the difference in potential energy, β = 1/kT (T is the temperature in Kelvin
Kelvin
The kelvin is a unit of measurement for temperature. It is one of the seven base units in the International System of Units and is assigned the unit symbol K. The Kelvin scale is an absolute, thermodynamic temperature scale using as its null point absolute zero, the temperature at which all...

s while k is the Boltzmann constant), and is the Metropolis function.
The resulting states are then sampled according to the Boltzmann distribution
Boltzmann distribution
In chemistry, physics, and mathematics, the Boltzmann distribution is a certain distribution function or probability measure for the distribution of the states of a system. It underpins the concept of the canonical ensemble, providing its underlying distribution...

 of the super state at temperatue T.
Alternatively, if the system is dynamically simulated in the canonical ensemble
Canonical ensemble
The canonical ensemble in statistical mechanics is a statistical ensemble representing a probability distribution of microscopic states of the system...

 (also called the NVT ensemble), the resulting states along the simulated trajectory are likewise distributed.
Averaging along the trajectory (in either formulation) is denoted by angle brackets
.

Suppose that two super states of interest, A and B, are given. We assume that they have a common configuration space, i.e., they share all of their micro states, but the energies associated to these (and hence the probabilities) differ because of a change in some parameter (such as the strength of a certain interaction).
The basic question to be addressed is, then, how can the Helmholtz free energy
Helmholtz free energy
In thermodynamics, the Helmholtz free energy is a thermodynamic potential that measures the “useful” work obtainable from a closed thermodynamic system at a constant temperature and volume...

 change (ΔF = FB − FA) on moving between the two super states be calculated from sampling in both ensembles? Note that the kinetic energy part in the free energy is equal between states so can be ignored. Note also that the Gibbs free energy
Gibbs free energy
In thermodynamics, the Gibbs free energy is a thermodynamic potential that measures the "useful" or process-initiating work obtainable from a thermodynamic system at a constant temperature and pressure...

 corresponds to the NpT ensemble.

The general case

Bennett shows that for every function f satisfying the condition (which is essentially the detailed balance
Detailed balance
The principle of detailed balance is formulated for kinetic systems which are decomposed into elementary processes : At equilibrium, each elementary process should be equilibrated by its reverse process....

 condition), and for every energy offset C, one has the exact relationship


where UA and UB are the potential energies of the same configurations, calculated using potential function A (when the system is in superstate A) and potential function B (when the system is in the superstate B) respectively.

The basic case

Substituting for f the Metropolis function defined above (which satisfies the detailed balance condition), and setting C to zero, gives


The advantage of this formulation (apart from its simplicity) is that it can be computed without performing two simulations, one in each specific ensemble. Indeed, it is possible to define an extra kind of "potential switching" Metropolis trial move (taken every fixed number of steps), such that the single sampling from the "mixed" ensemble suffices for the computation.

The most efficient case

Bennett explores which specific expression for ΔF is the most efficient, in the sense of yielding the smallest standard error for a given simulation time. He shows that the optimal choice is to take
  1. , which is essentially the Fermi–Dirac distribution (satisfying indeed the detailed balance condition).
  2. . This value, of course, is not known (it is exactly what we are trying to compute), but it can be approximately chosen in a self consistent manner.


Some assumptions needed for the efficiency are the following:
  1. The densities of the two super states (in their common configuration space) should have a large overlap. Otherwise, a chain of super states between A and B may be needed, such that the overlap of each two consecutive super states is adequate.
  2. The sample size should be large. In particular, as successive states are correlated, the simulation time should be much larger than the correlation time.
  3. The cost of simulating both ensembles should be approximately equal - and then, in fact, the system is sampled roughly equally in both super states. Otherwise, the optimal expression for C is modified, and the sampling should devote equal times (rather than equal number of time steps) to the two ensembles.

The perturbation theory method

This method, also called Free energy perturbation
Free energy perturbation
Free energy perturbation theory is a method based on statistical mechanics that is used in computational chemistry for computing free energy differences from molecular dynamics or Metropolis Monte Carlo simulations. The FEP method was introduced by R. W. Zwanzig in 1954...

 (or FEP), involves sampling from state A only. Unsurprisingly, it might be much less efficient than the BAR method. In fact, it requires that all the high probability configurations of super state B are contained in high probability configurations of super state A, which is a much more stringent requirement than the overlap condition stated above.

The exact (infinite order) result


or


This exact result can be obtained from the general BAR method, using (for example) the Metropolis function, in the limit . Indeed, in that case, the denominator of the general case expression above tends to 1, while the numerator tends to .
A direct derivation from the definitions is more straightforward, though.

The second order (approximate) result

Assuming that and Taylor expanding the second exact perturbation theory expression to the second order, one gets the approximation


Note that the first term is the expected value of the energy difference, while the second is essentially its variance.

The first order inequalities

Using the convexity of the log function appearing in the exact perturbation analysis result, together with Jensen's inequality
Jensen's inequality
In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906. Given its generality, the inequality appears in many forms depending on the context,...

, gives an inequality in the linear level; combined with the analogous result for the B ensemble one gets the following version of the Gibbs-Bogoliubov inequality:


Note that the inequality agrees with the negative sign of the coefficient of the (positive) variance term in the second order result.

The thermodynamic integration method

writing the potential energy as depending on a continuous parameter,

one has the exact result

This can either be directly verified from definitions or seen from the limit of the above Gibbs-Bogoliubov inequalities when
.
we can therefore write


which is the thermodynamic integration
Thermodynamic integration
Thermodynamic integration is a method used to compare the difference in the thermodynamic quantity of two given states in molecular dynamics simulation...

 (or TI) result. It can be approximated by dividing the range between states A and B into many values of λ at which the expectation value is estimated, and performing numerical integration.

Implementation

The Bennett acceptance ratio method is implemented in modern molecular dynamics
Molecular dynamics
Molecular dynamics is a computer simulation of physical movements of atoms and molecules. The atoms and molecules are allowed to interact for a period of time, giving a view of the motion of the atoms...

 systems, such as Gromacs.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK