Abstract
Machine learning interatomic potentials (MLIPs) enables molecular dynamics (MD) simulations with ab initio accuracy and has been applied to various fields of physical science. However, the performance and transferability of MLIPs are limited by insufficient labeled training data, which require expensive ab initio calculations to obtain the labels, especially for complex molecular systems. To address this challenge, we design a novel geometric structure learning paradigm that consists of two stages. We first generate a large quantity of 3D configurations of target molecular system with classical molecular dynamics simulations. Then, we propose geometry-enhanced self-supervised learning consisting of masking, denoising, and contrastive learning to better capture the topology and 3D geometric information from the unlabeled 3D configurations. We evaluate our method on various benchmarks ranging from small molecule datasets to complex periodic molecular systems with more types of elements. The experimental results show that the proposed pre-training method can greatly enhance the accuracy of MLIPs with few extra computational costs and works well with different invariant or equivariant graph neural network architectures. Our method improves the generalization capability of MLIPs and helps to realize accurate MD simulations for complex molecular systems.
Introduction
In computational chemistry and materials science, Molecular Dynamics (MD) simulations are indispensable tools for understanding atomic-level interactions. Traditionally, researchers have faced a trade-off: Classical MD (CMD) is computationally efficient but relies on empirical formulas that often fail to capture complex chemical reactions. Conversely, Ab initio MD (AIMD) provides quantum-level accuracy but is computationally prohibitive for large-scale systems.
Machine Learning Interatomic Potentials (MLIPs) have emerged as a solution, aiming to predict quantum-level energies and forces with the speed of classical methods. However, the development of high-performance MLIPs is bottlenecked by the scarcity of labeled training data, as generating these labels requires expensive quantum mechanical calculations. This paper introduces Geometry-enhanced Pre-training on Interatomic Potentials (GPIP), a framework that leverages cheap, unlabeled data to bridge the data gap and improve model performance.
The GPIP Framework
GPIP addresses the data scarcity problem by shifting the learning burden to a two-stage process. Instead of relying solely on expensive labeled data, the model first learns the fundamental "rules" of molecular geometry from a massive pool of unlabeled structures.
1. Cheap Data Generation
The first stage involves using Classical MD with standard empirical force fields (such as OPLS-AA) to generate millions of physically plausible 3D molecular configurations. While these structures lack quantum-accurate energy labels, they provide a rich manifold of the target system's geometric space at a fraction of the cost of AIMD.
2. Geometry-Enhanced Self-Supervised Learning (SSL)
The core of GPIP is its pre-training phase, where a Graph Neural Network (GNN) is trained on the unlabeled CMD data using three complementary pretext tasks:
- Masked Atom Restoration: The model masks specific atom features and adds noise to their coordinates, then attempts to reconstruct the original features. This teaches the network to understand local topology.
- Noise Prediction (Denoising): By adding Gaussian noise to atomic coordinates and requiring the network to predict that noise, the model learns to recover the underlying spatial structure.
- Contrastive Learning: To capture global 3D geometry, the GNN's latent representations are optimized to maximize mutual information with a separate 3D network that explicitly encodes pairwise Euclidean distances.
Experimental Results and Data Efficiency
The authors evaluated GPIP across several benchmarks, including small organic molecules (MD17), isomer trajectories (ISO17), and complex periodic systems like liquid water and novel electrolyte solutions. The results demonstrate significant improvements in both accuracy and efficiency:
- Superior Accuracy: GPIP improved the Force Mean Absolute Error (MAE) across various GNN architectures, including invariant models (SchNet, DimeNet) and equivariant models (GemNet-T, PaiNN).
- Extreme Data Efficiency: On the ISO17 dataset, a GPIP-pretrained model fine-tuned on only 10,000 labeled examples outperformed a standard model trained on 100,000 examples. This represents a 10x reduction in the need for expensive quantum labels.
- Massive Cost Savings: Generating 100,000 labeled ISO17 data points requires approximately 53,000 CPU hours. In contrast, GPIP achieved superior results using only ~230 CPU hours for CMD generation and 1.2 GPU hours for pre-training.
- Simulation Stability: Beyond static error metrics, GPIP-pretrained models produced more stable MD simulations. For instance, GemNet-T’s simulation stability in liquid water increased from 6 ps to 25 ps, yielding more accurate physical observables like Radial Distribution Functions (RDF).
Conclusion
GPIP demonstrates that high-quality interatomic potentials do not always require massive quantum-labeled datasets. By pre-training on the "cheap" geometric information provided by classical simulations, researchers can develop MLIPs that are more accurate, stable, and computationally efficient. This framework is particularly promising for simulating complex systems, such as advanced battery electrolytes or biological macromolecules, where traditional data acquisition is practically impossible.
Summary updated