Grappa -- A Machine Learned Molecular Mechanics Force Field
Leif Seute, Eric Hartmann, Jan Stühmer, Frauke Gräter
TL;DR
Grappa addresses the tension between accuracy and efficiency in molecular mechanics by learning MM parameters directly from molecular graphs with a graph attentional network and a symmetry-preserving transformer. This yields a force field that matches or surpasses state-of-the-art MM performance while preserving the computational efficiency of classical MM, enabling MD in established engines like GROMACS and OpenMM. The approach demonstrates transferability to large biomolecules, extensibility to novel chemistries (including radicals), and compatibility with multiple nonbonded schemes, with robustness verified on proteins and viruses and favorable resource requirements compared to E(3) equivariant models. Overall, Grappa provides a practical, interpretable, and scalable framework for parameterizing MM force fields across broad chemical space at near-MM costs.
Abstract
Simulating large molecular systems over long timescales requires force fields that are both accurate and efficient. In recent years, E(3) equivariant neural networks have lifted the tension between computational efficiency and accuracy of force fields, but they are still several orders of magnitude more expensive than established molecular mechanics (MM) force fields. Here, we propose Grappa, a machine learning framework to predict MM parameters from the molecular graph, employing a graph attentional neural network and a transformer with symmetry-preserving positional encoding. The resulting Grappa force field outperformstabulated and machine-learned MM force fields in terms of accuracy at the same computational efficiency and can be used in existing Molecular Dynamics (MD) engines like GROMACS and OpenMM. It predicts energies and forces of small molecules, peptides, RNA and - showcasing its extensibility to uncharted regions of chemical space - radicals at state-of-the-art MM accuracy. We demonstrate Grappa's transferability to macromolecules in MD simulations from a small fast folding protein up to a whole virus particle. Our force field sets the stage for biomolecular simulations closer to chemical accuracy, but with the same computational cost as established protein force fields.
