mlsanityData to 14 Oct 2026

Distributed Matrix-Based Sampling for Graph Neural Network Training

arXiv 2311.02909 ↗First posted 6 Nov 2023cs.LG cs.DC cs.PFcited by 6

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

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2017Inductive Representation Learning on Large Graphscited by 6,320
  3. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  4. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
  5. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  6. 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
  7. 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 584
  8. 2019Cluster-GCN: An Efficient Algorithm for Training Deep and Large Graph Convolutional Networkscited by 541
  9. 2019Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networkscited by 177
  10. 2019AliGraph: A Comprehensive Graph Neural Network Platformcited by 153
  11. 2020DistDGL: Distributed Graph Neural Network Training for Billion-Scale Graphscited by 139
  12. 2020Reducing Communication in Graph Neural Network Trainingcited by 50
7 more
  1. 2022PipeGCN: Efficient Full-Graph Training of Graph Convolutional Networks with Pipelined Feature Communicationcited by 45
  2. 2022BNS-GCN: Efficient Full-Graph Training of Graph Convolutional Networks with Partition-Parallelism and Random Boundary Node Samplingcited by 43
  3. 2020Accelerating Graph Sampling for Graph Machine Learning using GPUscited by 29
  4. 2017Integrated Model, Batch and Domain Parallelism in Training Neural Networkscited by 16
  5. 2023Communication-Efficient Graph Neural Networks with Probabilistic Neighborhood Expansion Analysis and Cachingcited by 16
  6. 2020C-SAW: A Framework for Graph Sampling and Random Walk on GPUscited by 13
  7. 2019GraphBLAST: A High-Performance Linear Algebra-based Graph Framework on the GPUcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 2.

6 papers.