Skip to content
DAH

Free-energy methods and enhanced sampling

Alchemical perturbation, umbrella sampling, metadynamics and path sampling compute free energies and rates that straightforward MD cannot reach in accessible time.

On this page19 sections
Why other work relies on it

Binding affinities, solvation energies, polymorph stability, phase equilibria and nucleation rates are free-energy quantities; MD alone cannot sample their rare events.

Techniques that compute stability and rates of rare events that a plain simulation would never reach.

  1. 1Rare events are never seen in plain runs
  2. 2Choose slow variables or a morph path
  3. 3Add bias or follow the transformation
  4. 4Recover the unbiased free energy
  5. 5Compare with experiment

Why free energy. Equilibrium and rates depend on A=−kBTln⁡ZA=-k_BT\ln Z. A barrier ΔF‡\Delta F^\ddagger is crossed at a rate proportional to e−ΔF‡/kBTe^{-\Delta F^\ddagger/k_BT}, so barriers beyond about 15 kBT15\,k_BT are inaccessible to direct molecular dynamics.

Alchemical methods. Define a Hamiltonian H(λ)H(\lambda) that morphs state A (λ=0\lambda=0) into state B (λ=1\lambda=1). Then ΔA=∫01⟨∂H/∂λ⟩λ dλ\Delta A=\int_0^1\langle\partial H/\partial\lambda\rangle_\lambda\,d\lambda, estimated from simulations at several λ\lambda values with estimators such as Zwanzig's exponential average, BAR and MBAR. In words: add up the average force needed to morph one molecule into the other. This gives relative and absolute binding free energies.

Collective-variable methods. Choose variables s(r)s(\mathbf r) believed to describe the slow process. Umbrella sampling holds the system near successive values of ss and combines windows (WHAM or MBAR); metadynamics adds history-dependent hills to flatten the landscape; OPES and adaptive biasing force are modern relatives.

Path methods. Transition path sampling and forward-flux sampling collect reactive trajectories and compute rates without biasing.

Pitfalls. If ss misses an important slow variable, the sampling stalls (hysteresis). Overlap between neighbouring λ\lambda windows controls the variance. Force-field errors enter directly; quantum nuclear effects and protonation are usually ignored.

Learned methods. Neural networks find collective variables or reweight data; this area is changing quickly.

Practical notes. Relative binding free-energy workflows run 10 to 20 lambda windows per perturbation, each for a few nanoseconds, and compare forward and reverse transformations as a consistency check. Packages include PLUMED for collective-variable biasing and OpenFE. Reports should include replicate runs, overlap matrices and cycle-closure errors.

Things to check yourself. Why does metadynamics converge to the negative free-energy surface? What makes a good reaction coordinate (hint: the committor)?

Go deeper

The full technical text.

What it is

Thermodynamic observables are free energies, A=−kBTln⁡ZA=-k_BT\ln Z, not energies. Unbiased MD crosses barriers of height ΔF‡\Delta F^\ddagger only at rate ∼e−ΔF‡/kBT\sim e^{-\Delta F^\ddagger/k_BT}, so events with ΔF‡≳15 kBT\Delta F^\ddagger\gtrsim 15\,k_BT are out of reach.

Method families

  • Alchemical free-energy perturbation (FEP) and thermodynamic integration: a parameter λ\lambda morphs one Hamiltonian into another, ΔA=∫01⟨∂H/∂λ⟩λdλ\Delta A=\int_0^1\langle\partial H/\partial\lambda\rangle_\lambda d\lambda; estimators are Zwanzig exponential averaging, Bennett acceptance ratio and MBAR. Used for relative and absolute binding free energies.
  • Biased sampling along collective variables (CVs): umbrella sampling with WHAM/MBAR, metadynamics, well-tempered metadynamics and OPES, adaptive biasing force. Quality depends on choosing CVs that capture the slow degrees of freedom.
  • Path and rare-event methods: transition path sampling, forward-flux sampling, milestoning, string method; they estimate rates without bias.
  • Replica exchange / parallel tempering and generalized-ensemble methods.
  • Learned approaches: CV discovery by neural networks, Boltzmann generators, normalising-flow reweighting and ML potentials as the engine.

