FlashMD: long-stride, universal prediction of molecular dynamics
Filippo Bigi, Sanggyu Chong, Agustinus Kristiadi, Michele Ceriotti
TL;DR
FlashMD tackles the time-scale gap in molecular dynamics by learning direct, long-stride trajectories with a graph neural network that predicts updates to positions and momenta over strides Δτ that can exceed standard MD steps by 1–2 orders of magnitude. The approach enforces energy conservation at inference, accommodates arbitrary thermodynamic ensembles, and explicitly addresses challenges from chaos, time-reversibility, and symmetry breaking, enabling stable, long-time MD propagation. Across water systems and universal models, FlashMD demonstrates accurate reproduction of equilibrium observables and meaningful time-dependent behavior for diverse chemistries, achieving substantial speedups over conventional MD. This direct MD trajectory predictor has the potential to dramatically extend accessible atomistic time scales and offers a practical, universal companion to traditional ML interatomic potentials for large-scale, long-time simulations.
Abstract
Molecular dynamics (MD) provides insights into atomic-scale processes by integrating over time the equations that describe the motion of atoms under the action of interatomic forces. Machine learning models have substantially accelerated MD by providing inexpensive predictions of the forces, but they remain constrained to minuscule time integration steps, which are required by the fast time scale of atomic motion. In this work, we propose FlashMD, a method to predict the evolution of positions and momenta over strides that are between one and two orders of magnitude longer than typical MD time steps. We incorporate considerations on the mathematical and physical properties of Hamiltonian dynamics in the architecture, generalize the approach to allow the simulation of any thermodynamic ensemble, and carefully assess the possible failure modes of such a long-stride MD approach. We validate FlashMD's accuracy in reproducing equilibrium and time-dependent properties, using both system-specific and general-purpose models, extending the ability of MD simulation to reach the long time scales needed to model microscopic processes of high scientific and technological relevance.
