JAMUN: Bridging Smoothed Molecular Dynamics and Score-Based Learning for Conformational Ensembles

Ameya Daigavane, Bodhi P. Vani, Darcy Davidson, Saeed Saremi, Joshua Rackers, Joseph Kleinhenz

TL;DR

JAMUN is a generative machine learning framework that accelerates the sampling of protein conformational ensembles by running molecular dynamics within a smoothed, noised coordinate space. By leveraging Walk-Jump Sampling and an SE(3)-equivariant graph neural network, it achieves order-of-magnitude speedups over traditional molecular dynamics while maintaining high physical validity and transferring successfully to unseen and longer peptides.

What Problem Does This Paper Address?

Proteins are highly dynamic molecules, and understanding their structural variations—known as conformational ensembles—is crucial for biology and drug discovery (such as identifying "cryptic pockets" where drugs can bind). Traditional Molecular Dynamics (MD) simulations compute these ensembles by numerically integrating physics equations over time. However, MD is severely bottlenecked by the need for tiny, femtosecond-scale timesteps to resolve high-frequency motions like bond vibrations, making the simulation of long-timescale phenomena computationally prohibitive.

While machine learning (ML) models have been developed to generate these ensembles more quickly, they typically suffer from poor transferability. That is, they fail to generalize when applied to new molecular systems or longer sequences that were not explicitly present in their training data. JAMUN addresses this speed-versus-generalization trade-off.

Methods

JAMUN bridges molecular dynamics and score-based generative machine learning using a framework called Walk-Jump Sampling (WJS):

  1. Noise (Smoothing): The model adds a fixed amount of Gaussian noise ($\sigma = 0.4\text{ \AA}$) to the 3D coordinates of all atoms. This smooths out the rugged energy landscape, effectively erasing the high-frequency energy barriers that slow down traditional MD.
  2. Walk: Langevin molecular dynamics are run inside this smoothed, noisy space. Instead of a classical physics force field, the "forces" driving this walk are provided by a score function ($\nabla_y \log p_Y(y)$) learned by a neural network.
  3. Jump: Periodically, the noisy conformations from the walk step are mapped back to the clean, physical data distribution using a denoising procedure.
Figure 1: Overview of the JAMUN sampling process, where an initial conformation is noised, propagated and denoised to obtain new conformations.

The core denoiser network is parameterized as an SE(3)-equivariant geometric graph neural network (similar to NequIP). Crucially, SE(3) equivariance respects parity and chirality, meaning the model inherently understands the difference between left- and right-handed molecular structures, eliminating the need for unphysical post-hoc structural corrections.

Datasets

The authors evaluated JAMUN across several peptide datasets reflecting different lengths, capping groups, and solvent conditions:

  • TIMEWARP 2AA-LARGE & 4AA-LARGE: Uncapped zwitterionic peptides simulated in implicit water.
  • MDGEN 4AA-EXPLICIT: Tetrapeptides simulated in explicit water.
  • CAPPED 2AA: A dataset generated by the authors using OpenMM with explicit TIP3P water and realistic acetyl/N-methyl capping groups to accurately benchmark wall-clock speedups.
  • UNCAPPED 5AA: A dataset of 5-amino-acid peptides used to test zero-shot generalization to longer sequences.
  • CREMP 4AA & 6AA: Datasets containing conformations of macrocyclic (ring-shaped) peptides to test performance on non-linear topologies.

Key Insights and Ideas

  • Decoupled, Single-Scale Sampling: Unlike standard diffusion models that generate samples from scratch (starting from pure noise) over dozens of steps, JAMUN operates at a single, fixed noise level. It simply propagates and denoises samples within a partially noised space, drastically reducing the number of network evaluations required.
  • Chirality by Design: By using an SE(3)-equivariant network rather than an E(3)-equivariant one, the model avoids generating unphysical mirrored versions of amino acids, a common flaw in previous architectures that required separate "chirality checking" steps.
  • Generalization via Relative Encoding: JAMUN omits absolute residue sequence indices (e.g., position 1, 2, 3...) during graph construction. Relying purely on local atomic environments and relative geometry allows the model to seamlessly generalize to longer peptide chains than it encountered during training.

Key Results

  • Order-of-Magnitude Speedups: JAMUN generates 100,000 samples in roughly 3 to 12 minutes on a single GPU—a process that takes hours or days using traditional explicit-solvent MD. It decorrelates backbone and sidechain torsions significantly faster than standard MD.
  • High Fidelity: The generated ensembles accurately capture the metastable state probabilities and free energy landscapes of the target systems, matching or outperforming state-of-the-art baselines like TBG and MDGen.
Correlation of MSM state probabilities
  • Physical Validity: JAMUN samples pass structural integrity checks (covering valid bond lengths, angles, and steric clashes) via the Posebusters toolkit at a high rate of 94.7%.
  • Zero-Shot Length Transfer: A JAMUN model trained only on 4-amino-acid peptides successfully predicted the conformational ensembles of 5-amino-acid peptides. Baseline models failed this test due to rigid, fixed-length positional embeddings. JAMUN also successfully generalized to non-linear macrocyclic topologies.

Limitations and Future Work

  • No Exact Reweighting: JAMUN acts as a Boltzmann emulator rather than a exact generator. It approximates the distribution well but does not currently provide exact statistical guarantees or reweighting factors for importance sampling. The authors note that learning an explicit energy model ($U_Y$) over the noisy space could resolve this.
  • Scaling to Large Proteins: The current study is limited to small peptides (2 to 6 amino acids). Scaling the architecture to handle large, fully folded proteins remains a challenge that will require more intensive data generation.
  • Enhanced Sampling: A promising future direction is combining JAMUN with classical enhanced sampling techniques (like metadynamics) directly inside the smoothed latent space to accelerate landscape exploration even further.

Summary updated

Abstract

Conformational ensembles of protein structures are immensely important both for understanding protein function and drug discovery in novel modalities such as cryptic pockets. Current techniques for sampling ensembles such as molecular dynamics (MD) are computationally inefficient, while many recent machine learning methods do not transfer to systems outside their training data. We propose JAMUN which performs MD in a smoothed, noised space of all-atom 3D conformations of molecules by utilizing the framework of walk-jump sampling. JAMUN enables ensemble generation for small peptides at rates of an order of magnitude faster than traditional molecular dynamics. The physical priors in JAMUN enables transferability to systems outside of its training data, even to peptides that are longer than those originally trained on. Our model, code and weights are available at https://github.com/prescient-design/jamun.
BibTeX
@inproceedings{daigavane2025jamun,
  author = {Ameya Daigavane and Bodhi P. Vani and Darcy Davidson and Saeed Saremi and Joshua Rackers and Joseph Kleinhenz},
  title = {{JAMUN: Bridging Smoothed Molecular Dynamics and Score-Based Learning for Conformational Ensembles}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=8Z3KnaYtw9},
}
Figure