[Paper Review] SDT-GNN: Streaming-based Distributed Training Framework for Graph Neural Networks
CATGNN is a cost-efficient, scalable distributed training framework for Graph Neural Networks that processes large-scale graphs by streaming edges instead of loading the entire graph into memory, enabling training on billion-scale graphs with limited resources. It introduces SPRING, a novel streaming partitioning algorithm that reduces replication by 50% on average, significantly improving partitioning quality for GNN workloads.
Recently, distributed GNN training frameworks, such as DistDGL and PyG, have been developed to enable training GNN models on large graphs by leveraging multiple GPUs in a distributed manner. Despite these advances, their memory requirements are still excessively high, thereby hindering GNN training on large graphs using commodity workstations. In this paper, we propose SDT-GNN, a streaming-based distributed GNN training framework. Unlike the existing frameworks that load the entire graph in memory, it takes a stream of edges as input for graph partitioning to reduce the memory requirement for partitioning. It also enables distributed GNN training even when the aggregated memory size of GPUs is smaller than the size of the graph and feature data. Furthermore, to improve the quality of partitioning, we propose SPRING, a novel streaming partitioning algorithm for distributed GNN training. We demonstrate the effectiveness and efficiency of SDT-GNN on seven large public datasets. SDT-GNN has up to 95% less memory footprint than DistDGL and PyG without sacrificing the prediction accuracy. SPRING also outperforms state-of-the-art streaming partitioning algorithms significantly.
Motivation & Objective
- Address the challenge of training GNNs on billion-scale real-world graphs that exceed the memory capacity of commodity workstations.
- Overcome the limitation of existing distributed GNN systems that require loading the full graph into memory for partitioning using conventional algorithms like METIS.
- Enable cost-efficient and scalable GNN training under limited computational resources by avoiding expensive hardware upgrades or cloud expenses.
- Develop a streaming-based partitioning approach tailored for GNNs, ensuring full neighborhood availability across partitions to maintain model accuracy.
- Bridge the gap between streaming partitioning algorithms—designed for graph mining—and the specific needs of distributed GNN training, which require minimal neighbor fragmentation.
Proposed method
- Process graph data as a continuous stream of edges rather than loading the entire graph into memory, reducing memory footprint.
- Integrate existing streaming partitioning algorithms (e.g., PowerGraph, HDRF, DBH, 2PS-L) into a unified framework for distributed GNN training.
- Propose SPRING, a novel streaming partitioning algorithm that leverages node degree and cluster volume to minimize replication factor while preserving neighbor connectivity.
- Design a partitioning strategy that prioritizes keeping full neighborhoods within the same partition to support efficient neighborhood aggregation in GNNs.
- Support distributed training with data parallelism and gradient averaging, while minimizing synchronization overhead through optimized partitioning.
- Enable seamless integration with existing GNN frameworks like DGL and DistDGL by abstracting the partitioning layer and supporting standard GNN operators.
Experimental results
Research questions
- RQ1Can a distributed GNN training system be designed to operate efficiently on billion-scale graphs without requiring the full graph to be loaded into memory?
- RQ2How can streaming-based graph partitioning algorithms be adapted to preserve full neighborhood information for GNNs, which are sensitive to neighbor fragmentation?
- RQ3To what extent can a novel streaming partitioning algorithm reduce replication factor compared to state-of-the-art methods while maintaining GNN training efficiency?
- RQ4Can the proposed system achieve high training accuracy on large-scale benchmarks while operating under limited memory and computational resources?
- RQ5What is the performance and scalability trade-off of using streaming partitioning versus traditional in-memory partitioning in distributed GNN training?
Key findings
- CATGNN successfully trains GNNs on the largest publicly available dataset, OGB-Papers, which requires ~400 GB of RAM, using only 244 GB of memory—making it feasible on commodity hardware.
- SPRING reduces the average replication factor by 50% compared to state-of-the-art streaming partitioning algorithms, significantly improving partitioning quality.
- The system maintains high GNN accuracy across multiple models (GCN, GAT, GraphSAGE) and datasets, demonstrating that neighbor fragmentation is effectively minimized.
- Model synchronization overhead is reduced due to better load balancing and neighbor locality, improving training efficiency in distributed settings.
- CATGNN enables cost-efficient training by eliminating the need for expensive hardware upgrades or cloud instances, such as AWS p3.8xlarge, which cost ~$9K/month.
- The framework supports training on 16 open datasets, validating its generalizability and robustness across diverse graph structures and scales.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.