The Importance of Being Scalable: Improving the Speed and Accuracy of Neural Network Interatomic Potentials Across Chemical Domains

Eric Qu, Aditi S. Krishnapriyan

TL;DR

Traditional Neural Network Interatomic Potentials (NNIPs) rely heavily on complex, hard-coded physical constraints like rotational equivariance, which severely limits their ability to scale. This paper introduces EScAIP, a highly scalable architecture that ditches expensive tensor products in favor of optimized self-attention over atomic neighbor representations. EScAIP achieves state-of-the-art accuracy across multiple chemical domains while delivering a 10x inference speedup and 5x reduction in memory usage compared to leading models.

What Problem Does This Paper Address?

Simulating molecular and material systems at the atomic scale is crucial for drug discovery, catalysis, and materials science. However, exact quantum mechanical calculations (like Density Functional Theory) are too computationally expensive for large-scale simulations. NNIPs serve as machine learning surrogates, predicting atomic energies and forces at a fraction of the cost.

To ensure physical correctness, the dominant paradigm in NNIP design has been to hardcode strict geometric symmetries—specifically rotational equivariance—directly into the network using complex tensor products. The authors argue that this handcrafted approach creates a severe computational bottleneck. Much like the "bitter lesson" observed in computer vision and natural language processing, overly constrained architectures struggle to efficiently exploit modern GPU hardware and plateau when scaled with more data and compute. This paper explores how to build a general-purpose NNIP designed explicitly for scalability.

Methods

The authors first conducted a parameter-controlled ablation study on a top-performing equivariant model (EquiformerV2) to isolate what actually drives performance gains during scaling. They discovered that expanding the model's attention mechanisms was far more effective than increasing its geometric complexity (rotation order $L$).

Based on these insights, they developed EScAIP (Efficiently Scaled Attention Interatomic Potential):

  • Invariant Scalar Features: EScAIP operates on scalar features invariant to rotation and translation, completely avoiding costly tensor products. This allows the model to utilize standard, highly optimized deep learning attention mechanisms.
  • Bond-Orientational Order (BOO): To retain spatial awareness without hardcoded equivariance, the authors introduce BOO features—a lightweight, rotation-invariant way to encode neighbor directions using spherical harmonics moments.
  • Neighbor-Level Attention: Unlike standard graph neural networks that apply attention only at the node (atom) level, EScAIP leverages a novel multi-head self-attention formulation over neighbor-level representations, significantly boosting expressivity.
  • GPU Optimization: The architecture is implemented using highly optimized GPU attention kernels (via Triton and xFormers), maximizing hardware utilization.

Datasets

The model was evaluated across a diverse set of established benchmarks covering different chemical domains:

  • OC20 & OC22 (Open Catalyst Project): Large-scale datasets for catalyst simulations and surface reactions.
  • SPICE: A dataset containing approximately one million drug-like molecules and peptides.
  • MPTrj (Materials Project Trajectory): Used via the Matbench-Discovery benchmark to evaluate crystal stability and materials discovery performance.
  • MD22: Used to assess performance and stability during molecular dynamics simulations.

Key Insights and Ideas

  • The "Sweet Lesson": Handcrafted physical constraints can act as a straightjacket. When model size and data scale up, strict architectural constraints hinder the network's ability to learn optimal representations.
  • Attention Over Symmetries: When controlling for total parameter count, allocating parameters to attention mechanisms yields significantly better accuracy improvements than increasing the geometric rotation order ($L$).
Figure 2: Results of ablation study of EquiformerV2 [Liao et al., 2024] on the OC20 2M dataset. Energy (eV) and force (eV/Å) mean absolute error (MAE) are reported, along with the model’s parameter counts. The leftmost column shows the original results from [Liao et al., 2024], where different L had a different number of trainable parameters. We look at scaling parameters through the attention mechanisms (AT) and spherical channels (SC) for the original L = 2 and L = 4 models, such that the number of parameters is approximately equal to the original L = 6 model. Scaling parameters in different ways affects the overall energy and forces error, and increasing attention parameters is particularly effective in improving model performance (More AT). We also modify the architecture to be invariant (L = 0), allowing us to examine the effects of excluding rotational equivariance while controlling for the number of parameters (BOO). After controlling for parameter counts, many of the models have comparable error to the original L = 6 model.
  • Symmetry Can Be Learned: Even though EScAIP breaks strict architectural rotational equivariance to achieve high throughput, the trained model implicitly learns this symmetry from the data, achieving a rotational cosine similarity of $\ge 0.99$ on validation sets.

Key Results

EScAIP establishes a new Pareto frontier for accuracy, speed, and memory efficiency across all tested benchmarks:

  • Efficiency: EScAIP delivers at least a 10x speedup in inference time and a 5x reduction in memory footprint compared to EquiformerV2 of a similar size.
Figure 1: Efficiency, performance, and scaling comparisons between EScAIP and baseline models on the Open Catalyst dataset (OC20). Force MAE Error (meV/Å ↓) vs. Inference Speed (Sample/Sec ↑) and Force MAE vs. Memory (GB/Sample ↓) is reported. Results with Energy MAE can be found in the Appendix Fig. 7. EScAIP achieves better performance with smaller time and memory cost.
  • Catalysts (OC20/OC22): EScAIP-Large achieved state-of-the-art results on the OC20 All+MD split, reducing Force MAE to 12.17 meV/Å (compared to EquiformerV2's 14.60 meV/Å).
  • Molecules (SPICE): EScAIP dramatically outperformed the popular MACE-OFF23 model, reducing the PubChem Force MAE from 14.75 to 5.86 meV/Å.
  • Materials (Matbench-Discovery): EScAIP achieved the top compliant performance on the leaderboard, outperforming specialized models like SevenNet and ORB.

Limitations and Future Work

  • Data Requirements: Because EScAIP learns physical symmetries from data rather than having them hardcoded, it inherently relies on larger training sets. In extremely data-scarce regimes, heavily constrained models might still hold an initial advantage.
  • Future Directions: The authors frame EScAIP as a design philosophy rather than just a single model. They suggest that future work should focus on building massive, unconstrained foundation NNIPs that can be fine-tuned for small downstream tasks, alongside exploring techniques like model distillation and better alignment with experimental data.

Summary updated

BibTeX
@inproceedings{qu2024importance,
  author = {Eric Qu and Aditi S. Krishnapriyan},
  title = {{The Importance of Being Scalable: Improving the Speed and Accuracy of Neural Network Interatomic Potentials Across Chemical Domains}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Y4mBaZu4vy},
}
Figure