arrow
Return

Can Graph Reordering Speed Up Graph Neural Network Training? An Experimental Study

delete2025-02-28
delete0
PRE
AI
N
Nikolai Merkel *
P
Pierre Toussing
R
Ruben Mayer
H
Hans‐Arno Jacobsen
DOI:10.14778/3705829.3705846delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Graph neural networks (GNNs) are a type of neural network capable of learning on graph-structured data. However, training GNNs on large-scale graphs is challenging due to iterative aggregations of high-dimensional features from neighboring vertices within sparse graph structures combined with neural network operations. The sparsity of graphs frequently results in suboptimal memory access patterns and longer training time. Graph reordering is an optimization strategy aiming to improve the graph data layout. It has shown to be effective to speed up graph analytics workloads, but its effect on the performance of GNN training has not been investigated yet. The generalization of reordering to GNN performance is nontrivial, as multiple aspects must be considered: GNN hyper-parameters such as the number of layers, the number of hidden dimensions, and the feature size used in the GNN model, neural network operations, large intermediate vertex states, and GPU acceleration. In our work, we close this gap by performing an empirical evaluation of 12 reordering strategies in two state-of-the-art GNN systems, PyTorch Geometric and Deep Graph Library. Our results show that graph reordering is effective in reducing training time for CPU- and GPU-based training, respectively. Further, we find that GNN hyper-parameters influence the effectiveness of reordering, that reordering metrics play an important role in selecting a reordering strategy, that lightweight reordering performs better for GPU-based than for CPU-based training, and that invested reordering time can in many cases be amortized.
Keywords:
SYSTEMS

Journal

P
Proceedings of the VLDB Endowment
IF:
3.3
Papers:
556
Citations:
1.2W

Organization

T
Tech Univ Munich
Scholars:
2.4K
Papers: 1.1K
Citations: 495
U
Univ Bayreuth
Scholars:
379
Papers: 186
Citations: 100
U
Univ Toronto
Scholars:
5.3K
Papers: 3.7K
Citations: 1.2K
researcher View more organizations