Optimizing Data Distribution and Kernel Performance for Efficient Training of Chemistry Foundation Models: A Case Study with MACE
Jesun Sahariar Firoz, Franco Pellegrini, Mario Geiger, Darren Hsu, Jenna A. Bilbrey, Han-Yi Chou, Maximilian Stadler, Markus Höhnerbach, Tingyu Wang, Dejun Lin, Emine Küçükbenli, Henry W. Sprueill
摘要
Chemistry Foundation Models (CFMs) that leverage Graph Neural Networks (GNNs) operating on 3D molecular graph structures are becoming indispensable tools for computational chemists and materials scientists. These models facilitate the understanding of matter and the discovery of new molecules and materials. In contrast to GNNs operating on a large homogeneous graphs, GNNs used by CFMs process a large number of geometric graphs of varying sizes, requiring different optimization strategies than those developed for large homogeneous GNNs. This paper presents optimizations for two critical phases of CFM training: data distribution and model training, targeting MACE -a state-of-the-art CFM. We address the challenge of load balancing in data distribution by formulating it as a multi-objective bin packing problem. We propose an iterative algorithm that provides a highly effective, fast, and practical solution, ensuring efficient data distribution. For the training phase, we identify symmetric tensor contraction as the key computational kernel in MACE and optimize this kernel to improve the overall performance. Our combined approach of balanced data distribution and kernel optimization significantly enhances the training process of MACE. Experimental results demonstrate a substantial speedup, reducing per-epoch execution time for training from 12 to 2 minutes on 740 GPUs with a 2.6M sample dataset.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs 引用了 Directional Message Passing for Molecular Graphs
- Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs 引用了 GemNet: Universal Directional Graph Neural Networks for Molecules
- Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs 引用了 E(n) Equivariant Graph Neural Networks
- GemNet: Universal Directional Graph Neural Networks for Molecules 引用了 Directional Message Passing for Molecular Graphs
- MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields 引用了 Directional Message Passing for Molecular Graphs
- MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields 引用了 GemNet: Universal Directional Graph Neural Networks for Molecules
- MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields 引用了 E(n) Equivariant Graph Neural Networks
- E(n) Equivariant Graph Neural Networks 引用了 Directional Message Passing for Molecular Graphs
- The Price of Freedom: Exploring Expressivity and Runtime Tradeoffs in Equivariant Tensor Products 引用了 Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs
引用它的顶会 Paper1
它引用的 Paper8
- MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force FieldsIlyes Batatia, Dávid Péter Kovács, Gregor N. C. Simm, Christoph Ortner 等NeurIPS 2022 · 1,448 次引用
- E(n) Equivariant Graph Neural NetworksVictor Garcia Satorras, Emiel Hoogeboom, Max WellingICML 2021 · 1,432 次引用
- Directional Message Passing for Molecular GraphsJohannes Klicpera, Janek Groß, Stephan GünnemannICLR 2020 · 1,079 次引用
- GemNet: Universal Directional Graph Neural Networks for MoleculesJohannes Gasteiger, Florian Becker, Stephan GünnemannNeurIPS 2021 · 665 次引用
- Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic GraphsYi-Lun Liao, Tess E. SmidtICLR 2023 · 65 次引用
相关 Paper
- Moment: Co-optimizing Physical Communication Topology and Data Placement for Multi-GPU Out-of-core GNN TrainingZuocheng Shi, Jie Sun, Ziyu Song, Mo Sun 等SC 2025 · 3 次引用
- Plexus: Taming Billion-edge Graphs with 3D Parallel Full-graph GNN TrainingAditya K. Ranjan, Siddharth Singh, Cunyang Wei, Abhinav BhateleSC 2025 · 1 次引用
- FAENet: Frame Averaging Equivariant GNN for Materials ModelingAlexandre Duval, Victor Schmidt, Alex Hernández-García, Santiago Miret 等ICML 2023 · 93 次引用
- On the Scalability of GNNs for Molecular GraphsMaciej Sypetkowski, Frederik Wenkel, Farimah Poursafaei, Nia Dickson 等NeurIPS 2024 · 58 次引用
- MIMOSA: Multi-constraint Molecule Sampling for Molecule OptimizationTianfan Fu, Cao Xiao, Xinhao Li, Lucas M. Glass 等AAAI 2021 · 94 次引用
