How simple can you go? An off-the-shelf transformer approach to molecular dynamics
Abstract
Most current neural networks for molecular dynamics (MD) include physical inductive biases, resulting in specialized and complex architectures. This is in contrast to most other machine learning domains, where specialist approaches are increasingly replaced by general-purpose architectures trained on vast datasets. In line with this trend, several recent studies have questioned the necessity of architectural features commonly found in MD models, such as built-in rotational equivariance or energy conservation. In this work, we contribute to the ongoing discussion by evaluating the performance of an MD model with as few specialized architectural features as possible. We present a recipe for MD using an edge transformer (ET), an ``off-the-shelf'' transformer architecture that has been minimally modified for the MD domain, termed MD-ET. Our model implements neither built-in equivariance nor energy conservation. We use a simple supervised pretraining scheme on $ $30 million molecular structures from the QCML database. Using this ``off-the-shelf'' approach, we show state-of-the-art results on several benchmarks after fine-tuning for a small number of steps. Using MD-ET as a simple and expressive testbed, we examine the effects of being only approximately equivariant and energy conserving for MD simulations and thereby try to evaluate the practical usefulness of unconstrained MD models. While our model exhibits runaway energy increases on larger structures, we show approximately energy-conserving NVE simulations for a range of small structures.
Benchmark Results
Tested on 1 dataset 5 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Quantum Chemistry
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | QHNet | 0.0000 | |
| 2 | QHNetV2 | 0.0000 | |
| 3 | PhiSNet | 0.0000 | |
| 7 | NequIP | 0.0009 best reported | best at pub: FreeCG: Free the Design Space of Clebsch–Gordan Transform for Machine Learning Force Fields (ICLR 2024) |
| 22 | PaiNN | 0.0100 best reported | best at pub: Symmetry-Informed Geometric Representation for Molecules, Proteins, and Crystalline Materials (NeurIPS 2023) |
| 46 | SchNet | 0.0500 best reported | |
| 52 | SphereNet | 0.0520 best reported | best at pub: Symmetry-Informed Geometric Representation for Molecules, Proteins, and Crystalline Materials (NeurIPS 2023) |
| 64 | DimeNet++ | 0.0640 best reported | best at pub: Directional Message Passing for Molecular Graphs (ICLR 2020) best today: Molecule Graph Networks with Many-body Equivariant Interactions (2024) |
| 113 | MD | 1.0000 | This paper |
| 114 | Orb | 1.0000 | This paper |
| 116 | GemNet-dT | 1.7000 | This paper |
| 122 | DeepPot-SE | 8.9000 | This paper |
| 124 | ForceNet | 9.9000 | This paper |
