Abstract
Recent years have seen the advent of molecular simulation datasets that are orders of magnitude larger and more diverse. These new datasets differ substantially in four aspects of complexity:
- Chemical diversity, 2. system size, 3. dataset size, and 4. domain shift. Despite these large differences, benchmarks on small and narrow datasets remain the predominant method of demonstrating progress in graph neural networks (GNNs) for molecular simulation. This work investigates whether GNN progress on small datasets translates to these more complex datasets by developing the GemNet-OC model based on the large Open Catalyst 2020 (OC20) dataset. GemNet-OC outperforms the previous state-of-the-art on OC20 by 16% while reducing training time by a factor of 10. Our findings challenge the common practice of developing GNNs solely on small datasets and highlight ways of achieving generalizable results via moderately-sized, representative datasets such as OC-2M.
Introduction
Molecular simulation is a cornerstone of modern chemistry, traditionally relying on Density Functional Theory (DFT). While accurate, DFT's computational cost limits its application to large systems. Graph Neural Networks (GNNs) have emerged as a promising surrogate, but their development has largely focused on small, narrow datasets like MD17. This work addresses the "generalization gap" by investigating whether architectural improvements found on small datasets actually work when scaled up to the massive, diverse datasets required for real-world chemistry.
Methods: The GemNet-OC Architecture
The authors introduce GemNet-OC (Open Catalyst version), an evolution of the GemNet architecture optimized for large-scale datasets. Key innovations include:
- Fixed Neighbor Graphs: Instead of distance cutoffs, GemNet-OC uses a fixed number of nearest neighbors, ensuring consistent computational load and graph connectivity across varying atomic densities.
- Interaction Hierarchy: The model employs a hierarchical message-passing scheme. Expensive quadruplet interactions (dihedral angles) are restricted to immediate neighbors, while more efficient atom-to-atom and edge-to-atom messages handle broader interactions.
- Efficient Basis Functions: By decoupling radial and angular basis functions and utilizing Legendre polynomials, the model achieves a 29% increase in throughput without sacrificing accuracy.
- Direct Force Prediction: To improve training stability on diverse datasets, the model predicts forces directly through a dedicated output head rather than relying solely on energy gradients, which can be numerically unstable at scale.
Datasets and the "Small Dataset Trap"
A core contribution of this work is the analysis of how model choices generalize across datasets. The researchers utilized the massive Open Catalyst 2020 (OC20) dataset (134M samples, 56 elements) and introduced OC-2M, a 2-million-sample subset.
They discovered a "small dataset trap": architectural components that improve performance on small datasets (like MD17) often have the opposite effect on large, diverse ones. For instance, certain basis functions beneficial for small molecules were found to be detrimental when applied to the full OC20 dataset. OC-2M is proposed as a "goldilocks" dataset that accurately reflects full-scale performance while remaining computationally accessible for researchers.
Results
GemNet-OC sets a new state-of-the-art on OC20, outperforming previous models by 16% in force prediction accuracy. Remarkably, it achieves this while being an order of magnitude more efficient than its predecessors, such as GemNet-XL.
The "Large" variant, GemNet-OC-L, established new benchmarks across all OC20 tasks, including Structure to Energy/Force (S2EF), Initial Structure to Relaxed Structure (IS2RS), and Initial Structure to Relaxed Energy (IS2RE).
Discussion and Conclusion
While GemNet-OC significantly advances the state-of-the-art, challenges remain. The direct force prediction, while stable, sacrifices the conservative property of forces (where forces are exact negative gradients of energy). Additionally, the computational requirements for training on the full OC20 dataset—exceeding 16,000 GPU days—highlight the need for efficient proxies like OC-2M. This work underscores that GNN development must move beyond small-scale benchmarks to ensure that architectural innovations truly scale to the complexities of real-world molecular simulation.
Summary updated