Abstract
Distributed training of Graph Neural Networks (GNNs) on large-scale graphs is often hindered by significant communication overhead. While sampling-based methods offer scalability, they frequently compromise model accuracy. This paper introduces AdaQP, a system designed to accelerate distributed full-graph GNN training by up to 3.01×. AdaQP achieves this through two primary mechanisms: adaptive stochastic integer quantization for message compression and a parallelization strategy that overlaps central node computation with marginal node communication. Our evaluation across four massive benchmarks demonstrates that AdaQP maintains theoretical convergence and high accuracy while drastically reducing communication bottlenecks.
Introduction
Graph Neural Networks (GNNs) have become the standard for learning on relational data. However, training them on massive graphs presents a significant challenge. "Full-graph" training, which utilizes the entire graph structure, is preferred for its accuracy but is notoriously slow in distributed environments. In these settings, devices often remain idle, waiting for data transfers from neighboring partitions. AdaQP addresses this "waiting game" by optimizing both the volume of data transferred and the sequence of operations.
The Communication Bottleneck in Distributed GNNs
In a distributed GNN setup, a large graph is partitioned across multiple GPUs or servers. Because nodes have edges connecting to "remote" neighbors on other devices, these devices must constantly exchange messages containing node features, embeddings, and gradients.
The authors identify two major inefficiencies in standard distributed GNN systems:
- Bandwidth Bottleneck: The massive size of messages in an "all-to-all" communication pattern creates network congestion.
- Idle Computation: Nodes are categorized into "central nodes" (all neighbors are local) and "marginal nodes" (some neighbors are remote). Standard systems often wait for remote data for marginal nodes before starting any computation, leaving central nodes idle despite having all necessary local data.
Methodology: The AdaQP Approach
AdaQP introduces a three-pronged strategy to mitigate these inefficiencies:
1. Adaptive Stochastic Integer Quantization
Instead of transmitting full 32-bit floating-point numbers, AdaQP compresses messages into 2, 4, or 8-bit integers. By using stochastic quantization, the system ensures that message estimates remain unbiased, preserving the model's ability to converge to an optimal solution.
2. Communication-Computation Parallelization
AdaQP re-architects the training workflow to overlap operations. It identifies central nodes and initiates their computation immediately. While the GPU processes central nodes, the network interface simultaneously fetches the quantized messages required for marginal nodes.
3. Bi-objective Bit-width Assignment
AdaQP periodically solves a bi-objective optimization problem to determine the optimal bit-width for different message groups. This balances the trade-off between communication speed (lower bit-width) and training stability (higher precision).
Experimental Evaluation
The researchers evaluated AdaQP on four massive graph benchmarks: Reddit, Yelp, ogbn-products, and AmazonProducts.
Key Insights and Results
- Throughput: AdaQP achieved speedups between 2.19× and 3.01× compared to vanilla baselines.
- Accuracy: Accuracy fluctuations were minimal, ranging from a 0.30% drop to a 0.19% improvement. This suggests that quantization noise may even act as a form of regularization.
- Efficiency: Communication time was reduced by an average of nearly 80%. In many cases, central node computation was entirely "hidden" within the communication window, effectively making that part of the training "free."
- Theoretical Rigor: Unlike many heuristic speedup papers, the authors provide a formal proof that AdaQP maintains an $O(T^{-1})$ convergence rate, matching the theoretical efficiency of standard full-precision SGD.
Conclusion
AdaQP demonstrates that distributed full-graph GNN training can be significantly accelerated without sacrificing accuracy or theoretical convergence. By combining adaptive quantization with intelligent parallelization, it overcomes the primary bottlenecks of distributed graph learning. Future work includes automating hyperparameter tuning through reinforcement learning and testing on larger, heterogeneous clusters.
Summary updated