Skip to main content
QUICK REVIEW

[Paper Review] EnGN: A High-Throughput and Energy-Efficient Accelerator for Large Graph Neural Networks

Shengwen Liang, Ying Wang|arXiv (Cornell University)|Aug 31, 2019
Advanced Graph Neural NetworksComputer Science41 references9 citations
TL;DR

EnGN is a specialized hardware accelerator that enables high-throughput, energy-efficient inference for large-scale graph neural networks (GNNs) by introducing a novel ring-edge-reduce (RER) dataflow and a reconfigurable PE-array architecture. It achieves up to 1802.9X speedup and 1326.35X higher energy efficiency compared to CPUs, and 2.97X speedup with 6.2X lower energy consumption than the state-of-the-art GCN accelerator HyGCN.

ABSTRACT

Graph neural networks (GNNs) emerge as a powerful approach to process non-euclidean data structures and have been proved powerful in various application domains such as social networks and e-commerce. While such graph data maintained in real-world systems can be extremely large and sparse, thus employing GNNs to deal with them requires substantial computational and memory overhead, which induces considerable energy and resource cost on CPUs and GPUs. In this work, we present a specialized accelerator architecture, EnGN, to enable high-throughput and energy-efficient processing of large-scale GNNs. The proposed EnGN is designed to accelerate the three key stages of GNN propagation, which is abstracted as common computing patterns shared by typical GNNs. To support the key stages simultaneously, we propose the ring-edge-reduce(RER) dataflow that tames the poor locality of sparsely-and-randomly connected vertices, and the RER PE-array to practice RER dataflow. In addition, we utilize a graph tiling strategy to fit large graphs into EnGN and make good use of the hierarchical on-chip buffers through adaptive computation reordering and tile scheduling. Overall, EnGN achieves performance speedup by 1802.9X, 19.75X, and 2.97X and energy efficiency by 1326.35X, 304.43X, and 6.2X on average compared to CPU, GPU, and a state-of-the-art GCN accelerator HyGCN, respectively.

Motivation & Objective

  • To address the high computational and memory overhead of running large-scale, sparse, real-world graphs on CPUs and GPUs for GNNs.
  • To overcome the inefficiency of general-purpose processors in handling the irregular, dynamic data access patterns of GNNs.
  • To design a specialized accelerator that supports diverse GNN architectures beyond GCNs, including GRN and GAT.
  • To optimize data locality and memory hierarchy for power-law distributed graphs with variable vertex feature lengths.
  • To achieve high throughput and energy efficiency through a unified, reconfigurable hardware architecture for all GNN propagation stages.

Proposed method

  • Proposes a ring-edge-reduce (RER) dataflow to manage the poor data locality in sparsely and randomly connected graphs by organizing computation around vertex rings and edge reductions.
  • Designs a reconfigurable RER PE-array that supports dynamic dimension changes across GNN layers and enables high parallelism in feature extraction, aggregation, and update stages.
  • Introduces a graph tiling strategy with adaptive computation reordering and tile scheduling to fit large graphs into on-chip buffers and maximize buffer utilization.
  • Employs a three-level on-chip memory hierarchy (register files, shared buffers, and scratchpads) to reduce off-chip memory access and improve energy efficiency.
  • Uses a systolic-like dataflow pattern within the RER PE-array to efficiently handle dense tensor operations in GNNs while maintaining flexibility for irregular graph access.
  • Tunes the PE-array size (e.g., 32×32) based on model and dataset characteristics to avoid underutilization and maximize throughput.

Experimental results

Research questions

  • RQ1How can a hardware accelerator efficiently support the diverse and irregular dataflow patterns of general GNN models beyond GCNs?
  • RQ2What dataflow and memory access pattern can effectively tame the poor data locality in large, sparse, power-law distributed graphs?
  • RQ3How can on-chip memory hierarchy and task scheduling be co-designed to enable processing of graphs larger than on-chip memory capacity?
  • RQ4What is the performance and energy efficiency gain of a domain-specific accelerator compared to CPUs, GPUs, and existing GNN accelerators?
  • RQ5How does the choice of PE-array size affect resource utilization and throughput in heterogeneous GNN workloads?

Key findings

  • EnGN achieves an average of 1802.9X speedup and 1326.35X higher energy efficiency compared to CPUs across multiple GNN models and datasets.
  • EnGN achieves 19.75X speedup and 304.43X higher energy efficiency compared to GPUs on average.
  • Compared to the state-of-the-art GCN accelerator HyGCN, EnGN delivers 2.97X higher throughput and 6.2X lower energy consumption.
  • The 32×32 PE-array shows no performance gain over baseline due to underutilization when input feature dimensions (e.g., 16) are smaller than column count, indicating the need for adaptive array sizing.
  • Performance speedup on large datasets is lower than on small datasets due to the aggregated stage becoming a bottleneck in larger PE arrays, especially with higher edge-to-vertex ratios.
  • Graph tiling and adaptive scheduling significantly improve buffer utilization and enable efficient processing of graphs that exceed on-chip memory capacity.

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.