UniSim: A Unified Simulator for Time-Coarsened Dynamics of Biomolecules

Ziyang Yu, Wenbing Huang, Yang Liu · DOI

Introduction

Molecular Dynamics (MD) simulations serve as the "computational microscopes" of modern biology, providing a window into the atomic-level interactions that drive life. However, these simulations face a significant temporal bottleneck: to maintain numerical stability, traditional MD requires femtosecond-scale ($10^{-15}$ seconds) timesteps. Simulating biological processes that occur over milliseconds requires trillions of sequential steps, making the study of long-term dynamics computationally prohibitive.

Recent advancements in deep learning have introduced "time-coarsening"—the practice of skipping intermediate frames to predict molecular states far into the future. While promising, previous models have largely been specialized, trained on single proteins or specific chemical environments. UniSim addresses this gap as a first-of-its-kind unified generative model designed to generalize across small molecules, peptides, and proteins, providing a foundation model for molecular motion.

Methodology

UniSim leverages a stochastic interpolant framework and several architectural innovations to create a transferable simulator capable of handling diverse molecular scales:

  1. Unified Pretraining with Subgraphing: To reconcile the scale differences between a 20-atom drug and a 5,000-atom protein, UniSim employs "Gradient-Environment Subgraphs." By focusing on local atomic neighborhoods rather than global structures, the model learns universal interaction principles that apply regardless of the system's total size.
  2. Atomic Embedding Expansion: Standard models often identify atoms solely by their element. UniSim expands this vocabulary to include specific chemical contexts—such as distinguishing a carbon atom in a protein backbone from one in a benzene ring—allowing for higher-fidelity representations of local dynamics.
  3. Stochastic Interpolant Framework: This generative engine learns to map an initial molecular state to a future state by following a learned vector field. This approach effectively "pushes" atoms toward their most probable future positions across large time intervals.
  4. Force Guidance Kernel: To ensure adaptability, UniSim includes a modular guidance head. This allows the simulator to be "nudged" to comply with specific physical constraints, such as varying temperatures or different solvents, without requiring a full retraining of the base model.

Experimental Setup and Datasets

The model was trained on a massive, heterogeneous collection of molecular data to ensure broad transferability:

  • Small Molecules: PCQM4Mv2 (~3M items) and ANI-1x (~5M items).
  • Peptides: PepMD (~1M items), featuring short amino acid chains.
  • Proteins: Data from the Protein Data Bank (PDB), ATLAS (all-atom MD simulations), and SPF (intermolecular interactions).
  • Benchmarks: The model's zero-shot transfer capabilities were evaluated using the MD17 and MD22 benchmarks.

Key Insights and Results

UniSim demonstrates that the "scale gap" in molecular biology is bridgeable. By learning from local subgraphs, the model proves that the fundamental physics of atomic interactions is consistent enough to transfer from small molecules to complex proteins.

Performance and Efficiency

  • Speedup: UniSim achieved approximately a 25x increase in efficiency (Effective Sample Size per second) compared to traditional MD performed with OpenMM on the PepMD test set.
  • Accuracy: The model consistently outperformed state-of-the-art baselines, such as FBM and Timewarp, in terms of structural validity and distributional similarity.
  • Metastable States: In protein simulations, UniSim successfully crossed energy barriers to explore distinct metastable states (different conformational shapes) in just a few inference iterations—a task that typically requires millions of steps in classical MD.

Limitations and Future Directions

While UniSim represents a significant leap forward, the authors identify several areas for improvement. Like many autoregressive models, UniSim can suffer from error accumulation over very long trajectories, leading to structural drift. Additionally, the model currently benefits from a brief "energy minimization" step using traditional physics engines to maintain physical validity after large temporal jumps. Future work will focus on testing UniSim on massive, long-term biological processes such as full protein folding and further reducing the reliance on external refinement.

Conclusion

UniSim establishes a new paradigm for molecular simulation by combining the speed of generative modeling with the generalizability of a foundation model. By successfully bridging the gap between small-molecule chemistry and large-scale protein dynamics, it paves the way for more efficient drug discovery and a deeper understanding of biological mechanisms at scale.

Summary updated

BibTeX
@inproceedings{yu2025unisim,
  author = {Ziyang Yu and Wenbing Huang and Yang Liu},
  title = {{UniSim: A Unified Simulator for Time-Coarsened Dynamics of Biomolecules}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=W598uW37zt},
}
Figure