Skip to main content
QUICK REVIEW

[Paper Review] GenGNN: A Generic FPGA Framework for Graph Neural Network Acceleration

Stefan Abi-Karam, Yuqi He|arXiv (Cornell University)|Jan 20, 2022
Advanced Memory and Neural ComputingEngineering9 citations
TL;DR

GenGNN is a generic, open-source FPGA framework for accelerating diverse Graph Neural Network (GNN) models using High-Level Synthesis (HLS), enabling real-time inference without graph pre-processing. It achieves up to 25× speed-up over CPU and 13× over GPU by combining a unified message-passing architecture with model-specific components for GCN, GIN, GAT, PNA, DGN, and VN models.

ABSTRACT

Graph neural networks (GNNs) have recently exploded in popularity thanks to their broad applicability to ubiquitous graph-related problems such as quantum chemistry, drug discovery, and high energy physics. However, meeting demand for novel GNN models and fast inference simultaneously is challenging because of the gap between the difficulty in developing efficient FPGA accelerators and the rapid pace of creation of new GNN models. Prior art focuses on the acceleration of specific classes of GNNs but lacks the generality to work across existing models or to extend to new and emerging GNN models. In this work, we propose a generic GNN acceleration framework using High-Level Synthesis (HLS), named GenGNN, with two-fold goals. First, we aim to deliver ultra-fast GNN inference without any graph pre-processing for real-time requirements. Second, we aim to support a diverse set of GNN models with the extensibility to flexibly adapt to new models. The framework features an optimized message-passing structure applicable to all models, combined with a rich library of model-specific components. We verify our implementation on-board on the Xilinx Alveo U50 FPGA and observe a speed-up of up to 25x against CPU (6226R) baseline and 13x against GPU (A6000) baseline. Our HLS code will be open-source on GitHub upon acceptance.

Motivation & Objective

  • Address the lack of generic, extensible FPGA accelerators for rapidly evolving GNN models.
  • Enable real-time GNN inference by eliminating the need for graph pre-processing or partitioning.
  • Support a broad range of existing and emerging GNN architectures, including those not expressible as sparse matrix multiplications.
  • Provide an open-source, reusable framework with hardware-optimized components for rapid deployment on FPGAs.
  • Achieve high performance across diverse GNN models while maintaining flexibility for future model extensions.

Proposed method

  • Design a generic message-passing architecture applicable to all GNN models, abstracting the core computation pattern.
  • Implement model-specific components in HLS to handle unique operations such as attention, edge embeddings, and directional aggregation.
  • Utilize streaming-based pipelining to overlap node embedding and message passing computation, reducing latency and memory usage.
  • Integrate a zero-preprocessing pipeline that directly consumes raw input graphs, enabling real-time processing.
  • Leverage High-Level Synthesis (HLS) to generate efficient, synthesizable C++ code for Xilinx Alveo U50 FPGA deployment.
  • Extend the framework to support large graphs via on-chip memory management and off-chip data streaming.

Experimental results

Research questions

  • RQ1Can a single FPGA framework achieve high performance across diverse GNN models without requiring model-specific hardware re-architecting?
  • RQ2To what extent can streaming-based pipelining reduce latency in GNN inference without increasing memory footprint?
  • RQ3How effective is the framework in enabling real-time GNN inference with zero graph pre-processing for dynamic or irregular graph workloads?
  • RQ4What performance gains does the framework achieve over CPU and GPU baselines across multiple GNN models and datasets?
  • RQ5Can the framework scale to large graphs that exceed on-chip memory capacity while maintaining high throughput?

Key findings

  • GenGNN achieves up to 25.96× speed-up over CPU and 25.96× over GPU on the MolHIV dataset for the DGN model, demonstrating its effectiveness in accelerating complex GNNs.
  • On the MolPCBA dataset, GenGNN achieves 17.66× speed-up over GPU and 9.69× over CPU, confirming consistent performance gains across diverse models.
  • The streaming-based pipelining technique reduces latency by up to 1.92× compared to non-pipelined execution, with higher gains observed in graphs with imbalanced node and message processing latencies.
  • GenGNN achieves 1.49–1.95× speed-up over CPU and 2.44× over GPU on the Cora graph, showing scalability to large graphs with on-chip memory constraints.
  • The framework supports six GNN models—GCN, GIN, GAT, PNA, DGN, and VN—without requiring re-architecture, proving its generality and extensibility.
  • The open-source release of the HLS code on GitHub enables reproducibility and future extension by the research community.

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.