Langevin Flow Maps: Efficient Molecular Dynamics and Transition Path Sampling

Sam McCallum, Niklas Rindtorff, Alexander Tong, James FosterarXiv 2026

TL;DR

Langevin Flow Maps (LFMs) represent a significant leap in molecular dynamics (MD) by learning to predict the long-term evolution of a system rather than just instantaneous forces. By integrating a stochastic Langevin solver directly into a neural network, LFMs enable simulation timesteps that are ten times larger than traditional methods, achieving an order-of-magnitude speedup while accurately capturing complex transition dynamics and equilibrium properties.

What Problem Does This Paper Address?

Molecular dynamics is often described as a "computational microscope," allowing researchers to observe the dance of atoms. However, this microscope is incredibly slow. To keep the simulation stable and capture rapid atomic vibrations, we must use tiny timesteps on the order of one femtosecond ($10^{-15}$ seconds). Unfortunately, the biological and chemical events we actually care about—like protein folding or drug binding—happen over nanoseconds or milliseconds.

While Machine-Learned Force Fields (MLFFs) have made calculating atomic forces much faster, they haven't solved the "integration bottleneck." You still have to take millions of tiny steps to see anything interesting. The authors of this paper ask: Can we learn to take much larger leaps through time by learning the integral of the forces, rather than just the forces themselves?

Methods

The core innovation is the Langevin Flow Map. Instead of just predicting the force at a single moment, the LFM learns a deterministic mapping that evolves a molecular state (position and velocity) over a large time interval, given a specific realization of random noise.

Key technical components include:

  • Brownian Path Expansion: Since Langevin dynamics is stochastic, the model needs to know what "randomness" occurred during the jump. The authors use a polynomial expansion to represent the Brownian path, allowing the neural network to process the noise as a structured input.
  • Trajectory-Free Learning: Unlike previous "transfer operator" methods that require expensive pre-computed trajectories for training, LFMs use a consistency objective. Based on the "semigroup property," the model is trained to ensure that one large jump from time $s$ to $t$ is mathematically consistent with two smaller jumps (e.g., $s \to u$ and $u \to t$).
  • Transformer Architecture: The model uses a translation-invariant transformer that takes atomic numbers, masses, positions, velocities, and Brownian coefficients to predict the next state.
Figure 1: Langevin Flow Maps (blues) learn the pathwise solution to Langevin Dynamics (gray). Given a polynomial expansion of W[s,t], the flow map takes large timesteps to accurately predict the velocity and position trajectories.

Datasets

The authors evaluated LFMs across three distinct regimes:

  1. MD17: A standard benchmark containing equilibrium configurations and forces for small organic molecules (e.g., aspirin, ethanol, naphthalene).
  2. Alanine Dipeptide: The "hello world" of molecular dynamics, used specifically to test if the model can capture transitions between different molecular shapes (meta-stable states).
  3. Many Peptides: A diverse dataset of peptide conformations used to demonstrate transferability—the ability of a single model to simulate molecules it never saw during training.

Key Insights and Ideas

  • "Forces are Not Enough": The paper reinforces a growing realization in the field that a model with low force error doesn't necessarily produce a good simulation. By learning the flow (the path), LFMs are more robust to the integration errors that typically plague large-timestep MD.
  • Stochasticity as a Feature: By treating the Brownian path as a polynomial input, the authors turn a stochastic problem into a deterministic regression task. This allows for much more efficient training compared to generative models that try to sample distributions directly.
  • Foundational Integrators: The success on the "Many Peptides" dataset suggests a path toward a "foundation model" for MD—a single, pre-trained integrator that can be dropped into any molecular simulation to provide instant acceleration.

Key Results

  • Speedup: LFMs run an order of magnitude faster than current MLFFs because they can take 10fs steps instead of the standard 1fs or 0.5fs steps.
  • Accuracy: In ethanol simulations, an LFM taking 10fs steps achieved comparable accuracy to a standard BAOAB integrator taking 1fs steps (see Figure 2 in the paper).
  • Transition Dynamics: In the alanine dipeptide test, LFMs accurately recovered transition pathways and free energy barriers, identifying both the "shortest path" and the more common "modal path" between states.
Transition paths for the alanine dipeptide transition.
  • Efficiency: LFMs converge to the correct equilibrium (Boltzmann) distribution significantly faster than traditional MLFFs in terms of the number of network evaluations required.
Figure 4: Convergence to the Boltzmann distribution measured by the 2-Wasserstein distance over torsion angles, T-W2, as a function of the number of network evaluations, N.

Limitations and Future Work

  • Computational Scaling: The current transformer architecture scales at $O(N^2)$ with the number of atoms, which could be a bottleneck for very large proteins or solvent systems.
  • Physical Constraints: The model does not explicitly enforce physical symmetries like time-reversibility or energy conservation (equipartition) in its update rule. The authors suggest that adding these as inductive biases could improve stability.
  • Transferability Bias: While the model generalizes well to new peptides, the authors noted some bias in the equilibrium distributions for unseen systems at the largest timesteps, suggesting that further refinement of the "transferable" training process is needed.

Summary updated

BibTeX
@misc{mccallum2026langevin,
  author = {Sam McCallum and Niklas Rindtorff and Alexander Tong and James Foster},
  title = {{Langevin Flow Maps: Efficient Molecular Dynamics and Transition Path Sampling}},
  year = {2026},
  eprint = {2610.05998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.05998},
}
Figure