Skip to main content
QUICK REVIEW

[Paper Review] Towards Efficient Large-Scale Graph Neural Network Computing

Lingxiao Ma, Zhi Yang|arXiv (Cornell University)|Oct 19, 2018
Advanced Graph Neural NetworksComputer Science1 references11 citations
TL;DR

NGra is a novel parallel framework for large-scale Graph Neural Networks (GNNs) that introduces the SAGA-NN model to express GNNs as vertex programs with distinct Scatter, ApplyEdge, Gather, and ApplyVertex stages. It enables efficient, scalable GPU acceleration through automatic graph partitioning, chunk-based stream processing, and a ring-based multi-GPU data streaming mechanism, achieving up to 4× speedup over TensorFlow baselines and near-linear scalability across GPUs.

ABSTRACT

Recent deep learning models have moved beyond low-dimensional regular grids such as image, video, and speech, to high-dimensional graph-structured data, such as social networks, brain connections, and knowledge graphs. This evolution has led to large graph-based irregular and sparse models that go beyond what existing deep learning frameworks are designed for. Further, these models are not easily amenable to efficient, at scale, acceleration on parallel hardwares (e.g. GPUs). We introduce NGra, the first parallel processing framework for graph-based deep neural networks (GNNs). NGra presents a new SAGA-NN model for expressing deep neural networks as vertex programs with each layer in well-defined (Scatter, ApplyEdge, Gather, ApplyVertex) graph operation stages. This model not only allows GNNs to be expressed intuitively, but also facilitates the mapping to an efficient dataflow representation. NGra addresses the scalability challenge transparently through automatic graph partitioning and chunk-based stream processing out of GPU core or over multiple GPUs, which carefully considers data locality, data movement, and overlapping of parallel processing and data movement. NGra further achieves efficiency through highly optimized Scatter/Gather operators on GPUs despite its sparsity. Our evaluation shows that NGra scales to large real graphs that none of the existing frameworks can handle directly, while achieving up to about 4 times speedup even at small scales over the multiple-baseline design on TensorFlow.

Motivation & Objective

  • To address the lack of efficient, scalable GPU support for large-scale Graph Neural Networks (GNNs) in existing deep learning and graph processing frameworks.
  • To bridge the gap between dataflow-based deep learning frameworks and graph-structured neural network computation.
  • To enable end-to-end GNN training on graphs too large to fit in GPU memory, leveraging host memory and multi-GPU acceleration.
  • To optimize sparse graph operations (Scatter/Gather) on GPUs despite irregular, sparse data access patterns.

Proposed method

  • Introduces the SAGA-NN model, a vertex-program abstraction that expresses GNNs as a sequence of Scatter, ApplyEdge, Gather, and ApplyVertex stages with neural network operations.
  • Maps the SAGA-NN model into a dataflow graph at the chunk granularity to enable fine-grained, scalable stream processing across single or multiple GPUs.
  • Employs automatic graph partitioning and chunk-based processing to manage large graphs that exceed GPU memory capacity.
  • Uses a ring-based streaming mechanism to minimize redundant data movement between GPUs by enabling direct GPU-to-GPU data exchange.
  • Optimizes sparse Scatter and Gather operators on GPUs by exploiting per-vertex data access parallelism and minimizing memory latency.
  • Extends TensorFlow with custom operators and vertex-program abstractions to integrate GNN computation into a familiar deep learning ecosystem.

Experimental results

Research questions

  • RQ1How can Graph Neural Networks be efficiently expressed and executed on GPU-accelerated systems at scale?
  • RQ2What system-level optimizations are required to handle the irregular, sparse data access patterns inherent in GNNs on GPUs?
  • RQ3How can large graphs exceeding GPU memory be processed efficiently using multi-GPU and host memory?
  • RQ4What is the impact of data movement and scheduling strategies on the performance of GNN training on GPUs?
  • RQ5Can a hybrid model combining dataflow and vertex-program abstractions achieve both expressivity and high performance for GNNs?

Key findings

  • NGra achieves up to 4× speedup over multiple TensorFlow baselines on small-scale GNN workloads, demonstrating significant performance gains.
  • The ring-based multi-GPU streaming mechanism achieves 1.93× speedup when scaling from 1 to 2 GPUs, compared to only 1.06× with a non-ring mechanism.
  • NGra enables training on graphs with up to hundreds of millions of edges and millions of vertices, scaling beyond the capacity of existing frameworks.
  • The system demonstrates near-linear scalability on multi-GPU setups before NUMA node boundaries, with a 7.09× speedup achievable through manual NUMA-aware tensor allocation.
  • NGra’s optimized Scatter and Gather operators on GPUs significantly improve memory access efficiency despite the sparsity of GNN computations.
  • The integration of SAGA-NN with TensorFlow enables seamless programming of GNNs while maintaining high performance through system-level optimizations.

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.