Skip to main content
QUICK REVIEW

[Paper Review] QGTC: Accelerating Quantized Graph Neural Networks via GPU Tensor Core

Yuke Wang, Boyuan Feng|arXiv (Cornell University)|Nov 18, 2021
Advanced Graph Neural NetworksComputer Science4 citations
TL;DR

QGTC is a novel GPU Tensor Core-based framework that enables high-performance, any-bitwidth inference for quantized graph neural networks (QGNNs). By introducing bit-decomposed arithmetic, 3D-stacked bit compression, zero-tile jumping, and non-zero tile reuse in a TC-optimized CUDA kernel, QGTC achieves an average 2.7× speedup over state-of-the-art DGL across diverse GNN workloads, demonstrating effective utilization of GPU Tensor Core for sparse, low-bit GNN computation.

ABSTRACT

Over the most recent years, quantized graph neural network (QGNN) attracts lots of research and industry attention due to its high robustness and low computation and memory overhead. Unfortunately, the performance gains of QGNN have never been realized on modern GPU platforms. To this end, we propose the first Tensor Core (TC) based computing framework, QGTC, to support any-bitwidth computation for QGNNs on GPUs. We introduce a novel quantized low-bit arithmetic design based on the low-bit data representation and bit-decomposed computation. We craft a novel TC-tailored CUDA kernel design by incorporating 3D-stacked bit compression, zero-tile jumping, and non-zero tile reuse technique to improve the performance systematically. We incorporate an effective bandwidth-optimized subgraph packing strategy to maximize the transferring efficiency between CPU host and GPU device. We integrate QGTC with Pytorch for better programmability and extensibility. Extensive experiments demonstrate that QGTC achieves on average 2.7x speedup compared with the state-of-the-art Deep Graph Library framework across diverse settings.

Motivation & Objective

  • Address the performance gap in deploying quantized GNNs (QGNNs) on modern GPUs despite their low memory and computation overhead.
  • Overcome the limitations of existing GPU frameworks that rely on CUDA cores and cannot efficiently exploit bit-level operations for low-precision GNNs.
  • Enable any-bitwidth computation (e.g., 1-, 2-, 4-bit) on GPU Tensor Cores, which are underutilized in current GNN workloads.
  • Design a software stack that bridges low-bit GNN computation with high-level deep learning frameworks like PyTorch for usability and extensibility.
  • Maximize GPU utilization through bandwidth-optimized subgraph packing and TC-tailored kernel optimizations for sparse GNN workloads.

Proposed method

  • Propose a bit-decomposed arithmetic design that emulates any-bitwidth GNN computations using native 1-bit and 4-bit Tensor Core operations.
  • Implement a 3D-stacked bit compression technique to pack multiple low-bit values into a single 32-bit word, reducing memory footprint and improving data reuse.
  • Design a TC-optimized CUDA kernel with zero-tile jumping to skip unnecessary computation on zero-valued adjacency matrix tiles, minimizing redundant memory access.
  • Introduce non-zero tile reuse to reduce global memory bandwidth pressure by reusing previously loaded non-zero adjacency matrix tiles across multiple GEMM operations.
  • Develop a bandwidth-optimized subgraph packing strategy that maximizes data transfer efficiency between CPU host and GPU device by coalescing subgraphs with similar sizes and access patterns.
  • Integrate QGTC with PyTorch to ensure programmability, extensibility, and compatibility with existing deep learning workflows.

Experimental results

Research questions

  • RQ1Can GPU Tensor Cores be effectively leveraged to accelerate quantized GNN inference beyond traditional CUDA-core-based frameworks?
  • RQ2How can any-bitwidth GNN computation (e.g., 2-bit, 4-bit) be efficiently emulated on hardware natively supporting only 1-bit and 4-bit operations?
  • RQ3What kernel-level optimizations are most effective in mitigating the performance bottlenecks of sparse and irregular GNN computation on Tensor Cores?
  • RQ4To what extent can subgraph packing and memory access optimization improve data transfer efficiency between CPU and GPU in GNN inference?
  • RQ5How does the combination of bit-level compression, zero-tile skipping, and non-zero tile reuse impact overall throughput and GPU utilization in QGNN inference?

Key findings

  • QGTC achieves an average inference speedup of 2.7× over the state-of-the-art DGL framework across diverse GNN models and datasets.
  • The performance of QGTC's 1-bit GEMM kernel scales well with increasing subgraph size, particularly in the range of 512 to 16,384 nodes, where GPU SM utilization increases due to higher computational intensity.
  • Non-zero tile reuse significantly improves throughput for large matrices (e.g., N=8,192) by reducing global memory access overhead, especially when using higher bitwidths (4–16-bit) for node embeddings.
  • The 3D-stacked bit compression technique effectively reduces memory footprint and enables efficient bit-level parallelism, contributing to higher arithmetic intensity on Tensor Cores.
  • Subgraph packing with bandwidth optimization improves data transfer efficiency between CPU and GPU, reducing idle time and enhancing overall system throughput.
  • The framework demonstrates strong scalability and resource utilization on modern GPUs, with performance approaching peak limits at large subgraph sizes due to full SM activation.

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.