Making the Best of a Bad Situation: A Multiscale Approach to Free Energy Calculation

Michele Invernizzi, Michele ParrinelloJournal of Chemical Theory and Computation 2019 · DOI

Abstract

Many enhanced sampling techniques rely on the identification of a number of collective variables that describe all the slow modes of the system. By constructing a bias potential in this reduced space, one is then able to sample efficiently and reconstruct the free energy landscape. In methods such as metadynamics, the quality of these collective variables plays a key role in convergence efficiency. Unfortunately in many systems of interest it is not possible to identify an optimal collective variable, and one must deal with the nonideal situation of a system in which some slow modes are not accelerated. We propose a two-step approach in which, by taking into account the residual multiscale nature of the problem, one is able to significantly speed up convergence. To do so, we combine an exploratory metadynamics run with an optimization of the free energy difference between metastable states, based on the recently proposed variationally enhanced sampling method. This new method is well parallelizable and is especially suited for complex systems, because of its simplicity and clear underlying physical picture.

Introduction

In molecular dynamics, calculating the free energy difference ($\Delta F$) between metastable states—such as a protein's folded and unfolded states—is a fundamental yet challenging task. Because these transitions are "rare events" on the molecular timescale, researchers employ enhanced sampling techniques like Metadynamics to bias the system and accelerate exploration. These methods rely on Collective Variables (CVs), which are simplified coordinates intended to capture the system's slow degrees of freedom.

However, a significant bottleneck arises when the chosen CV is suboptimal, failing to account for hidden slow modes. This leads to hysteresis, where the system becomes trapped in local minima, causing energy estimates to oscillate and preventing convergence. In complex biological or material systems, finding a "perfect" CV is often impossible. This paper introduces VES$\Delta$F, a multiscale strategy designed to achieve accurate free energy calculations even in these "bad situations."

The VES$\Delta$F Methodology

The authors propose a two-step approach that decouples the characterization of local energy basins from the determination of their relative free energy heights. This strategy leverages the fact that simulations can learn local topography much faster than they can resolve the global landscape.

  1. Step One: Local Basin Mapping. Short, independent Metadynamics simulations are conducted to explore and map the local shape of each metastable basin. This phase focuses on learning the "topography" of individual valleys without requiring the system to cross high energy barriers.
  2. Step Two: Global Optimization. The information from the first step is used to construct a global model. Using the Variationally Enhanced Sampling (VES) framework, the method optimizes a single parameter: the free energy difference ($\Delta F$) between the basins.
Free energy surface of a 2D model system showing two metastable basins, A and B, which represent the target states for the VES$\Delta$F method.

By focusing optimization on the relative height of the basins rather than their internal shapes, the method reaches a "quasi-stationary" bias significantly faster than traditional approaches. To handle the noise inherent in suboptimal CVs, the authors incorporate an AdaGrad-inspired damping factor and a reweighting procedure to refine final accuracy.

Applications and Results

The efficacy of VES$\Delta$F was validated across three distinct benchmarks: a 2D illustrative model, alanine dipeptide with an intentionally poor CV, and a liquid-solid transition in sodium.

In the 2D model, where a hidden slow mode typically triggers hysteresis, VES$\Delta$F demonstrated remarkable stability. The sampling trajectory (Figure 2) illustrates the frequent transitions between the two metastable states (located at $x \approx -2$ and $x \approx 2$), which are necessary for a converged free energy estimate.

Sampling trajectory showing the system transitioning between the two metastable states over 15 million simulation steps.

Key results include:

  • Accelerated Convergence: In alanine dipeptide tests, VES$\Delta$F converged significantly faster than standard Well-Tempered Metadynamics, even when using the suboptimal $\psi$ angle as a CV.
  • Stability and Accuracy: Unlike standard methods that show systematic drift with poor CVs, VES$\Delta$F remained stable.
  • Parallel Efficiency: The method is highly parallelizable; using "multiple walkers" allows for more effective resolution of hidden slow degrees of freedom.

Conclusion

VES$\Delta$F provides a robust, physically transparent framework for free energy calculations. By separating the learning of local basin shapes from the optimization of their relative heights, it bypasses the convergence issues typical of systems with hidden slow modes. While the current implementation focuses on two-state systems, its simplicity and integration into the PLUMED plugin make it a powerful tool for the broader molecular dynamics community. Future work will look toward generalizing the method for multi-state landscapes.

Summary updated

BibTeX
@article{invernizzi2019making,
  author = {Michele Invernizzi and Michele Parrinello},
  title = {{Making the Best of a Bad Situation: A Multiscale Approach to Free Energy Calculation}},
  journal = {Journal of Chemical Theory and Computation},
  year = {2019},
  doi = {10.1021/acs.jctc.9b00032},
}
Figure