A Comprehensive Study on Large-Scale Graph Training: Benchmarking and Rethinking

Keyu Duan, Zirui Liu, Peihao Wang, Wenqing Zheng, Kaixiong Zhou, Tianlong Chen, Xia Hu, Zhangyang Wang

Introduction: The Scaling Wall of GNNs

Graph Neural Networks (GNNs) have revolutionized fields ranging from drug discovery to social network analysis. However, they face a fundamental scaling wall: the Message Passing (MP) bottleneck.

In a standard GNN, a node's representation is updated by aggregating information from its neighbors. As you add layers to the network, the number of involved neighbors grows exponentially—a phenomenon known as "neighbor explosion." For industrial-scale graphs with billions of edges, the entire graph structure simply cannot fit into GPU memory. While many "scalable" GNNs have been proposed over the years (such as GraphSAGE or SIGN), the field has lacked a fair, consistent benchmark to understand which design philosophies actually work in practice.

This paper provides the first systematic benchmark of scalable GNN training methods, revealing critical trade-offs between sampling and decoupling strategies. Building on these insights, the authors introduce EnGCN, a novel layer-wise ensembling framework that bypasses the neighbor explosion problem to achieve new state-of-the-art (SOTA) results on massive datasets.

Categorizing and Benchmarking Scalable GNNs

The authors first categorize existing scalable GNNs into two main branches:

  1. Sampling-based Methods: These approximate the full graph by training on sampled subgraphs or neighborhoods (e.g., GraphSAGE, ClusterGCN, GraphSAINT). By limiting the number of nodes processed at once, they keep memory usage manageable.
  2. Decoupling-based Methods: These separate the graph propagation (moving data across edges) from the neural network training. This includes Pre-processing (computing aggregations once on the CPU before training) and Post-processing (using Label Propagation after training).

To ensure a fair comparison, the researchers implemented a greedy hyperparameter search, iteratively optimizing variables like learning rate and dropout while fixing others.

Hyperparameter sensitivity heatmaps across models and datasets

The Datasets

The study evaluates these methods across three representative large-scale datasets:

  • Flickr: ~80,000 nodes (image metadata).
  • Reddit: ~232,000 nodes (social post links).
  • ogbn-products: ~2.4 million nodes (Amazon product co-purchasing network).
  • (The authors also discuss the memory implications for the massive ogbn-papers100M dataset, which contains 111 million nodes.)

Key Insights and Ideas

The comprehensive benchmarking revealed several critical insights into how different GNN architectures scale:

  • Sensitivity to Message Passing: Sampling-based methods are highly sensitive to hyperparameters related to the graph structure (like the number of layers and batch size) but relatively indifferent to feature transformation settings (like weight decay).
  • The Batch Size Correlation: For sampling methods, performance is almost always positively correlated with batch size. As the batch size approaches the full graph, performance improves because fewer critical links are "cut" by the sampling process.
  • Precomputing Wins on Scale: On the largest datasets, decoupling/precomputing methods generally outperform sampling methods. They offer more stable convergence because they don't suffer from the high variance introduced by mini-batch sampling.
  • The Memory Trap: Precomputing-based methods (like SIGN) are fast but have a hidden cost: they require massive CPU memory to store multi-hop features.
Convergence comparison of sampling vs. precomputing methods

Introducing EnGCN: A Layer-wise Ensembling Approach

To address the limitations of both sampling (high variance, slow) and precomputing (high CPU memory cost), the authors propose EnGCN (Ensembling GCN).

Instead of training an end-to-end model, EnGCN trains layers sequentially. Each layer is treated as a "weak learner" that captures information from a specific neighborhood hop. These learners are then combined using weighted majority voting and boosted by Self-Label-Enhancement (SLE) to refine predictions on unlabeled nodes. Because it trains layer-wise, EnGCN significantly reduces the memory footprint as the model gets deeper.

Key Results

The proposed EnGCN emerged as the clear winner in both accuracy and efficiency:

  • Accuracy: EnGCN achieved 87.99% accuracy on ogbn-products, setting a new SOTA and outperforming the previous best-integrated model by 1.26%.
  • Stability: Precomputing-based methods showed much faster and more stable convergence compared to sampling-based methods, which often struggle with "noisy" updates.
  • Throughput: Methods like SGC and FastGCN showed significantly higher throughput (iterations per second) than GraphSAGE, which is bogged down by recursive neighbor sampling.

Limitations and Future Work

While EnGCN is highly effective, the authors note that its convergence landscape is complex. Because it trains layer-by-layer, the training and validation accuracy can fluctuate significantly at the start of each new layer phase.

Additionally, different datasets show varying sensitivity to "hops." For instance, 2nd-hop neighbors are crucial for Flickr, whereas 1-hop neighbors dominate for Reddit. Future work could involve automated ways to weigh these hops dynamically during the ensembling process. The study also focuses on algorithmic improvements; combining these with infrastructure-level optimizations (like distributed training) remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{duan2022comprehensive,
  author = {Keyu Duan and Zirui Liu and Peihao Wang and Wenqing Zheng and Kaixiong Zhou and Tianlong Chen and Xia Hu and Zhangyang Wang},
  title = {{A Comprehensive Study on Large-Scale Graph Training: Benchmarking and Rethinking}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=LiJsvXrHfC},
}
Figure