Introduction
Training Graph Neural Networks (GNNs) on massive datasets with millions or billions of nodes presents significant memory challenges. Distributed full-graph training addresses this by partitioning the graph across multiple GPUs. However, this approach introduces a severe communication bottleneck. Nodes at partition boundaries, known as HALO nodes, must exchange feature data during every layer of the forward and backward passes. In standard implementations, this inter-GPU communication can account for up to 89% of total training time.
The Sylvie Framework
To overcome this bottleneck, we present Sylvie, a framework designed to minimize communication overhead through aggressive compression and asynchronous execution. Sylvie introduces two primary variants:
- Low-bit Quantization (Sylvie-S): Sylvie reduces communication volume by quantizing 32-bit floating-point node features and gradients into 1-bit integers. It utilizes a stochastic rounding formula to maintain unbiased quantization, supplemented by minimal error-compensation metadata (min/max values) to facilitate data recovery.
- Asynchronous Pipelining (Sylvie-A): To further hide communication latency, Sylvie-A employs an asynchronous pipeline that overlaps data transfer with computation. By utilizing "stale" data from previous steps, it allows the next computation phase to begin while current communication is still in progress. A Bounded Staleness Adaptor is included to periodically synchronize the model, ensuring convergence remains stable.
Experimental Results
Sylvie was evaluated on four large-scale benchmarks—Reddit, Yelp, Ogbn-products, and Amazon—using GCN, GraphSAGE, and GAT architectures.
The results demonstrate that Sylvie-A achieves massive throughput improvements, ranging from 15.2× to 28.1× over the Deep Graph Library (DGL). Crucially, this performance gain comes with minimal impact on model accuracy. For instance, on the Reddit dataset using GraphSAGE, accuracy only decreased from 97.10% to 96.87%.
Key Insights
- Noise Tolerance in GNNs: Unlike deep CNNs, GNNs are typically shallow (2–4 layers). This inherent structure makes them uniquely tolerant to quantization noise, as errors do not accumulate significantly across layers.
- Targeting Feature Communication: While traditional deep learning focuses on weight synchronization, distributed GNNs are primarily bottlenecked by the exchange of HALO node features during the forward pass.
- The 1-bit Advantage: 1-bit quantization offers a ~32× reduction in data volume. The authors found this to be a "sweet spot," providing substantial speedups with negligible accuracy loss compared to higher-precision alternatives like 8-bit or 16-bit quantization.
Conclusion and Future Work
Sylvie successfully demonstrates that 1-bit asynchronous communication can drastically accelerate distributed GNN training. While the current implementation does not significantly reduce peak GPU memory due to quantization buffers, it offers a path forward for scaling GNNs to even larger graphs. Future research may explore adaptive bit-widths based on node importance (e.g., node degree) and investigate the impact of these techniques on deeper GNN architectures.
Summary updated