Distributed Graph Neural Network Training: A Survey

Yingxia Shao, Hongzheng Li, Xizhi Gu, Hongbo Yin, Yawen Li, Xupeng Miao, Wentao Zhang, Bin Cui, Lei Chen

TL;DR

Training Graph Neural Networks (GNNs) on massive graphs is computationally challenging due to data dependencies and communication overhead. This survey provides a comprehensive overview of distributed GNN training techniques, introducing a novel taxonomy to systematically categorize optimization strategies across data partitioning, batch generation, execution models, and communication protocols.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) have shown remarkable success in various domains by leveraging graph structures. However, scaling GNNs to handle graphs with billions of nodes and trillions of edges is a significant hurdle. Traditional deep learning models often assume independent data samples, but GNNs inherently have data dependencies, making direct application of distributed deep learning techniques difficult. This leads to massive communication overhead and workload imbalance, hindering efficient distributed GNN training. This paper aims to systematically review and organize the diverse techniques developed to address these challenges.

Methods

The authors propose a new taxonomy for distributed GNN training techniques, categorizing them into four orthogonal stages:

  • GNN Data Partition: Techniques for distributing the graph and its features across workers to balance workload and minimize communication. This includes graph partitioning (vertex-cut, edge-cut) and feature partitioning.
  • GNN Batch Generation: Methods for creating mini-batches, crucial for mini-batch GNN training. This involves distributed sampling (vertex-wise, layer-wise, subgraph-wise) and partition-based generation.
  • GNN Execution Model: Strategies for scheduling and executing GNN operations, covering both mini-batch and full-graph training. This includes concepts like operator-parallel, pull-push parallelism, one-shot execution, and chunk-based execution.
  • GNN Communication Protocol: Techniques for transferring hidden embeddings and gradients between workers, categorized into synchronous and asynchronous protocols.

The survey analyzes how these techniques address the three core challenges: massive feature communication, loss of model accuracy, and workload imbalance.

Datasets

Not explicitly detailed in the provided text, but the paper discusses the need for benchmarks for large-scale distributed GNN training and mentions existing datasets for graph machine learning tasks.

Key Insights and Ideas

  • Data Dependency is Key: The inherent data dependency in GNNs, unlike the i.i.d. assumption in traditional DNNs, is the root cause of many distributed training challenges.
  • No One-Size-Fits-All: Different GNN training strategies (mini-batch vs. full-graph) require distinct optimization techniques, particularly in batch generation and execution models.
  • Trade-offs are Inevitable: Achieving high efficiency in distributed GNN training often involves a trade-off between model accuracy and training speed, especially in mini-batch settings.
  • Communication is the Bottleneck: Massive feature communication is a pervasive issue across different distributed GNN training paradigms, driving much of the research in this area.
  • A Unified Taxonomy is Needed: The paper's contribution of a systematic taxonomy helps researchers navigate the complex landscape of distributed GNN techniques.

Key Results

The paper does not present new experimental results but rather synthesizes existing research. It reviews 28 representative distributed GNN systems and frameworks, categorizing them based on their hardware deployment (multi-GPU, GPU-clusters, CPU-clusters) and the techniques they employ. The survey highlights that various systems achieve significant improvements in training efficiency and scalability by adopting combinations of the discussed techniques.

Limitations and Future Work

The authors identify several promising future directions:

  • Benchmarking: The need for standardized benchmarks for distributed GNN training is emphasized, similar to those for traditional deep learning models, to facilitate fair comparison of algorithms and systems.
  • Dynamic Graphs: Training GNNs on graphs that evolve over time (dynamic graphs) presents new challenges for partitioning, communication, and caching, requiring further research.
  • Heterogeneous Graphs: Supporting GNNs on heterogeneous graphs, where vertices and edges have different types and properties, is crucial but often leads to load imbalance and high network overhead in distributed settings.
  • Model Compression: Applying model compression techniques (pruning, quantization) to distributed GNN training is an underexplored area with potential for improving scalability.
  • Communication Cost Reduction: Continued focus on reducing communication costs through techniques like message quantization and optimized partitioning is essential.

Summary updated

BibTeX
@article{shao2022distributed,
  author = {Yingxia Shao and Hongzheng Li and Xizhi Gu and Hongbo Yin and Yawen Li and Xupeng Miao and Wentao Zhang and Bin Cui and Lei Chen},
  title = {{Distributed Graph Neural Network Training: A Survey}},
  journal = {ACM Computing Surveys},
  year = {2022},
}
Figure