Statistically Optimal Force Aggregation for Coarse-Graining Molecular Dynamics

Andreas Krämer, Aleksander E. P. Durumeric, Nicholas E. Charron, Yaoyi Chen, Cecilia Clementi, Frank NoéThe Journal of Physical Chemistry Letters 2023

Abstract

Machine-learned coarse-grained (CG) models have the potential for simulating large molecular complexes beyond what is possible with atomistic molecular dynamics. However, training accurate CG models remains a challenge. A widely used methodology for learning CG force-fields maps forces from all-atom molecular dynamics to the CG representation and matches them with a CG force-field on average. We show that there is flexibility in how to map all-atom forces to the CG representation, and that the most commonly used mapping methods are statistically inefficient and potentially even incorrect in the presence of constraints in the all-atom simulation. We define an optimization statement for force mappings and demonstrate that substantially improved CG force-fields can be learned from the same simulation data when using optimized force maps. The method is demonstrated on the miniproteins Chignolin and Tryptophan Cage and published as open-source code.

Introduction: The Challenge of Coarse-Graining

Molecular Dynamics (MD) simulations provide an invaluable atomistic view of biological processes, but their computational cost limits the size and timescale of systems that can be studied. Coarse-graining (CG) addresses this by representing groups of atoms as single "beads," effectively zooming out to capture essential dynamics.

The standard approach to training these models is force matching. This involves mapping forces from high-resolution atomistic simulations onto CG beads and training a neural network to predict them. However, this process faces two major hurdles:

  1. Statistical Noise: Atomistic forces fluctuate significantly due to fast vibrations, often drowning out the signal the CG model needs to learn.
  2. Physical Constraints: Most simulations use rigid constraints (e.g., fixed bond lengths). Standard mapping techniques often ignore these, leading to physically incorrect and biased CG force fields.

Methods: Optimized Force Aggregation

The core innovation of this work is the introduction of a Dual Variational Principle for force matching. The authors demonstrate that there is a family of mathematically valid ways to map atomistic forces to CG beads.

Coordinate mapping (a) and corresponding force mapping strategies (b), illustrating the transition from simple slicing to optimized aggregation.

Instead of using a simple "slice" (taking the force of one atom) or a basic average, the researchers developed an optimized force mapping algorithm. Using Quadratic Programming, the method finds specific weights for aggregating forces from surrounding atoms. These weights are optimized to:

  • Minimize the variance (noise) of the mapped force.
  • Ensure "orthogonality" to any rigid constraints in the system, maintaining physical consistency.

This optimization occurs during data preparation, "smoothing" the forces before they are used to train the neural network, which leads to a more stable and efficient training process.

Key Results and Insights

The researchers evaluated the method on systems ranging from a simple water dimer to complex miniproteins like Chignolin and Tryptophan Cage.

Comparison of standard force mapping versus optimized force mapping, highlighting the reduction in bias and uncertainty in the resulting CG models.
  • 3x Data Efficiency: In protein systems, optimized mapping allowed models to achieve the same accuracy as standard methods while using only one-third of the training data.
  • Bias Correction: In tests with rigid water dimers, standard "slice" mapping underestimated molecular attraction. The optimized mapping correctly recovered the empirical Free Energy Surface.
  • Superior Landscapes: Models trained with optimized forces more accurately reproduced "folded" and "unfolded" states in proteins, avoiding the spurious intermediate states often produced by standard methods.

A key takeaway is that noise is a choice. Much of the noise in CG training is an artifact of the mapping strategy rather than an inherent physical property. By decoupling the mapping from the specific potential being learned, researchers can optimize their data once and then experiment with various neural network architectures.

Conclusion and Future Directions

The introduced method, implemented in the open-source tool aggforce, represents a significant step toward more robust and efficient coarse-grained modeling. While currently focused on linear mappings, future work may explore position-dependent mappings to further reduce noise. Additionally, explicitly aggregating forces from the surrounding solvent could further clarify the physical signal in protein simulations.

Summary updated

BibTeX
@article{kramer2023statistically,
  author = {Andreas Krämer and Aleksander E. P. Durumeric and Nicholas E. Charron and Yaoyi Chen and Cecilia Clementi and Frank Noé},
  title = {{Statistically Optimal Force Aggregation for Coarse-Graining Molecular Dynamics}},
  journal = {The Journal of Physical Chemistry Letters},
  year = {2023},
}
Figure