Salvato in:
Dettagli Bibliografici
Autori principali: Speckhard, Daniel T., Bechtel, Tim, Kehl, Sebastian, Godwin, Jonathan, Draxl, Claudia
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2502.00944
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908976653795328
author Speckhard, Daniel T.
Bechtel, Tim
Kehl, Sebastian
Godwin, Jonathan
Draxl, Claudia
author_facet Speckhard, Daniel T.
Bechtel, Tim
Kehl, Sebastian
Godwin, Jonathan
Draxl, Claudia
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00944
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Training speedups via batching for geometric learning: an analysis of static and dynamic algorithms
Speckhard, Daniel T.
Bechtel, Tim
Kehl, Sebastian
Godwin, Jonathan
Draxl, Claudia
Machine Learning
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.
title Training speedups via batching for geometric learning: an analysis of static and dynamic algorithms
topic Machine Learning
url https://arxiv.org/abs/2502.00944