EGraFFBench: Evaluation of Equivariant Graph Neural Network Force Fields for Atomistic Simulations

Vaibhav Bihani, Utkarsh Pratiush, Sajid Mannan, Tao Du, Zhimin Chen, Santiago Miret, Matthieu Micoulaut, Morten M Smedskjaer, Sayan Ranu, N M Anoop KrishnanSubmission to ICLR 2024 · Rejected

TL;DR

EGRAFFBench provides a standardized benchmark evaluating six prominent Equivariant Graph Neural Network Force Fields (EGRAFFs) on downstream molecular dynamics (MD) simulations rather than static test sets. The benchmark demonstrates that low static energy and force errors do not guarantee stable or physically accurate dynamic trajectories. Furthermore, current architectures struggle significantly with out-of-distribution (OOD) generalization across temperatures, phases, and unseen chemical structures.

What Problem Does This Paper Address?

Machine learning force fields (MLFFs)—particularly equivariant graph neural networks—have become the go-to approach for predicting potential energy surfaces and interatomic forces directly from atomic coordinates. By embedding rotational and translational symmetries, EGRAFFs achieve high data efficiency.

However, standard ML benchmarking evaluates models on static validation sets using Mean Absolute Error (MAE) on energies and forces. In practice, models that achieve state-of-the-art MAE frequently “explode” (experience unphysically high local forces), distort bond geometries, or drift when rolled out in multi-step MD simulations. Existing benchmarks lack systematic evaluations of dynamic trajectory fidelity, long-term stability, and performance under distribution shifts (e.g., phase changes, elevated temperatures, and unseen compositions).

Methods

The authors build a unified open-source benchmarking pipeline integrated with the Atomic Simulation Environment (ASE) to evaluate six EGRAFF architectures: NequIP, Allegro, BOTNet, MACE, Equiformer, and TorchMD-Net (with additional comparisons to PaiNN and DimeNet++).

Instead of relying solely on static loss, they introduce evaluation protocols based on 1,000-step forward NVT molecular dynamics simulations using four primary metrics:

  • Structural Metrics:
  • Wright’s Factor ($R_\chi$ / WF): Quantifies the percentage deviation between the simulated Radial Distribution Function (RDF) and ground-truth DFT/AIMD trajectories (a WF $<9\%$ is considered acceptable for bulk materials).
  • Jensen-Shannon Divergence (JSD): Measures the statistical divergence between predicted and reference atomic pair distribution functions.
  • Dynamical Metrics:
  • Energy Violation (EV) & Force Violation (FV): Normalized metrics bounded between 0 (exact match) and 1 (complete divergence), tracked step-by-step and summarized via their trajectory geometric mean.

Datasets

The benchmark spans 10 datasets covering small molecules, flexible conformers, and bulk materials:

  • Established Datasets: MD17 (aspirin, ethanol, naphthalene, salicylic acid; benzene for zero-shot testing), 3BPA (flexible drug-like molecule with complex dihedral angles), Acetylacetone (AcAc; sampled across dihedral rotations up to 180°), and LiPS ($\text{Li}_{6.75}\text{P}_3\text{S}_{11}$ solid electrolyte).
  • Two Newly Introduced Benchmarks:
  • GeTe: 200-atom Car-Parrinello MD simulations of $\text{GeTe}_4$, capturing crystalline-to-amorphous phase transitions in phase-change materials.
  • LiPS20: 20 distinct crystalline, elemental, and glassy compositions across the Li-P-S space (up to 260 atoms), explicitly designed to test generalization from disordered liquid states to crystalline structures and unseen stoichiometries.

Key Insights and Ideas

  • Low static MAE does not imply simulation fidelity: Models exhibiting the lowest static energy errors (e.g., TorchMD-Net) often display high force errors and poor dynamic energy conservation during actual MD rollouts.
  • Model choice depends on the structural regime: No architecture universally dominates. NequIP consistently replicates atomic radial distribution functions best (lowest WF and JSD), while higher body-order models like MACE and BOTNet excel on complex, multi-component bulk systems.
  • Severe out-of-distribution (OOD) brittleness: Training on one molecular topology does not transfer to another—even when sharing identical elements. For example, models trained on aspirin or naphthalene fail when deployed on benzene ($WF > 20\%–80\%$).
  • Disorder-to-order transfer is difficult: When trained on liquid Li-P-S structures, most models struggle to capture crystalline symmetries accurately, with transformer-based architectures suffering severe numerical instability or elevated errors.

