Official implementation of Geometric Graph Neural Diffusion (GGND) integrated with MACE for learning generalizable molecular force fields.
Molecular dynamics simulations rely on accurate force fields, yet even small prediction errors can accumulate and destabilize long-time trajectories when molecular conformations deviate from the training distribution.
This repository implements Geometric Graph Neural Diffusion (GGND), a plug-and-play module that enhances equivariant graph neural networks with a global diffusion mechanism. GGND models feature evolution through an equivariant diffusion process on fully connected molecular graphs, capturing geometrically invariant topological structures and improving robustness to conformational shifts.
By mitigating error accumulation under distributional shifts, GGND improves both predictive accuracy and stability in real molecular dynamics simulations.
- Stable Molecular Dynamics via Diffusion on Geometric Graphs
- Robustness to Geometric Topological Shifts
- Theoretical Guarantees for Generalization
- Plug-and-Play Integration with Equivariant GNNs
- Empirical Validation in Real MD Simulations
Download and place the datasets in:
./datasets/
- Source: https://pubs.acs.org/doi/10.1021/acs.jctc.1c00647
- Usage: Default benchmark for force field learning and stability evaluation
- Source: https://github.com/SAITPublic/MLFF-Framework
- Usage: Cross-dataset generalization evaluation
Ensure all files are extracted and formatted according to the preprocessing scripts.
This project builds upon the MACE framework.
Follow installation instructions from: https://github.com/ACEsuit/mace
- Python ≥ 3.10
- PyTorch (CUDA recommended)
- NumPy
- ASE
- Other dependencies listed in the MACE repository
Example setup:
conda create -n ggnd python=3.10
conda activate ggnd
pip install -r requirements.txtsh sh/train-3BPA.shAfter training, run evaluation scripts to perform MD and analyze stability:
Example:
sh evaluation/run_md.shIf you find this work useful, please cite:
@inproceedings{hong2026ggnd,
title={Geometric Graph Neural Diffusion for Stable Molecular Dynamics Simulations},
author={Hong, Haokai and Lin, Wanyu and Zhang, Chusong and Tan, Kay Chen},
booktitle={International Conference on Learning Representations (ICLR)},
year={2026}
}
This implementation builds upon the MACE framework and related open-source molecular simulation tools.