Skip to main content
QUICK REVIEW

[Paper Review] GNNAdvisor: An Adaptive and Efficient Runtime System for GNN Acceleration on GPUs

Yuke Wang, Boyuan Feng|arXiv (Cornell University)|Jun 11, 2020
Advanced Graph Neural NetworksComputer Science16 citations
TL;DR

GNNAdvisor is a GPU runtime system that dynamically optimizes Graph Neural Network (GNN) workloads by leveraging real-time input characteristics such as graph structure and embedding dimensions. It uses adaptive 2D workload management, GPU memory hierarchy-aware execution, and an analytical model for kernel parameter tuning, achieving up to 4.10× speedup over state-of-the-art frameworks like NeuGraph and 3.02× average speedup over DGL.

ABSTRACT

As the emerging trend of graph-based deep learning, Graph Neural Networks (GNNs) excel for their capability to generate high-quality node feature vectors (embeddings). However, the existing one-size-fits-all GNN implementations are insufficient to catch up with the evolving GNN architectures, the ever-increasing graph sizes, and the diverse node embedding dimensionalities. To this end, we propose extbf{GNNAdvisor}, an adaptive and efficient runtime system to accelerate various GNN workloads on GPU platforms. First, GNNAdvisor explores and identifies several performance-relevant features from both the GNN model and the input graph, and uses them as a new driving force for GNN acceleration. Second, GNNAdvisor implements a novel and highly-efficient 2D workload management, tailored for GNN computation to improve GPU utilization and performance under different application settings. Third, GNNAdvisor capitalizes on the GPU memory hierarchy for acceleration by gracefully coordinating the execution of GNNs according to the characteristics of the GPU memory structure and GNN workloads. Furthermore, to enable automatic runtime optimization, GNNAdvisor incorporates a lightweight analytical model for an effective design parameter search. Extensive experiments show that GNNAdvisor outperforms the state-of-the-art GNN computing frameworks, such as Deep Graph Library ($3.02 imes$ faster on average) and NeuGraph (up to $4.10 imes$ faster), on mainstream GNN architectures across various datasets.

Motivation & Objective

  • To address the performance limitations of one-size-fits-all GNN frameworks on GPUs, especially under diverse GNN architectures and graph workloads.
  • To enable dynamic, input-aware optimization by exposing runtime characteristics such as node degree and embedding size to guide system-level decisions.
  • To improve GPU utilization and reduce memory access overhead through novel 2D workload management and GPU memory hierarchy coordination.
  • To provide an automated, lightweight analytical model for efficient kernel parameter search without manual tuning.
  • To demonstrate scalability and adaptability across different GPUs, GNN models, and graph datasets.

Proposed method

  • GNNAdvisor extracts performance-relevant features from both the GNN model (e.g., number of layers, hidden dimension) and input graph (e.g., node degree distribution) at runtime.
  • It implements a 2D workload management strategy that maps GNN computation onto GPU thread blocks based on neighbor partitioning and warp alignment to minimize atomic operations.
  • The system uses warp-aware shared memory customization to reduce global memory access by coalescing data access patterns.
  • It integrates a lightweight analytical model that predicts optimal kernel parameters (e.g., thread block size, neighbor grouping size) based on input characteristics.
  • The framework leverages PyTorch as a front-end for programmability while offloading low-level optimizations to a custom runtime layer.
  • It applies community-aware node renumbering to improve memory coalescing and reduce irregular memory access in the aggregation phase.

Experimental results

Research questions

  • RQ1Can runtime input characteristics such as node degree and embedding dimensionality be used to guide system-level GNN optimizations?
  • RQ2How can 2D workload mapping on GPUs be designed to minimize atomic operations and improve warp-level occupancy in GNNs?
  • RQ3To what extent can GPU memory hierarchy awareness improve performance in irregular GNN workloads?
  • RQ4Can an analytical model effectively predict optimal kernel parameters across diverse GNN architectures and datasets?
  • RQ5How does GNNAdvisor scale across different GPU hardware platforms, such as V100 and P6000?

Key findings

  • GNNAdvisor achieves an average 3.02× speedup over Deep Graph Library (DGL) 3.02× across multiple GNN models and datasets.
  • It achieves up to 4.10× speedup over NeuGraph on the most challenging GNN workloads, demonstrating superior optimization adaptability.
  • The system reduces irregular memory access by 47.85% and 57.93% on average through warp-aligned thread mapping and shared memory optimization.
  • Community-aware node renumbering adds only 4.00% overhead on average, which is amortized over repeated GNN runs, making it practical for real-world use.
  • On Tesla V100, GNNAdvisor achieves 1.97× and 1.86× speedup over P6000 for GCN and GIN respectively, due to better utilization of higher compute and memory bandwidth.
  • The analytical model successfully identifies optimal kernel parameters across four distinct settings, including different models, datasets, and GPUs, confirming its effectiveness in automated tuning.

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.