Key Results

  • Dynamic Structural Accuracy: On the flexible 3BPA molecule, NequIP achieves the lowest structural distortion ($WF = 6.02\%$), compared to MACE ($8.36\%$) and Allegro ($7.98\%$).
  • Unseen Compositions (LiPS20 OOD): When tested on larger unseen systems (up to 260 atoms) after training on smaller systems ($<100$ atoms), MACE and BOTNet generalize best, maintaining low energy violations ($99.4 \times 10^{-5}$ and $117.5 \times 10^{-5}$) and $WF \approx 14\%–15\%$. In contrast, NequIP and Allegro degrade heavily ($EV > 15,000 \times 10^{-5}$; $WF > 35\%$).
  • Computational Efficiency:
  • Training: MACE and TorchMD-Net have the fastest per-epoch runtimes (e.g., $\sim 0.04$–$0.18$ min/epoch on AcAc), while NequIP and Allegro require more time per epoch but converge in fewer total epochs.
  • CPU Inference: Over 1,000 simulation steps, TorchMD-Net achieves the fastest execution time ($\sim 1$–$5$ minutes across most benchmarks), with Allegro and MACE offering a competitive balance between inference speed and physical stability.

Limitations and Future Work

  • Training Objective Mismatch: Existing EGRAFFs are supervised on static $(E, F)$ pairs rather than trajectory dynamics, energy gradients, or geometric distribution conservation. Future architectures require loss functions that penalize rollout instability.
  • Need for Foundation Models: Given how poorly models extrapolate to unseen stoichiometries and phases, isolated training runs are insufficient for real-world material discovery, pointing toward large-scale pre-trained force field foundation models.
  • Experimental Fusion: The authors note that integrating experimental diffraction data (e.g., neutron or X-ray scattering RDFs) alongside DFT calculations could help anchor models against unphysical simulation drift.

Summary updated

Abstract

Equivariant graph neural networks force fields (EGraFFs) have shown great promise in modelling complex interactions in atomic systems by exploiting the graphs’ inherent symmetries. Recent works have led to a surge in the development of novel architectures that incorporate equivariance-based inductive biases alongside architectural innovations like graph transformers and message passing to model atomic interactions. However, thorough evaluations of these deploying EGraFFs for the downstream task of real-world atomistic simulations, is lacking. To this end, here we perform a systematic benchmarking of 6 EGraFF algorithms (NequIP, Allegro, BOTNet, MACE, Equiformer, TorchMDNet), with the aim of understanding their capabilities and limitations for realistic atomistic simulations. In addition to our thorough evaluation and analysis on eight existing datasets based on the benchmarking literature, we release two new benchmark datasets, propose four new metrics, and three new challenging tasks. The new datasets and tasks evaluate the performance of EGraFF to out-of-distribution data, in terms of different crystal structures, temperatures, and new molecules. Interestingly, evaluation of the EGraFF models based on dynamic simulations reveals that having a lower error on energy or force does not guarantee stable or reliable simulation or faithful replication of the atomic structures. Moreover, we find that no model clearly outperforms other models on all datasets and tasks. Importantly, we show that the performance of all the models on out-of-distribution datasets is unreliable, pointing to the need for the development of a foundation model for force fields that can be used in real-world simulations. In summary, this work establishes a rigorous framework for evaluating machine learning force fields in the context of atomic simulations and points to open research challenges within this domain.
BibTeX
@inproceedings{bihani2023egraffbench,
  author = {Vaibhav Bihani and Utkarsh Pratiush and Sajid Mannan and Tao Du and Zhimin Chen and Santiago Miret and Matthieu Micoulaut and Morten M Smedskjaer and Sayan Ranu and N M Anoop Krishnan},
  title = {{EGraFFBench: Evaluation of Equivariant Graph Neural Network Force Fields for Atomistic Simulations}},
  booktitle = {AI4Mat @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=SeXGn7MeUr},
}
Figure