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
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.
- 1Rare events are never seen in plain runs
- 2Choose slow variables or a morph path
- 3Add bias or follow the transformation
- 4Recover the unbiased free energy
- 5Compare with experiment
Why free energy. Equilibrium and rates depend on . A barrier is crossed at a rate proportional to , so barriers beyond about are inaccessible to direct molecular dynamics.
Alchemical methods. Define a Hamiltonian that morphs state A () into state B (). Then , estimated from simulations at several 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 believed to describe the slow process. Umbrella sampling holds the system near successive values of 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 misses an important slow variable, the sampling stalls (hysteresis). Overlap between neighbouring 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, , not energies. Unbiased MD crosses barriers of height only at rate , so events with are out of reach.
Method families
- Alchemical free-energy perturbation (FEP) and thermodynamic integration: a parameter morphs one Hamiltonian into another, ; 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 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)
- 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)
- Metadynamics (Wikipedia)Intuitive description of filling in energy valleys.
- Free energy perturbation (Wikipedia)The morphing method behind binding free-energy calculations.
- Enhanced sampling in the age of machine learning (Zhu et al.)A recent review of how machine learning is changing the field.
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.
- Start with
- Step 2
- Step 3
- Free-energy methods and enhanced samplingYou are here
- Then
- Absolute homogeneous nucleation rates from simulation within an order of magnitude of experimentOpen problem · D62
- Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy rankingOpen problem · D56
- Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targetsOpen problem · D50
Open problems & questions
Progress timeline
- Mar 2, 2026Sub-chemical-accuracy lattice energies (preprint)Related to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy rankingsource
Shi et al. report correlated wavefunction-quality lattice energies for drug-like crystals.
- Sep 4, 2025ML and enhanced sampling reviewedRelated to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experimentsource
Zhu et al. review ML-based enhanced sampling.
- Oct 1, 2024Seventh blind test publishedRelated to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy rankingsource
Generation and ranking results published in Acta Cryst. B (date approximate).
- Aug 1, 2023Maximal accuracyRelated to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targetssource
Ross et al. quantify the experimental reproducibility ceiling for FEP accuracy (date approximate).
- Mar 2, 2022Ab initio-ML ice nucleationRelated to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experimentsource
Piaggi et al. compute homogeneous ice nucleation in a DFT-trained model of water (arXiv date).
- Mar 1, 2022Finite-temperature stabilityRelated to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy rankingsource
Kapil and Engel show that anharmonic and quantum effects can reorder polymorph stabilities (date approximate).
- Jan 1, 2022Benchmark best practicesRelated to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targetssource
Hahn et al. define best practice for binding-affinity benchmarks (date given as year of publication).
- Oct 1, 2020Open questions in polymorphismRelated to: Crystal structure prediction for flexible organic molecules: complete landscapes with sub-kJ/mol free-energy rankingsource
Cruz-Cabeza, Feeder and Davey set out what is unknown about organic polymorphism (date approximate).
- Jun 14, 2016Nucleation simulation reviewedRelated to: Absolute homogeneous nucleation rates from simulation within an order of magnitude of experimentsource
Sosso et al. summarise the state of simulating nucleation (date approximate).
- Feb 1, 2015FEP+ prospective accuracysource
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).
- Jan 28, 2015FEP+ prospective accuracyRelated to: Prospective protein–ligand binding free energies at 1 kcal/mol RMSE across diverse, difficult targetssource
Relative binding free energies with errors near 1 kcal/mol on curated sets (date approximate).
- Oct 29, 2002Metadynamicssource
Laio and Parrinello introduce history-dependent bias for exploring free-energy landscapes (date given as approximate).
- Mar 1, 1954Free-energy perturbationsource
Zwanzig's formula for free-energy differences (date given as the year/month of publication).