Skip to main content
QUICK REVIEW

[Paper Review] GraphTheta: A Distributed Graph Neural Network Learning System With Flexible Training Strategy

Yongchao Liu, Houyi Li|arXiv (Cornell University)|Apr 21, 2021
Advanced Graph Neural NetworksComputer Science35 references5 citations
TL;DR

GraphTheta is a distributed graph neural network (GNN) learning system that leverages vertex-centric graph processing with user-defined neural network operators to enable scalable, flexible training on large-scale graphs. It introduces the NN-TGAR abstraction and hybrid-parallel execution to support multiple training strategies—including cluster-batch training—achieving up to 30.56× speedup over GraphLearn and 2.02× over DistDGL on industry-scale datasets with 1.4B nodes and 4.1B edges using only CPU-based virtual machines.

ABSTRACT

Graph neural networks (GNNs) have been demonstrated as a powerful tool for analyzing non-Euclidean graph data. However, the lack of efficient distributed graph learning systems severely hinders applications of GNNs, especially when graphs are big and GNNs are relatively deep. Herein, we present GraphTheta, the first distributed and scalable graph learning system built upon vertex-centric distributed graph processing with neural network operators implemented as user-defined functions. This system supports multiple training strategies and enables efficient and scalable big-graph learning on distributed (virtual) machines with low memory. To facilitate graph convolutions, GraphTheta puts forward a new graph learning abstraction named NN-TGAR to bridge the gap between graph processing and graph deep learning. A distributed graph engine is proposed to conduct the stochastic gradient descent optimization with a hybrid-parallel execution, and a new cluster-batched training strategy is supported. We evaluate GraphTheta using several datasets with network sizes ranging from small-, modest- to large-scale. Experimental results show that GraphTheta can scale well to 1,024 workers for training an in-house developed GNN on an industry-scale Alipay dataset of 1.4 billion nodes and 4.1 billion attributed edges, with a cluster of CPU virtual machines (dockers) of small memory each (5$\sim$12GB). Moreover, GraphTheta can outperform DistDGL by up to $2.02 imes$, with better scalability, and GraphLearn by up to $30.56 imes$. As for model accuracy, GraphTheta is capable of learning as good GNNs as existing frameworks. To the best of our knowledge, this work presents the largest edge-attributed GNN learning task in the literature.

Motivation & Objective

  • Address the scalability limitations of existing GNN frameworks when training on large, deep, or highly skewed graphs with high-degree nodes.
  • Overcome the memory and performance bottlenecks in distributed GNN training caused by subgraph explosion in mini-batch strategies.
  • Enable flexible training strategies—including cluster-batch—within a unified, extensible system architecture.
  • Support efficient, low-memory GNN training on commodity CPU clusters without requiring GPUs or specialized hardware.
  • Bridge the semantic and architectural gap between traditional graph processing and deep learning workloads in distributed environments.

Proposed method

  • Implement GNNs as user-defined functions (UDFs) within a vertex-centric distributed graph processing engine to decouple graph computation from deep learning frameworks.
  • Introduce NN-TGAR (Neural Network-Targeted Graph Abstraction for Recursion), a new abstraction that unifies graph processing and GNN operations, simplifying graph convolution implementation.
  • Employ hybrid-parallel execution: each training batch is processed by a group of workers in a distributed manner, combining data and model parallelism dynamically.
  • Design a cluster-batched training strategy that reduces memory pressure and improves convergence by processing subgraphs across multiple nodes in a coordinated fashion.
  • Optimize stochastic gradient descent (SGD) with a distributed graph engine that supports efficient neighbor sampling and gradient aggregation across workers.
  • Utilize a modular, extensible system architecture that allows seamless integration of new training strategies and graph processing primitives.

Experimental results

Research questions

  • RQ1Can a distributed GNN training system built on a vertex-centric graph processing model achieve high scalability and performance on industry-scale graphs with limited memory per node?
  • RQ2How does the proposed NN-TGAR abstraction improve the expressiveness and efficiency of implementing graph convolutions compared to traditional frameworks?
  • RQ3What is the performance and scalability of GraphTheta under diverse training strategies, especially cluster-batch, on large, edge-attributed graphs?
  • RQ4Can GraphTheta outperform existing distributed GNN frameworks like DistDGL and GraphLearn in terms of training speed and model generalization on real-world datasets?
  • RQ5To what extent can a CPU-based system achieve competitive performance on large-scale GNN training without GPU acceleration?

Key findings

  • GraphTheta scales effectively to 1,024 workers on a CPU-based virtual machine cluster, demonstrating strong horizontal scalability for large-scale GNN training.
  • On the Alipay dataset (1.4B nodes, 4.1B edges), GraphTheta achieved a 30.56× speedup over GraphLearn and 2.02× over DistDGL when training a 4-layer GCN.
  • The cluster-batch training strategy achieved the fastest convergence and best generalization on the Alipay dataset, outperforming standard mini-batch and global-batch approaches.
  • GraphTheta achieved comparable or better model accuracy than existing frameworks like DistDGL and GraphLearn on multiple benchmark datasets, including Reddit.
  • The system demonstrated robust performance on highly skewed graphs with nodes having up to hundreds of thousands of neighbors, avoiding subgraph explosion through efficient batch management.
  • Despite running exclusively on CPUs, GraphTheta achieved competitive training throughput, indicating strong potential for low-cost, production-grade deployment on public cloud infrastructure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.