Skip to main content
QUICK REVIEW

[Paper Review] GRIP: A Graph Neural Network Accelerator Architecture

Kevin Kiningham, Christopher Ré|arXiv (Cornell University)|Jul 27, 2020
Advanced Graph Neural NetworksComputer Science23 citations
TL;DR

GRIP is a specialized ASIC accelerator architecture for low-latency graph neural network (GNN) inference, leveraging hardware specialization for edge- and vertex-centric computation phases. It achieves a 17× and 23× reduction in 99th percentile latency over CPU and GPU baselines, respectively, while consuming only 5W, through techniques like vertex-tiling and dedicated memory subsystems for weights and nodeflow data.

ABSTRACT

We present GRIP, a graph neural network accelerator architecture designed for low-latency inference. AcceleratingGNNs is challenging because they combine two distinct types of computation: arithmetic-intensive vertex-centric operations and memory-intensive edge-centric operations. GRIP splits GNN inference into a fixed set of edge- and vertex-centric execution phases that can be implemented in hardware. We then specialize each unit for the unique computational structure found in each phase.For vertex-centric phases, GRIP uses a high performance matrix multiply engine coupled with a dedicated memory subsystem for weights to improve reuse. For edge-centric phases, GRIP use multiple parallel prefetch and reduction engines to alleviate the irregularity in memory accesses. Finally, GRIP supports severalGNN optimizations, including a novel optimization called vertex-tiling which increases the reuse of weight data.We evaluate GRIP by performing synthesis and place and route for a 28nm implementation capable of executing inference for several widely-used GNN models (GCN, GraphSAGE, G-GCN, and GIN). Across several benchmark graphs, it reduces 99th percentile latency by a geometric mean of 17x and 23x compared to a CPU and GPU baseline, respectively, while drawing only 5W.

Motivation & Objective

  • To address the high inference latency of GNNs on conventional hardware due to irregular memory access and mixed workloads.
  • To design a specialized accelerator that efficiently handles both arithmetic-intensive vertex-centric operations and memory-intensive edge-centric operations in GNNs.
  • To reduce latency and power consumption for online GNN inference by co-designing algorithm and hardware.
  • To enable efficient execution of diverse GNN models (GCN, GraphSAGE, G-GCN, GIN) on a single hardware platform.

Proposed method

  • GRIP decomposes GNN inference into fixed edge- and vertex-centric execution phases, each implemented with dedicated hardware units.
  • It uses a high-performance matrix multiply engine with a dedicated on-chip memory subsystem for weights to maximize reuse in vertex-centric phases.
  • For edge-centric phases, multiple parallel prefetch and reduction engines handle irregular memory access patterns and improve data locality.
  • Vertex-tiling is introduced as a novel optimization to increase reuse of weight matrices across different vertices during inference.
  • The architecture supports pipelining between nodeflow partitions and preloading of weights between layers to hide latency.
  • A 28nm ASIC implementation is synthesized and place-and-routed, supporting four major GNN models with optimized memory and compute units.

Experimental results

Research questions

  • RQ1Can a hardware accelerator be designed to efficiently handle the dual computational nature of GNNs—vertex-centric arithmetic and edge-centric memory access—simultaneously?
  • RQ2How can irregular memory access patterns in edge-centric GNN operations be mitigated through specialized hardware?
  • RQ3To what extent can algorithmic optimizations like vertex-tiling be accelerated in hardware to improve GNN inference performance?
  • RQ4What performance and energy trade-offs arise when co-designing GNN algorithms with dedicated accelerator hardware?
  • RQ5How does the proposed accelerator compare to general-purpose CPUs and GPUs in terms of latency and power efficiency for real-world GNN workloads?

Key findings

  • GRIP reduces 99th percentile inference latency by a geometric mean of 17× compared to an Intel Xeon CPU across multiple benchmark graphs.
  • GRIP achieves a 23× speedup over an NVIDIA P100 GPU in 99th percentile latency while consuming only 5W of power.
  • The vertex-tiling optimization significantly improves weight reuse, directly contributing to reduced latency and improved energy efficiency.
  • The DRAM bandwidth is the most energy-intensive component, consuming 53.7% of total power, primarily due to high-volume data transfers in the first GCN layer.
  • The TPU+ variant, which uses off-chip weights, achieves only 11.3× speedup, highlighting the benefit of on-chip weight storage as implemented in GRIP.
  • Graphicionado-based baseline with similar configuration achieves only 2.4× speedup due to bottlenecks in weight bandwidth and lack of tiling support.

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.