# TorchMD: A deep learning framework for molecular simulations

arXiv: https://arxiv.org/abs/2012.12106 · HTML: https://mlsanity.com/paper/2012.12106/

## Key facts

- Cited by 55 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 22 Dec 2020.

## Built on by (most cited first, 30 of 55)

- [TorchMD-NET: Equivariant Transformers for Neural Network based Molecular Potentials](https://mlsanity.com/paper/2202.02541/) (2022)
- [Forces are not Enough: Benchmark and Critical Evaluation for Machine Learning Force Fields with Molecular Simulations](https://mlsanity.com/paper/2210.07237/) (2022)
- [Machine Learning Coarse-Grained Potentials of Protein Thermodynamics](https://mlsanity.com/paper/2212.07492/) (2022)
- [Graph Neural Networks Accelerated Molecular Dynamics](https://mlsanity.com/paper/2112.03383/) (2021)
- [SchNetPack 2.0: A neural network toolbox for atomistic machine learning](https://mlsanity.com/paper/2212.05517/) (2022)
- [Learning neural network potentials from experimental data via Differentiable Trajectory Reweighting](https://mlsanity.com/paper/2106.01138/) (2021)
- [Simulate Time-integrated Coarse-grained Molecular Dynamics with Multi-Scale Graph Networks](https://mlsanity.com/paper/2204.10348/) (2022)
- [Action-Minimization Meets Generative Modeling: Efficient Transition Path Sampling with the Onsager-Machlup Functional](https://mlsanity.com/paper/2504.18506/) (2025)
- [Uncertainty-biased molecular dynamics for learning uniformly accurate interatomic potentials](https://mlsanity.com/paper/2312.01416/) (2023)
- [TorchMD-Net 2.0: Fast Neural Network Potentials for Molecular Simulations](https://mlsanity.com/paper/2402.17660/) (2024)
- [Accurate machine learning force fields via experimental and simulation data fusion](https://mlsanity.com/paper/2308.09142/) (2023)
- [chemtrain: Learning Deep Potential Models via Automatic Differentiation and Statistical Physics](https://mlsanity.com/paper/2408.15852/) (2024)
- [Coupling streaming AI and HPC ensembles to achieve 100-1000x faster biomolecular simulations](https://mlsanity.com/paper/2104.04797/) (2021)
- [NNP/MM: Accelerating molecular dynamics simulations with machine learning potentials and molecular mechanic](https://mlsanity.com/paper/2201.08110/) (2022)
- [Differentiable Matrix Elements with MadJax](https://mlsanity.com/paper/2203.00057/) (2022)
- [Differentiable Simulations for Enhanced Sampling of Rare Events](https://mlsanity.com/paper/2301.03480/) (2023)
- [Thermodynamics-inspired Explanations of Artificial Intelligence](https://mlsanity.com/paper/2206.13475/) (2022)
- [chemtrain-deploy: A parallel and scalable framework for machine learning potentials in million-atom MD simulations](https://mlsanity.com/paper/2506.04055/) (2025)
- [Learning Interatomic Potentials at Multiple Scales](https://mlsanity.com/paper/2310.13756/) (2023)
- [A Multi-Grained Symmetric Differential Equation Model for Learning Protein-Ligand Binding Dynamics](https://mlsanity.com/paper/2401.15122/) (2024)
- [MatterTune: An Integrated, User-Friendly Platform for Fine-Tuning Atomistic Foundation Models to Accelerate Materials Simulation and Discovery](https://mlsanity.com/paper/2504.10655/) (2025)
- [Automated Machine Learning Pipeline: Large Language Models-Assisted Automated Dataset Generation for Training Machine-Learned Interatomic Potentials](https://mlsanity.com/paper/2509.21647/) (2025)
- [Learning Pair Potentials using Differentiable Simulations](https://mlsanity.com/paper/2209.07679/) (2022)
- [Top-down machine learning of coarse-grained protein force-fields](https://mlsanity.com/paper/2306.11375/) (2023)
- [Self-Tuning Hamiltonian Monte Carlo for Accelerated Sampling](https://mlsanity.com/paper/2309.13593/) (2023)
- [On the design space between molecular mechanics and machine learning force fields](https://mlsanity.com/paper/2409.01931/) (2024)
- [Equivariant Masked Position Prediction for Efficient Molecular Representation](https://mlsanity.com/paper/2502.08209/) (2025)
- [Molecule Graph Networks with Many-body Equivariant Interactions](https://mlsanity.com/paper/2406.13265/) (2024)
- [AMARO: All Heavy-Atom Transferable Neural Network Potentials of Protein Thermodynamics](https://mlsanity.com/paper/2409.17852/) (2024)
- [Automatic Identification of Chemical Moieties](https://mlsanity.com/paper/2203.16205/) (2022)

## Abstract (arXiv)

Molecular dynamics simulations provide a mechanistic description of molecules by relying on empirical potentials. The quality and transferability of such potentials can be improved leveraging data-driven models derived with machine learning approaches. Here, we present TorchMD, a framework for molecular simulations with mixed classical and machine learning potentials. All of force computations including bond, angle, dihedral, Lennard-Jones and Coulomb interactions are expressed as PyTorch arrays and operations. Moreover, TorchMD enables learning and simulating neural network potentials. We validate it using standard Amber all-atom simulations, learning an ab-initio potential, performing an end-to-end training and finally learning and simulating a coarse-grained model for protein folding. We believe that TorchMD provides a useful tool-set to support molecular simulations of machine learning potentials. Code and data are freely available at urlgithub.com/torchmd.
