Skip to main content
QUICK REVIEW

[Paper Review] Towards Training Billion Parameter Graph Neural Networks for Atomic Simulations

Anuroop Sriram, Abhishek Das|arXiv (Cornell University)|Mar 18, 2022
Machine Learning in Materials ScienceMaterials Science9 citations
TL;DR

This paper introduces Graph Parallelism, a method to train billion-parameter Graph Neural Networks (GNNs) for atomic simulations by distributing input graphs across multiple GPUs, enabling scalable training of models with higher-order interactions (e.g., triplets of atoms). It achieves state-of-the-art results on the Open Catalyst 2020 dataset, improving force MAE by 15% and AFbT by 21% over prior models.

ABSTRACT

Recent progress in Graph Neural Networks (GNNs) for modeling atomic simulations has the potential to revolutionize catalyst discovery, which is a key step in making progress towards the energy breakthroughs needed to combat climate change. However, the GNNs that have proven most effective for this task are memory intensive as they model higher-order interactions in the graphs such as those between triplets or quadruplets of atoms, making it challenging to scale these models. In this paper, we introduce Graph Parallelism, a method to distribute input graphs across multiple GPUs, enabling us to train very large GNNs with hundreds of millions or billions of parameters. We empirically evaluate our method by scaling up the number of parameters of the recently proposed DimeNet++ and GemNet models by over an order of magnitude. On the large-scale Open Catalyst 2020 (OC20) dataset, these graph-parallelized models lead to relative improvements of 1) 15% on the force MAE metric for the S2EF task and 2) 21% on the AFbT metric for the IS2RS task, establishing new state-of-the-art results.

Motivation & Objective

  • To address the challenge of training large-scale GNNs with billions of parameters for atomic simulations, particularly those modeling higher-order interactions like atom triplets and quadruplets.
  • To overcome the memory and computational limitations of existing GNN training methods that are not suited for datasets with millions of moderately sized graphs.
  • To enable scalable training of state-of-the-art GNNs such as DimeNet++ and GemNet-T on the large-scale Open Catalyst 2020 (OC20) dataset.
  • To demonstrate that scaling model size via graph parallelism leads to significant performance gains in predicting atomic forces and relaxed structures.
  • To provide a generalizable framework applicable to a wide range of message-passing GNNs, including equivariant and energy-conserving models, within the Extended Graph Network (EGN) framework.

Proposed method

  • Proposes Graph Parallelism, a technique that partitions input graphs across multiple GPUs to enable training of large GNNs that cannot fit on a single device.
  • Extends the Graph Network (GN) framework to the Extended Graph Network (EGN) framework to explicitly model higher-order interactions such as triplets and quadruplets of atoms.
  • Splits the computation of higher-order interactions (e.g., bond angles) across GPUs, allowing efficient distribution of memory and computation across devices.
  • Uses a data-parallel-like strategy where each GPU processes a subset of the input graphs, while maintaining full graph connectivity for higher-order terms.
  • Integrates with existing model parallelism techniques like GPipe to enable both breadth-wise and depth-wise scaling of very large GNNs.
  • Employs a hybrid training strategy that combines graph partitioning with model parallelism to scale both the number of parameters and the complexity of interactions in GNNs.

Experimental results

Research questions

  • RQ1Can billion-parameter GNNs be effectively trained for atomic simulations despite high memory and computational demands from higher-order interactions?
  • RQ2How does graph parallelism compare to existing distributed GNN training methods in terms of scalability and performance on molecular datasets with millions of small graphs?
  • RQ3To what extent do larger GNNs trained via graph parallelism improve prediction accuracy on key atomic simulation benchmarks like force MAE and AFbT?
  • RQ4Can graph parallelism be generalized across different GNN architectures, including those that model energy conservation and rotational equivariance?
  • RQ5What are the environmental impacts of training such large models, and how can they be mitigated through strategic compute resource selection?

Key findings

  • Graph Parallelism enables training of DimeNet++ and GemNet-T models with over 100 million parameters, scaling up from prior models by more than an order of magnitude.
  • The graph-parallelized GemNet-XL model achieves a 15% relative improvement in force MAE on the S2EF task compared to the previous state-of-the-art.
  • The same model achieves a 21% relative improvement on the AFbT metric for the IS2RS task, establishing a new state-of-the-art on the OC20 dataset.
  • The method is generalizable and applicable to a wide range of message-passing GNNs, including equivariant and energy-conserving models, within the EGN framework.
  • Training the GemNet-XL model on cloud GPUs with Tesla V100 32GB resulted in estimated CO2 emissions between 3490–8052 kg CO2 eq., equivalent to 16 round-trip flights from Los Angeles to New York.
  • The authors recommend selecting compute resources with strong carbon offset commitments to reduce environmental impact, noting that their training was 100% offset.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.