Consistent Sampling and Simulation: Molecular Dynamics with Energy-Based Diffusion Models

Michael Plainer, Hao Wu, Leon Klein, Stephan Günnemann, Frank Noé
6/20/2025
cs.LGcs.AIphysics.chem-ph

Official code: noegroup/ScoreMD (108 stars, MIT, last commit 2025-11-21).

Abstract

In recent years, diffusion models trained on equilibrium molecular distributions have proven effective for sampling biomolecules. Beyond direct sampling, the score of such a model can also be used to derive the forces that act on molecular systems. However, while classical diffusion sampling usually recovers the training distribution, the corresponding energy-based interpretation of the learned score is often inconsistent with this distribution, even for low-dimensional toy systems. We trace this inconsistency to inaccuracies of the learned score at very small diffusion timesteps, where the model must capture the correct evolution of the data distribution. In this regime, diffusion models fail to satisfy the Fokker--Planck equation, which governs the evolution of the score. We interpret this deviation as one source of the observed inconsistencies and propose an energy-based diffusion model with a Fokker--Planck-derived regularization term to enforce consistency. We demonstrate our approach by sampling and simulating multiple biomolecular systems, including fast-folding proteins, and by introducing a state-of-the-art transferable Boltzmann emulator for dipeptides that supports simulation and achieves improved consistency and efficient sampling. Our code, model weights, and self-contained JAX and PyTorch notebooks are available at https://github.com/noegroup/ScoreMD.

View on arXivView PDF

Code Implementations(1)

noegroup/ScoreMDOfficial100%
MIT

A framework for training energy-based diffusion models for sampling and energy estimation.

10812Python, DockerfileJun 20, 202511 months agoMIT
diffusion-modelsenergy-based-modelgenerative-modelmolecular-dynamics

Similar Papers

Cite this paper

@article{plainer2025consistent,
  title  = {Consistent Sampling and Simulation: Molecular Dynamics with Energy-Based Diffusion Models},
  author = {Michael Plainer and Hao Wu and Leon Klein and Stephan Günnemann and Frank Noé},
  year   = {2025},
  eprint = {2506.17139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.17139v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.17139.svg)](https://codeofpaper.com/paper/2506.17139)

Discussion