Characterizing the Communication Requirements of GNN Accelerators: A Model-Based Approach

Robert Guirado, Akshay Jain, Sergi Abadal, Eduard Alarcón · DOI

Abstract

Relational data present in real world graph representations demands for tools capable to study it accurately. In this regard Graph Neural Network (GNN) is a powerful tool, wherein various models for it have also been developed over the past decade. Recently, there has been a significant push towards creating accelerators that speed up the inference and training process of GNNs. These accelerators, however, do not delve into the impact of their dataflows on the overall data movement and, hence, on the communication requirements. In this paper, we formulate analytical models that capture the amount of data movement in the most recent GNN accelerator frameworks. Specifically, the proposed models capture the dataflows and hardware setup of these accelerator designs and expose their scalability characteristics for a set of hardware, GNN model and input graph parameters. Additionally, the proposed approach provides means for the comparative analysis of the vastly different GNN accelerators.

Introduction

Graph Neural Networks (GNNs) have emerged as essential tools for analyzing complex relational data, ranging from social networks to molecular structures. However, accelerating GNNs presents unique challenges compared to standard deep learning models. GNN workloads alternate between dense feature transformations and extremely sparse, irregular neighbor aggregations. While custom hardware accelerators have been developed to address these challenges, most evaluations focus on high-level metrics like throughput. There is a critical gap in understanding the underlying data movement—the flow of information between memory hierarchies and processing elements (PEs)—which often dominates energy consumption and dictates interconnect requirements.

Analytical Modeling of GNN Accelerators

To bridge this gap, this work introduces a parametric analytical modeling framework designed to quantify data movement in state-of-the-art GNN accelerators. The study focuses on two prominent architectures: EnGN and HyGCN.

Architectural overview of EnGN (left) and HyGCN (right) accelerators modeled in this study.

Methodology

Instead of relying on time-intensive cycle-accurate simulations, the authors formulated equations to calculate total bits moved and iteration counts across various execution stages, including vertex/edge loading, aggregation, and combination. The models incorporate:

  • Graph Parameters: Number of vertices ($K$), edges ($P$), and feature vector dimensions ($N, T$).
  • Architectural Parameters: PE array dimensions ($M$), memory bandwidth ($B$), and bit precision ($\sigma$).

To evaluate these models across a broad design space, the study utilizes synthetic parametric workloads. By varying vertex counts ($K$) from 50 to 7,500 and maintaining a connectivity ratio ($P = 10 \cdot K$), the researchers can observe fundamental scaling trends independent of specific dataset biases.

Key Insights and Results

The modeling reveals that the "Aggregation" phase—where neighbor data is gathered—is frequently the primary bottleneck. In the EnGN architecture, this phase can move ten times more data than the initial vertex loading due to its internal "ring-edge-reduce" strategy.

The PE Array "Sweet Spot"

A critical finding is the existence of an optimal PE array size relative to the graph tile size. As shown in the analysis of EnGN, if the PE array is too small to accommodate the tile's data, the number of required iterations spikes, leading to increased latency.

Impact of PE array size on the number of iterations, identifying underutilized and PE-limited regions.

Comparative Analysis: EnGN vs. HyGCN

The models highlight significant differences in how these architectures handle data:

  • Data Volume: HyGCN generally moves more data than EnGN because its dual-engine design necessitates frequent reads and writes to intermediate L2 aggregation buffers.
  • Bandwidth Sensitivity: HyGCN is more sensitive to memory bandwidth, hitting performance saturation points quickly. In contrast, EnGN manages more data movement locally within the L1/PE level.
  • Scaling: While both architectures scale linearly with vertex count ($K$), HyGCN exhibits a much steeper slope, indicating higher communication overhead per node.

Conclusion and Future Work

This analytical approach provides a roadmap for hardware designers to optimize GNN accelerators by identifying where high-bandwidth interconnects are most needed. While the current model focuses on single-tile processing and uniform connectivity, future iterations will incorporate multi-tile data reuse and the irregular "power-law" distributions typical of real-world graphs. Validating these models against emerging cycle-accurate simulators remains a priority for future research.

Summary updated

BibTeX
@inproceedings{guirado2021characterizing,
  author = {Robert Guirado and Akshay Jain and Sergi Abadal and Eduard Alarcón},
  title = {{Characterizing the Communication Requirements of GNN Accelerators: A Model-Based Approach}},
  booktitle = {ISCAS},
  year = {2021},
  url = {https://openreview.net/forum?id=qwQYtdeNfv},
}
Figure