[Paper Review] Dorylus: Affordable, Scalable, and Accurate GNN Training with Distributed CPU Servers and Serverless Threads
Dorylus trains GNNs on billion-edge graphs using distributed CPU servers and thousands of Lambda threads with computation separation and bounded asynchrony, achieving higher accuracy at lower cost compared to GPU and sampling-based baselines.
A graph neural network (GNN) enables deep learning on structured graph data. There are two major GNN training obstacles: 1) it relies on high-end servers with many GPUs which are expensive to purchase and maintain, and 2) limited memory on GPUs cannot scale to today's billion-edge graphs. This paper presents Dorylus: a distributed system for training GNNs. Uniquely, Dorylus can take advantage of serverless computing to increase scalability at a low cost. The key insight guiding our design is computation separation. Computation separation makes it possible to construct a deep, bounded-asynchronous pipeline where graph and tensor parallel tasks can fully overlap, effectively hiding the network latency incurred by Lambdas. With the help of thousands of Lambda threads, Dorylus scales GNN training to billion-edge graphs. Currently, for large graphs, CPU servers offer the best performance-per-dollar over GPU servers. Just using Lambdas on top of CPU servers offers up to 2.75x more performance-per-dollar than training only with CPU servers. Concretely, Dorylus is 1.22x faster and 4.83x cheaper than GPU servers for massive sparse graphs. Dorylus is up to 3.8x faster and 10.7x cheaper compared to existing sampling-based systems.
Motivation & Objective
- Address the high cost and memory limits of GPU-based GNN training on billion-edge graphs.
- Propose a serverless-enabled distributed GNN training framework that combines CPU servers with Lambda threads.
- Design a computation-separation pipeline to overlap graph and tensor tasks and hide network latency.
- Introduce bounded asynchronous training with mechanisms to ensure convergence (weight stashing and bounded staleness).
- Demonstrate practical training of GCN and GAT on real-world billion-edge graphs with favorable cost/performance metrics.
Proposed method
- Split training into graph-parallel tasks (on CPU graph servers) and tensor-parallel tasks (on Lambda threads).
- Use fine-grained tasks GA, SC, AV, AE and their backward counterparts to form a deep pipeline.
- Apply bounded asynchronous execution with weight stashing at updates and bounded staleness at neighbor gathering to preserve convergence.
- Replicate weight matrices across parameter servers and assign interval-specific weight stashes to balance load and data locality.
- Implement Lambda management, task fusion, and tensor rematerialization to optimize Lambda utilization and bandwidth.
- Provide a full end-to-end BPAC pipeline that overlaps graph and tensor computations to hide Lambda communication latency.
Experimental results
Research questions
- RQ1How can GNN training on billion-edge graphs be made affordable without sacrificing accuracy?
- RQ2Can serverless threads (Lambdas) be effectively integrated with CPU-based graph processing to achieve scalable GNN training?
- RQ3Does a bounded asynchronous pipeline with computation separation converge for GNN training, and under what conditions?
- RQ4What are practical performance and cost benefits of Dorylus compared with GPU-only and CPU-only baselines, and with sampling-based methods?
Key findings
- Dorylus achieves 2.05x higher performance than GPU-only and 1.83x higher performance than CPU-only backends under the same budget across four real-world graphs.
- Using Lambdas on top of the Dorylus architecture yields up to 2.75x better performance-per-dollar than CPU-only servers.
- For massive sparse graphs, Dorylus is 1.22x faster and 4.83x cheaper than GPU servers.
- Compared to existing sampling-based systems, Dorylus is up to 3.8x faster and 10.7x cheaper.
- Dorylus trains a GCN without sampling on billion-edge graphs (e.g., Friendster) and can achieve higher accuracy (1.05x) than sampling-based approaches.
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.