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 (number of different elements), 2. system size (number of atoms per sample), 3. dataset size (number of data samples), and 4. domain shift (similarity of the training and test set). 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, likely due to cheaper training compute requirements. This work investigates this question by first 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. We then compare the impact of 18 model components and hyperparameter choices on performance in multiple datasets. We find that the resulting model would be drastically different depending on the dataset used for making model choices. To isolate the source of this discrepancy we study six subsets of the OC20 dataset that individually test each of the above-mentioned four dataset aspects. We find that results on the OC-2M subset correlate well with the full OC20 dataset while being substantially cheaper to train on. Our findings challenge the common practice of developing GNNs solely on small datasets, but highlight ways of achieving fast development cycles and generalizable results via moderately-sized, representative datasets such as OC-2M and efficient models such as GemNet-OC.
Introduction
In molecular machine learning, a significant gap has emerged between standard benchmark datasets and the requirements of real-world applications. While many Graph Neural Networks (GNNs) are developed using small, homogeneous datasets like MD17, real-world catalysis involves vast chemical diversity and large systems. This study addresses a critical question: Does progress on small datasets translate to large, complex ones? Given that training on the full Open Catalyst 2020 (OC20) dataset (134 million samples) is computationally intensive—requiring over 16,000 GPU days for this research—finding efficient ways to iterate is essential for the field.
Methodology: The GemNet-OC Architecture
The authors introduce GemNet-OC, an evolution of the Geometric Message Passing Neural Network (GemNet). The model incorporates several innovations to balance accuracy with computational throughput:
- Nearest Neighbors over Cutoffs: Unlike standard models that use fixed distance cutoffs, GemNet-OC uses a fixed number of nearest neighbors. This approach better handles varying atomic densities and tripled the model's throughput.
- Simplified Basis Functions: By decoupling radial and angular basis functions and switching to Legendre polynomials, the authors increased speed by 29% without sacrificing accuracy.
- Tractable Quadruplets: To make dihedral angle calculations (quadruplet interactions) computationally feasible, GemNet-OC limits these interactions to the 8 closest neighbors.
- Interaction Hierarchy: The model employs a hierarchy of message passing, including atom-to-atom, atom-to-edge, and edge-to-atom updates, to better capture long-range interactions.
The Generalization Gap and the OC-2M Proxy
A key finding of this work is the "Generalization Gap": model components that improve performance on small datasets often degrade performance on large, diverse ones. For instance, certain radial basis functions that excelled on MD17 performed poorly on OC20. Furthermore, the authors found that simply scaling model width and depth yields diminishing returns for out-of-distribution (OOD) performance.
To address the cost of large-scale development, the authors propose OC-2M, a 2-million sample subset of OC20. They demonstrate that results on OC-2M correlate strongly with the full OC20 dataset, allowing researchers to validate ideas 70x faster than on the full dataset while ensuring the results remain generalizable.
Performance and Efficiency
GemNet-OC sets a new state-of-the-art on the OC20 dataset, achieving a 16% improvement in accuracy over previous models. Remarkably, it achieves this while being 10x cheaper to train than previous large-scale models like GemNet-XL. A GemNet-OC model trained only on the small OC-2M subset even outperformed every previous model trained on the full 134M-sample OC20 dataset.
Conclusion and Future Work
While GemNet-OC offers significant gains, it utilizes direct force prediction rather than calculating forces as the gradient of energy. While this improves stability and performance on OC20, the resulting model is not strictly energy-conserving, which may be a limitation for specific long-term molecular dynamics simulations. The study concludes that architectural inductive biases, rather than simple compute scaling, are necessary to overcome the "scaling wall" in out-of-distribution performance.
Summary updated