arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00944cs.LG
收藏

通过批处理实现几何学习训练加速:静态与动态算法分析

Training speedups via batching for geometric learning: an analysis of static and dynamic algorithms

Humboldt-Universität zu Berlin(洪堡-柏林大学);Max Planck Institute for Solid State Research(马克斯·普朗克固态研究所);Max Planck Computing and Data Facility(马克斯·普朗克计算与数据设施);Orbital Materials(Orbital Materials公司)

Daniel T. Speckhard, Tim Bechtel, Sebastian Kehl, Jonathan Godwin, Claudia Draxl

AI总结:

本文分析图神经网络中静态与动态批处理算法对训练速度和模型性能的影响,实验表明算法选择可带来最高2.7倍加速,但最优算法取决于数据、模型、批大小、硬件和训练步数。

摘要:

图神经网络(GNN)在材料科学、化学和社会科学等多个领域展现出有前景的结果。GNN模型通常包含数百万个参数,与其他神经网络(NN)模型一样,通常仅以批次方式输入训练数据集中的一部分图来更新模型参数。批处理算法对训练时间和模型性能的影响已在NN中得到了深入探索,但在GNN中尚未进行。我们分析了两种不同的基于图的模型批处理算法,即针对两个数据集(小分子QM9数据集和AFLOW材料数据库)的静态和动态批处理。我们的实验表明,更改批处理算法可提供高达2.7倍的加速,但最快的算法取决于数据、模型、批大小、硬件和运行的训练步数。实验表明,对于批大小、数据集和模型的某些组合,静态和动态批处理算法之间的模型学习指标存在显著差异。

英文摘要:

Graph neural networks (GNN) have shown promising results for several domains such as materials science, chemistry, and the social sciences. GNN models often contain millions of parameters, and like other neural network (NN) models, are often fed only a fraction of the graphs that make up the training dataset in batches to update model parameters. The effect of batching algorithms on training time and model performance has been thoroughly explored for NNs but not yet for GNNs. We analyze two different batching algorithms for graph-based models, namely static and dynamic batching for two datasets, the QM9 dataset of small molecules and the AFLOW materials database. Our experiments show that changing the batching algorithm can provide up to a 2.7x speedup, but the fastest algorithm depends on the data, model, batch size, hardware, and number of training steps run. Experiments show that for a select number of combinations of batch size, dataset, and model, significant differences in model learning metrics are observed between static and dynamic batching algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