Limits

Convergence is rarely provable: a bad CV gives a smooth but wrong free-energy surface (hysteresis). Force-field error propagates directly into the free energy, and quantum nuclear effects, polarisation and protonation are usually ignored. Good practice demands replicate runs and overlap diagnostics.

Why it is foundational

Nearly every quantity compared with experiment in solution and in crystals is a free energy. Rate theories for nucleation, protein folding and catalysis depend on correct barriers and prefactors.

Worth understanding

  • Why error scales with the overlap of neighbouring λ\lambda windows
  • The committor and what makes a good reaction coordinate
  • Metadynamics bias deposition and convergence

Current frontier

Developments include machine-learned collective variables and committor estimation, normalising-flow and diffusion-model samplers, machine-learned potential/molecular-mechanics free-energy calculations, automated absolute binding free-energy workflows, and rigorous convergence diagnostics. Whether learned methods give provably unbiased results with better efficiency is under study.

Words on this page (8)
Words on this page
free energy
The energy that counts at a given temperature, including disorder; it decides which state is stable and how fast things happen.
collective variable
A single number, such as a distance or an angle, chosen to track the slow change in a simulation.
enhanced sampling
Tricks that push a simulation across barriers it would otherwise take too long to cross.
free-energy perturbation
A way to compute energy differences by gradually transforming one molecule into another in a simulation.
umbrella sampling
A technique that holds a simulation near successive points along a path so rare states are sampled evenly.
binding free energy
The energy that decides how tightly a drug molecule sticks to its protein target.
nucleation
The first tiny seed of a new phase, such as an ice crystal in cold water.
molecular dynamics
A computer simulation that moves atoms step by step under the forces between them.
New to this? Read first (3)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Free-energy methods and enhanced sampling (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Mar 2, 2026
    Sub-chemical-accuracy lattice energies (preprint)
    Related to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy ranking

    Shi et al. report correlated wavefunction-quality lattice energies for drug-like crystals.

    source
  2. Sep 4, 2025
    ML and enhanced sampling reviewed
    Related to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experiment

    Zhu et al. review ML-based enhanced sampling.

    source
  3. Oct 1, 2024
    Seventh blind test published
    Related to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy ranking

    Generation and ranking results published in Acta Cryst. B (date approximate).

    source
  4. Aug 1, 2023
    Maximal accuracy
    Related to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targets

    Ross et al. quantify the experimental reproducibility ceiling for FEP accuracy (date approximate).

    source
  5. Mar 2, 2022
    Ab initio-ML ice nucleation
    Related to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experiment

    Piaggi et al. compute homogeneous ice nucleation in a DFT-trained model of water (arXiv date).

    source
  6. Mar 1, 2022
    Finite-temperature stability
    Related to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy ranking

    Kapil and Engel show that anharmonic and quantum effects can reorder polymorph stabilities (date approximate).

    source
  7. Jan 1, 2022
    Benchmark best practices
    Related to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targets

    Hahn et al. define best practice for binding-affinity benchmarks (date given as year of publication).

    source
  8. Oct 1, 2020
    Open questions in polymorphism
    Related to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy ranking

    Cruz-Cabeza, Feeder and Davey set out what is unknown about organic polymorphism (date approximate).

    source
  9. Jun 14, 2016
    Nucleation simulation reviewed
    Related to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experiment

    Sosso et al. summarise the state of simulating nucleation (date approximate).

    source
  10. Feb 1, 2015
    FEP+ prospective accuracy

    Wang et al. report relative binding free energies with errors near 1 kcal/mol on curated sets (date given as the year/month of publication).

    source
  11. Jan 28, 2015
    FEP+ prospective accuracy
    Related to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targets

    Relative binding free energies with errors near 1 kcal/mol on curated sets (date approximate).

    source
  12. Oct 29, 2002
    Metadynamics

    Laio and Parrinello introduce history-dependent bias for exploring free-energy landscapes (date given as approximate).

    source
  13. Mar 1, 1954
    Free-energy perturbation

    Zwanzig's formula for free-energy differences (date given as the year/month of publication).

    source