Introduction
Scaling Graph Neural Networks (GNNs) to massive datasets is a persistent challenge in machine learning. Traditional Message-Passing GNNs (MP-GNNs) suffer from the "neighbor explosion" problem: to compute the representation of a single node, the model must recursively aggregate information from its neighbors across multiple layers. This leads to exponential growth in data requirements, often exceeding memory and compute limits on large-scale graphs.
While graph sampling techniques—which select a subset of neighbors—are commonly used to mitigate this, they introduce complexity and can degrade model accuracy. Pre-Propagation GNNs (PP-GNNs) offer a compelling alternative. By performing neighbor aggregation as a one-time preprocessing step, PP-GNNs transform GNN training into a simpler task of training a dense model on pre-computed features. However, this approach introduces its own challenges, primarily "input expansion" and severe data-loading bottlenecks. This paper characterizes these bottlenecks and proposes a suite of system-level optimizations to unlock the full potential of PP-GNNs.
The Bottleneck: From Computation to Logistics
In traditional GNNs, the primary bottleneck is often the irregular memory access and computation required for message passing. In PP-GNNs, the bottleneck shifts. Because the "math" (aggregation) is done upfront, training becomes a high-throughput data-loading problem. The authors' analysis reveals that in vanilla PP-GNN implementations, over 90% of training time is spent moving data rather than performing backpropagation.
Furthermore, PP-GNNs face an "input expansion" problem. Pre-computing features for multiple hops can increase the dataset size significantly. For example, a 3-hop model can expand feature storage requirements by 4×. On massive datasets like the 100-million-node IGB-large, this results in feature sets as large as 1.6 TB, far exceeding the capacity of standard system RAM.
System-Level Optimizations
To address these bottlenecks, the authors introduce four key optimizations designed to maximize hardware utilization and throughput:
- Customized Data Loading: Standard data loaders often fetch node features individually, incurring high overhead. The authors implement a specialized index operator that assembles batches in host memory more efficiently, reducing the per-node processing cost.
- Double-Buffer Prefetching: To hide the latency of data movement, the system uses a pipelined approach. While the GPU processes the current batch, the next batch is simultaneously transferred from host memory, ensuring the GPU remains saturated.
- Chunk Reshuffling: Traditional training shuffles data at the individual node level. While this ensures randomness, it results in small, fragmented memory transfers. The authors propose "Chunk Reshuffling," where data is shuffled in large blocks (e.g., 8,000 nodes). This allows for bulk transfers that better utilize the high bandwidth of modern interconnects without sacrificing model convergence or accuracy.
- GPU Direct Storage (GDS): For datasets that exceed system RAM, the authors leverage NVIDIA GDS. This technology allows data to be streamed directly from NVMe SSDs to GPU memory, bypassing the CPU and host memory entirely. This is critical for training on TB-scale datasets like IGB-large.
Experimental Evaluation
The proposed optimizations were evaluated on a variety of benchmarks, ranging from medium-sized graphs (ogbn-products, pokec, wiki) to massive datasets (ogbn-papers100M, IGB-medium, and IGB-large).
Performance and Throughput
The optimizations yielded an average 15× speedup in training throughput compared to baseline PP-GNN implementations. When compared to state-of-the-art sampling-based GNNs (such as LABOR), the optimized PP-GNNs were 9.9× faster on average. On the largest graphs, the speedup reached up to two orders of magnitude.
Accuracy and Scalability
A key finding was that PP-GNNs are not just faster but also highly competitive in terms of accuracy. Optimized models like HOGA matched or exceeded the performance of complex sampling-based GNNs on large-scale benchmarks. Furthermore, the system successfully scaled to the 100-million-node IGB-large dataset by utilizing GPU Direct Storage, maintaining high efficiency even when the dataset size exceeded host memory capacity.
Conclusion
This work demonstrates that with proper system-level optimizations, Pre-Propagation GNNs can overcome the scaling limitations of traditional message-passing architectures. By shifting the focus from computational complexity to data-loading efficiency, the authors enable efficient training on graphs with hundreds of millions of nodes and terabytes of features. While challenges remain in multi-GPU scaling and handling even more complex operators, these optimizations provide a robust foundation for the next generation of large-scale graph learning systems.
Summary updated