Velocity Updates from Machine Learning for Stable Molecular Dynamics Integration

12 September 2025, Version 2
This content is an early or alternative research output and has not been peer-reviewed by Cambridge University Press at the time of posting.

Abstract

We present a machine-augmented molecular dynamics (MAMD) framework in which particle velocities are updated using predictions from stacked long short-term memory (LSTM) networks trained on historical velocity and coordinate data. MAMD propagates coordinate trajectories in time without access to forces or energies during training or inference. Applied to isolated harmonic diatomics, MAMD conserves total energy, preserves molecular structure, and reproduces velocity autocorrelation functions. Small integration errors can accumulate over long trajectories, but we show that molecular dynamics stability can be recovered through periodic, but infrequent injections of velocity updates computed from Hamiltonian forces (frequency ≤ 0.01). We also find that the optimal history length for each diatom closely matches the first inflection point of its velocity autocorrelation function, suggesting a link between model architecture and statistical mechanics. These results demonstrate the feasibility of MAMD as a proof-of-concept integration strategy, in which finite velocity memory supports short-horizon predictions and sparse Hamiltonian check-ins provide long-horizon stability. Specifically, we show that force-free, velocity-based machine learning updates can be embedded directly into conventional molecular dynamics algorithms while retaining essential physical invariants, providing a physically interpretable basis for hybrid MD/ML integration.

Keywords

machine-learning-augmented molecular simulations
machine-learned molecular dynamics
time evolution
velocity auto-correlation
velocity decomposition

Supplementary materials

Title
Description
Actions
Title
Supporting Information: Velocity Updates from Machine Learning for Stable Molecular Dynamics Integration
Description
This Supporting Information (SI) provides detailed benchmarks and validation analyses for machine-augmented molecular dynamics (MAMD). Table S1 summarizes empirical force field parameters for a series of diatomic molecules from the NIST Computational Chemistry Comparison and Benchmark Database. Table S2 evaluates the sensitivity of MAMD energy conservation to delayed activation, confirming robust stability across staggered start times. Figure S1 compares test set performance (MAE, MAPE) for several ML models (3vR0, 3uR0, DuR0) across molecular systems and energy targets. Figure S2 illustrates divergence patterns in potential and kinetic energies over repeated ML velocity updates, emphasizing the need for model selection and retraining to ensure long-term stability.
Actions

Supplementary weblinks

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting and Discussion Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.