A system can spend almost all its simulation time in one basin even when another basin carries appreciable equilibrium probability. The obstacle is not the definition of the Boltzmann measure; it is the scarcity of trajectories connecting the relevant regions. To describe the obstacle, we often replace a configuration with a few collective coordinates. To overcome it, we modify sampling and then account for that modification.
The central distinction is between an energy evaluated at one configuration and a free energy that counts many configurations together. We encountered it in the first chapter's competition between energy and multiplicity. Here it becomes a computational tool.
9.1 A collective coordinate retains a question, not a full state
A collective variable is a map , usually with , chosen to distinguish structures or processes of interest. Examples include coordination numbers, bond-order parameters, torsional angles and distances. A Ramachandran plot uses two backbone dihedral angles to describe molecular conformations.
Many configurations share the same value of . A good coordinate separates relevant basins and exposes important slow transitions; it need not determine the microscopic state or make the reduced dynamics Markovian. A hidden slow coordinate can remain trapped even while the displayed coordinate moves freely.
At equilibrium the marginal density of is
Equivalently one may keep the momentum integral and state-counting factors in a constrained partition function . They change only a -independent constant when the kinetic degrees of freedom factorise. Define the potential of mean force, or coordinate-dependent free energy, by
This is defined relative to a coordinate measure such as . Under a one-to-one reparameterisation ,
For a radial distance in three dimensions, a shell contributes a factor proportional to . A raw distance histogram and a radial density with that geometric factor divided out therefore yield different free-energy curves. The delta integral contains the appropriate coarea/Jacobian weighting; it is not an unweighted average over a level surface.
As a discrete example, compare a basin with one configuration of energy zero and a basin with four configurations of energy . Their equilibrium free-energy difference is
The fourfold basin can win despite its higher energy. This exactly recovers the first chapter's level probabilities. No single minimum-energy configuration can supply the missing multiplicity.
One configuration versus four
Every B microstate is individually less probable than A.
Combine energy and multiplicity
B is favoured as a basin because four compatible states outweigh the energy penalty.
A barrier in can indicate a sampling obstruction if the coordinate resolves the slow mechanism. A projected barrier alone does not determine a physical transition rate; dynamics, diffusivity and unresolved coordinates also matter.
Two valleys have equal minimum potential energy. Why can one contain more equilibrium probability? Scan their transverse widths.
∫e⁻ᵁ⁄ᵀdy ∝ w(x)e⁻ⱽ⁽ˣ⁾⁄ᵀ; F = V−T log w
x = -0.96; transverse width 0.52; potential floor 0.01, free energy 0.53 + constant.
Paused. Play the sequence, step through it, or drag the position slider.
Analytic model U = (x²−1)² + y²/[2w(x)²], x in [−2,2], y on the real line, w = 0.35 + 0.65(x+2)/4. The displayed surface truncates y to ±2w for clarity; F = U(x,0)−T log w + constant integrates all y exactly.
9.2 Change the measure, then undo the change
Add a bias to the potential. The biased marginal is
Thus a known static bias can be removed:
The identity follows by cancelling inside the biased integral. It requires support and adequate overlap; an enormous reweighting factor does not create observations in a region never visited.
In umbrella sampling, choose windows such as . Each restrains sampling near a selected coordinate value. Neighbouring windows need overlapping distributions so their unknown normalisations can be related, for example by WHAM or MBAR. Within each window, orthogonal degrees of freedom must also equilibrate. An ideal bias would flatten the marginal, but is what we are trying to discover.
Umbrellas can make a chosen barrier accessible; they do not automatically remove every barrier in the full system. Uncertainty analysis must account for within-window autocorrelation, overlap and the combined reconstruction. A biased dynamical trajectory generally does not preserve unbiased transition rates even when static equilibrium averages can be reweighted.
A restraint makes one region easier to visit. Can we recover the original distribution while its biased histogram moves across the landscape?
p₀(x) ∝ pᴮ(x) exp[βB(x)]
Window centre -0.83; κ = 3.00; exact quadrature reweighting restores the reference density.
Paused. Play the sequence, step through it, or drag the position slider.
Double-well potential, β = 4, harmonic bias κ(x−c)²/2. Densities and weights are computed by fixed-grid quadrature; markers are stratified biased quantiles. Exact cancellation does not establish convergence of a finite umbrella trajectory or sufficient overlap.
9.3 Let an auxiliary coordinate explore
An extended-variable construction couples an auxiliary coordinate with momentum to the physical collective variable:
At a common temperature and without extra bias, integrating over all of gives a constant independent of , so the physical marginal is unchanged. Restricted domains, periodic coordinates and boundary conditions require the appropriate coupling and integration measure.
Temperature-accelerated variants thermostat the physical and auxiliary variables separately, using a hotter, slower auxiliary system to explore new regions. Time-scale separation and sufficient coupling allow a mean-force interpretation in a controlled regime. A hotter auxiliary bath is not ordinary canonical sampling of at the physical temperature. The resulting exploration requires method-specific analysis before it can be interpreted as physical-temperature free energy or kinetics.
9.4 Build a bias from where the process has been
Metadynamics deposits smooth hills at visited coordinate values, for example
The hill heights have energy units, and sets a coordinate width. The source omitted the energy amplitude. Depositing positive hills discourages revisiting already explored basins and helps discover other regions. Because the bias changes with history, the simple static-bias identity cannot be applied blindly to the entire trajectory.
In well-tempered metadynamics, hill heights decrease with accumulated bias. With bias factor , the ideal asymptotic relation is under the method's sampling assumptions. The biased marginal is then proportional to rather than exactly flat. Barducci, Bussi and Parrinello's original paper supplies the construction and convergence rationale. Finite-time estimates still need adequate coordinates, exploration and a suitable reconstruction or time-dependent reweighting procedure.
9.5 Free-energy differences from overlapping ensembles
Suppose models and have potentials on a common configuration space, at the same temperature and with the same kinetic/reference factors. Divide their partition functions:
Taking logarithms gives the free-energy perturbation identity
This exact identity is not necessarily a good finite-sample estimator. Rare configurations under can dominate the exponential average. Support mismatch can invalidate the ratio identity in the sampled direction, and poor overlap can make a seemingly stable estimate wrong. The logarithm adds finite-sample bias. Intermediate states or bidirectional estimators help when they create overlap; they do not eliminate the need to diagnose it.
For a continuously interpolated potential , choose the convention
Differentiate , assuming differentiation under the integral is justified:
This is thermodynamic integration. The source used the opposite endpoint convention, , and correspondingly computed . Both are valid; silently mixing their signs is not. We use consistently here.
A harmonic example checks both methods. Let , , with positive stiffnesses. Gaussian integration gives , hence
Along the linear path, and . Thus the TI integrand is , whose integral gives the same logarithm. Agreement is an analytic check; it does not establish convergence of a finite exponential average for a very different pair of stiffnesses.
In applications, use more integration points where the mean derivative varies rapidly, verify equilibration at every state, and monitor overlap and possible phase transitions. Einstein-crystal references for solids and tractable fluid references can connect an interacting model to a known free energy, provided constraints, indistinguishability and reference constants are treated consistently. An arbitrary fluid reference does not have a known absolute free energy merely because it is called Lennard–Jones-like.
9.6 Return to the original prediction
We began by asking where a warm particle is likely to be. The heat bath supplied a measure; interaction models supplied energies; dynamics and Monte Carlo supplied different ways to explore; covariance accounting supplied finite-run uncertainty. Cluster and event methods changed the exploration without changing the intended target. Continuum parcels changed the physical level of description. Collective coordinates finally combined many microscopic states into the free-energy description of a process.
A reliable simulation keeps all of these levels explicit. State the model, ensemble and measure; justify the sampling mechanism; test numerical approximation; establish exploration of the relevant states; and attach uncertainty to the observable actually being reported. A free-energy curve is then a quantitative conclusion with identifiable assumptions, rather than a picture of a trajectory's preferences.
Exercises
- Reparameterise a one-dimensional collective coordinate by . Which part of its free-energy curve changes? What if away from zero?
- Derive the static umbrella reweighting identity and identify the support assumption in the cancellation.
- Check the harmonic free-energy difference by both perturbation and thermodynamic integration. What happens when ?
- Explain why an unvisited orthogonal basin can invalidate a free-energy estimate even when umbrella histograms overlap along the displayed coordinate.