Variational Morphing: Determining Free Energy Differences Through Optimal Non-Linear Lambda States

Free energy calculations based on atomistic Hamiltonians and sampling are key to a first principles understanding of biomolecular processes, material properties, and macromolecular chemistry. Here, we generalize the Free Energy Perturbation method and derive non-linear Hamiltonian transformation sequences for optimal sampling accuracy that differ markedly from established linear transformations. We show that our sequences are also optimal for the Bennett Acceptance Ratio (BAR) method, and our unifying framework generalizes BAR to small sampling sizes and non-Gaussian error distributions. Simulations on a Lennard-Jones gas show that an order of magnitude less sampling is required compared to established methods.

Gradients in free energies are the driving forces of physical and biochemical systems and enable quantitative descriptions of e.g. molecular recognition processes, drug binding, transmembrane transport, or functional conformational motions of proteins or complexes. To predict free energy differences computationally with high accuracy, Molecular Dynamics based state of the art methods use ‘alchemical transformations’, where sampling is not only conducted in the two final states of interest (e.g. two ligand types binding to a common receptor), but also in intermediate states. These are defined along a morphing path - typically a linear interpolation of the Hamiltonians (i.e. the total interaction energies) of the start and the end state. The term ‘alchemical’ refers to the fact that differing atoms are transformed from one type into another along the morphing path. Even though interpolated atom types do not exist in reality, the information gained from sampling in these intermediate states drastically improves the accuracy of the final free energy estimates.

However, linear transformations are still a very special case amongst all possible transformations. In this project, we therefore also considered non-linear transformations and analytically derived the intermediate states yielding the optimal accuracy free energy estimates. These states differ markedly from established linear transformations. An order of magnitude improvement in the amount of required sampling, and therefore, simulation time, was obtained for a test system with Lennard-Jones interactions.

GROMACS Extension for Free Energy Calculations with Non-Pairwise Variationally Derived Intermediates

Gradients in free energies are the driving forces of physical and biochemical systems. The free energy difference between two states of a thermodynamic system is calculated using samples generated by simulations based on atomistic Hamiltonians. Due to the high dimensionality of many applications as in, e.g., biophysics, only a small part of the configuration space can be sampled. The choice of the sampling scheme critically affects the accuracy of the final free energy estimate. The challenge is, therefore, to find the optimal sampling scheme that provides best accuracy for given computational effort.

To improve accuracy, sampling is commonly conducted in intermediate states, whose Hamiltonians are defined based on the Hamiltonians of the two states of interest. We developed the variationally derived intermediates (VI) method: The VI intermediates yield, under the assumption of uncorrelated sample points, optimal accuracy. They differ fundamentally from the common intermediates in that they are non-pairwise, i.e., the forces on a particle are only additive in the end state, whereas the total force in the intermediate states cannot be split into additive contributions from the surrounding particles. Furthermore, an end state dependence on the path variable lambda has been introduced to avoid divergences for vanishing particles.

VI has been implemented into the GROMACS 2020 MD software package. The implementation is conducted such that previous non-pairwise potential forms from the literature, which have so far not yet been available in GROMACS, can also be used. The package including the VI extension can be downloaded, together with documentation, test and example cases from the link below.

The source code can also be downloaded here [zip file]

Publications

Reinhardt, M.; Grubmüller, H.: Small-sample limit of the Bennett acceptance ratio method and the variationally derived intermediates. Physical Review E 104 (5), 054133 (2021)
Reinhardt, M.; Grubmüller, H.: GROMACS implementation of free energy calculations with non-pairwise variationally derived intermediates. Computer Physics Communications 264, 107931 (2021)
Reinhardt, M.; Grubmüller, H.: Variationally derived intermediates for correlated free-energy estimates between intermediate states. Physical Review E 102 (4), 043312 (2020)
Reinhardt, M.; Grubmüller, H.: Determining free-energy differences through variationally derived intermediates. Journal of Chemical Theory and Computation 16 (6), pp. 3504 - 3512 (2020)
Reinhardt, M.; Grubmüller, H.
GROMACS Implementation of Free Energy Calculations with Non-Pairwise Variationally Derived Intermediates
arXiv:2010.14193 [physics.comp-ph] 2020
Reinhardt, M.; Grubmüller, H.
Variationally Derived Intermediates for Correlated Free Energy Estimates between Intermediate States
arXiv:2007.14095v1 [physics.comp-ph] 2020
Reinhardt, M.; Grubmüller, H.
Determining Free Energy Differences via Variational Morphing
arXiv:1906.12124 [physics.comp-ph] 2019
Go to Editor View