Metadynamics of Paths

Davide Mandelli, Barak Hirshberg, Michele ParrinelloPhysical 2020 · DOI

Abstract

We present a method to sample reactive pathways via biased molecular dynamics simulations in trajectory space. We show that the use of enhanced sampling techniques enables unconstrained exploration of multiple reaction routes. Time correlation functions are conveniently computed via reweighted averages along a single trajectory and kinetic rates are accessed at no additional cost. These abilities are illustrated analyzing a model potential and the umbrella inversion of $NH_{3}$ in water. The algorithm allows a parallel implementation and promises to be a powerful tool for the study of rare events.

Introduction

Molecular dynamics (MD) simulations are indispensable for understanding the microscopic behavior of matter. However, many processes of interest—such as chemical reactions, phase transitions, or protein folding—are "rare events" characterized by long waiting times between transitions. These events occur on timescales far exceeding the reach of standard MD due to high free-energy barriers. While methods like Transition Path Sampling (TPS) have been developed to harvest reactive trajectories, they often require prior knowledge of the final state and can suffer from "path trapping," where the simulation fails to explore alternative reaction mechanisms.

Methodology: The Fictitious Polymer

The "Metadynamics of Paths" framework addresses these limitations by mapping the problem of path sampling onto the physics of a fictitious polymer in trajectory space. A trajectory of length $T$ is discretized into $N$ snapshots or "beads." The probability of a given path is determined by the Onsager-Machlup (OM) action, which serves as an effective potential energy for this polymer.

Schematic of the fictitious polymer mapping where beads represent time-ordered snapshots connected by harmonic-like constraints derived from the OM action.

By applying Metadynamics (MetaD) to this path-space representation, the authors introduce a history-dependent bias that discourages the system from revisiting previously sampled pathways. This bias is typically applied to a Collective Variable (CV) such as the end-to-end distance of the polymer, allowing the simulation to "push" the path out of known basins and into unexplored regions of the potential energy surface.

Results and Validation

Overcoming Path Trapping in 2D Systems

The method's ability to discover multiple reaction routes was first tested on a 2D double-well potential featuring two distinct saddle points (reaction channels). Traditional TPS often becomes trapped in one channel, failing to sample the other. In contrast, the Metadynamics of Paths approach successfully explores both routes.

Comparison of sampling density on a 2D potential. (a-b) show the evolution of the path, while (c-d) compare the probability density of Transition Path Sampling (TPS) vs. Metadynamics of Paths (MetaD), highlighting MetaD's superior exploration of multiple reaction channels.

As shown in the figure above, MetaD provides a much broader exploration of the transition region compared to the localized sampling of TPS. This unconstrained exploration allows for the discovery of the product state (State B) without it being predefined.

Ammonia Inversion and Solvent Effects

The framework was further applied to the umbrella inversion of ammonia ($NH_3$). In a vacuum, the calculated activation barrier of $118 \pm 1$ kJ/mol matches theoretical benchmarks. When solvated in liquid water, the method revealed a significant increase in the free-energy barrier (~15 kJ/mol higher than in vacuum), leading to a reaction rate roughly 1,000 times slower. This effect is attributed to the solvent's need to reorganize into a symmetric configuration to accommodate the planar transition state of $NH_3$.

Conclusion

Metadynamics of Paths offers a robust solution for studying rare events by enabling the simultaneous discovery of reaction mechanisms and the calculation of kinetic rates. Its formulation in trajectory space allows for massive parallelization, as all beads of the fictitious polymer can be updated simultaneously. This method paves the way for studying complex chemical and biological processes where multiple pathways and solvent effects play a critical role.

Summary updated

BibTeX
@inproceedings{mandelli2020metadynamics,
  author = {Davide Mandelli and Barak Hirshberg and Michele Parrinello},
  title = {{Metadynamics of Paths}},
  booktitle = {Physical},
  year = {2020},
  doi = {10.1103/physrevlett.125.026001},
}
Figure