Skip to main content
QUICK REVIEW

[Paper Review] BGL: GPU-Efficient GNN Training by Optimizing Graph Data I/O and Preprocessing

Tianfeng Liu, Yangrui Chen|arXiv (Cornell University)|Dec 16, 2021
Advanced Graph Neural NetworksComputer Science21 citations
TL;DR

BGL is a GPU-efficient GNN training system that accelerates large-scale graph learning by optimizing data I/O and preprocessing. It uses a proximity-aware dynamic cache with FIFO policy, a multi-hop-aware graph partitioning algorithm, and profiling-based resource isolation to reduce feature retrieval traffic and cross-partition communication, achieving 20.68x average speedup over existing systems with near-100% GPU utilization.

ABSTRACT

Graph neural networks (GNNs) have extended the success of deep neural networks (DNNs) to non-Euclidean graph data, achieving ground-breaking performance on various tasks such as node classification and graph property prediction. Nonetheless, existing systems are inefficient to train large graphs with billions of nodes and edges with GPUs. The main bottlenecks are the process of preparing data for GPUs - subgraph sampling and feature retrieving. This paper proposes BGL, a distributed GNN training system designed to address the bottlenecks with a few key ideas. First, we propose a dynamic cache engine to minimize feature retrieving traffic. By a co-design of caching policy and the order of sampling, we find a sweet spot of low overhead and high cache hit ratio. Second, we improve the graph partition algorithm to reduce cross-partition communication during subgraph sampling. Finally, careful resource isolation reduces contention between different data preprocessing stages. Extensive experiments on various GNN models and large graph datasets show that BGL significantly outperforms existing GNN training systems by 20.68x on average.

Motivation & Objective

  • To address the performance bottleneck in GPU-accelerated GNN training caused by high data I/O and preprocessing overhead.
  • To reduce feature retrieval traffic during mini-batch sampling in distributed GNN training.
  • To minimize cross-partition communication during subgraph sampling by redesigning the graph partitioning strategy.
  • To improve end-to-end training throughput through profiling-based resource isolation in data preprocessing pipelines.
  • To achieve near-100% GPU utilization in large-scale GNN training on billion-node graphs.

Proposed method

  • Proposes a dynamic cache engine with a FIFO policy combined with proximity-aware node sampling order to exploit temporal locality and increase cache hit ratios with low overhead.
  • Designs a novel graph partitioning algorithm that preserves multi-hop neighborhood connectivity within partitions to reduce cross-partition communication during sampling.
  • Introduces a profiling-based resource allocation strategy to isolate CPU cores and bandwidth for individual preprocessing stages, preventing resource contention.
  • Co-designs the caching policy and sampling order to balance cache efficiency and system overhead, avoiding the high cost of dynamic replacement policies.
  • Implements a multi-GPU consistent cache engine that maintains model convergence while accelerating feature retrieval.
  • Optimizes the entire training pipeline by integrating caching, partitioning, and resource isolation into a unified system for end-to-end performance gains.

Experimental results

Research questions

  • RQ1How can feature retrieval traffic be minimized in distributed GNN training without incurring high caching overhead?
  • RQ2What graph partitioning strategy best preserves multi-hop neighborhood connectivity to reduce cross-partition communication during sampling?
  • RQ3How can resource contention among concurrent preprocessing stages be mitigated to improve end-to-end throughput?
  • RQ4Can a dynamic caching policy with low runtime cost achieve high hit ratios in large-scale GNN training?
  • RQ5To what extent can I/O and preprocessing bottlenecks be eliminated to achieve near-100% GPU utilization in GNN training?

Key findings

  • BGL achieves an average 20.68x speedup over existing GNN training systems on large graph datasets, significantly outperforming DGL, PyG, and Euler.
  • The dynamic cache with proximity-aware ordering increases cache hit ratio while maintaining low overhead, reducing feature retrieval traffic by leveraging temporal locality.
  • The proposed graph partitioning algorithm reduces cross-partition communication by preserving multi-hop connectivity within partitions, improving sampling efficiency.
  • Profiling-based resource isolation improves preprocessing throughput by preventing resource contention, especially in CPU- and bandwidth-intensive stages.
  • BGL maintains model accuracy comparable to DGL, achieving test accuracy within 0.003 of DGL on Ogbn-products and Ogbn-papers across GCN, GAT, and GraphSAGE models.
  • GPU utilization in BGL reaches near 100%, whereas DGL exhibits only ~10% utilization on large graphs, indicating effective elimination of I/O and preprocessing bottlenecks.

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.