Distributed Matrix-Based Sampling for Graph Neural Network Training
Not on the map. Why?
Abstract (arXiv)
Graph Neural Networks (GNNs) offer a compact and computationally efficient way to learn embeddings and classifications on graph data. GNN models are frequently large, making distributed minibatch training necessary. The primary contribution of this paper is new methods for reducing communication in the sampling step for distributed GNN training. Here, we propose a matrix-based bulk sampling approach that expresses sampling as a sparse matrix multiplication (SpGEMM) and samples multiple minibatches at once. When the input graph topology does not fit on a single device, our method distributes the graph and use communication-avoiding SpGEMM algorithms to scale GNN minibatch sampling, enabling GNN training on much larger graphs than those that can fit into a single device memory. When the input graph topology (but not the embeddings) fits in the memory of one GPU, our approach (1) performs sampling without communication, (2) amortizes the overheads of sampling a minibatch, and (3) can represent multiple sampling algorithms by simply using different matrix constructions. In addition to new methods for sampling, we introduce a pipeline that uses our matrix-based bulk sampling approach to provide end-to-end training results. We provide experimental results on the largest Open Graph Benchmark (OGB) datasets on 128 GPUs, and show that our pipeline is 2.5× faster than Quiver (a distributed extension to PyTorch-Geometric) on a 3-layer GraphSAGE network. On datasets outside of OGB, we show a 8.46× speedup on 128 GPUs in per-epoch time. Finally, we show scaling when the graph is distributed across GPUs and scaling for both node-wise and layer-wise sampling algorithms.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 19 of its 38 references that are in the map. First posted on arXiv 6 Nov 2023.
Builds on
19 of 38 references.
References · 19
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
- 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 584
- 2019Cluster-GCN: An Efficient Algorithm for Training Deep and Large Graph Convolutional Networkscited by 541
- 2019Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networkscited by 177
- 2019AliGraph: A Comprehensive Graph Neural Network Platformcited by 153
- 2020DistDGL: Distributed Graph Neural Network Training for Billion-Scale Graphscited by 139
- 2020Reducing Communication in Graph Neural Network Trainingcited by 50
7 more
- 2022PipeGCN: Efficient Full-Graph Training of Graph Convolutional Networks with Pipelined Feature Communicationcited by 45
- 2022BNS-GCN: Efficient Full-Graph Training of Graph Convolutional Networks with Partition-Parallelism and Random Boundary Node Samplingcited by 43
- 2020Accelerating Graph Sampling for Graph Machine Learning using GPUscited by 29
- 2017Integrated Model, Batch and Domain Parallelism in Training Neural Networkscited by 16
- 2023Communication-Efficient Graph Neural Networks with Probabilistic Neighborhood Expansion Analysis and Cachingcited by 16
- 2020C-SAW: A Framework for Graph Sampling and Random Walk on GPUscited by 13
- 2019GraphBLAST: A High-Performance Linear Algebra-based Graph Framework on the GPUcited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2024MassiveGNN: Efficient Training via Prefetching for Massively Connected Distributed Graphscited by 3
- 2025Scaling Graph Neural Networks for Particle Track Reconstructioncited by 1
- 2025GPU-centric Communication Schemes for HPC and ML Applicationscited by 0
- 2025The Ubiquitous Sparse Matrix-Matrix Productscited by 0
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUscited by 0
- 2026Communication-free Sampling and 4D Hybrid Parallelism for Scalable Mini-batch GNN Trainingcited by 0
- 2026Communication-free Sampling and 4D Hybrid Parallelism for Scalable Mini-batch GNN Training3 Apr 2026
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUs23 Jan 2026
- 2025The Ubiquitous Sparse Matrix-Matrix Products6 Aug 2025
- 2025Scaling Graph Neural Networks for Particle Track Reconstruction7 Apr 2025
- 2025GPU-centric Communication Schemes for HPC and ML Applications31 Mar 2025
- 2024MassiveGNN: Efficient Training via Prefetching for Massively Connected Distributed Graphs30 Oct 2024