[Paper Review] GDR-HGNN: A Heterogeneous Graph Neural Networks Accelerator Frontend with Graph Decoupling and Recoupling
This paper proposes GDR-HGNN, a hardware frontend for heterogeneous graph neural network (HGNN) accelerators that reduces buffer thrashing through dynamic graph restructuring via graph decoupling and recoupling. By enhancing data locality and enabling seamless pipeline processing, GDR-HGNN achieves an average 14.6× speedup over A100 GPU and 1.78× over the baseline HiHGNN accelerator, significantly reducing DRAM accesses and improving bandwidth utilization with minimal area and power overhead.
Heterogeneous Graph Neural Networks (HGNNs) have broadened the applicability of graph representation learning to heterogeneous graphs. However, the irregular memory access pattern of HGNNs leads to the buffer thrashing issue in HGNN accelerators. In this work, we identify an opportunity to address buffer thrashing in HGNN acceleration through an analysis of the topology of heterogeneous graphs. To harvest this opportunity, we propose a graph restructuring method and map it into a hardware frontend named GDR-HGNN. GDR-HGNN dynamically restructures the graph on the fly to enhance data locality for HGNN accelerators. Experimental results demonstrate that, with the assistance of GDR-HGNN, a leading HGNN accelerator achieves an average speedup of 14.6 times and 1.78 times compared to the state-of-the-art software framework running on A100 GPU and itself, respectively.
Motivation & Objective
- To address the buffer thrashing issue in HGNN accelerators caused by irregular memory access patterns.
- To identify a hardware-optimization opportunity through topological analysis of semantic graphs in heterogeneous graphs.
- To design a lightweight hardware frontend that restructures graphs on-the-fly to improve data locality and reduce DRAM accesses.
- To integrate the frontend into existing accelerators without compromising pipeline efficiency or introducing significant area/power overhead.
Proposed method
- Proposes a graph decoupling phase that splits each semantic graph into edge-disjoint components with no shared vertices.
- Introduces a graph recoupling phase that identifies a vertex group such that every original edge shares at least one vertex with the group.
- Restructures the original semantic graph into multiple subgraphs, each centered on a vertex group, to create strong community structures.
- Designs a hardware frontend (GDR-HGNN) with a decoupler and recoupler to perform on-the-fly graph restructuring before acceleration.
- Integrates the frontend into the accelerator pipeline to maintain continuous data flow and reduce buffer replacements.
- Uses minimal buffers to store edge and vertex indices, keeping area and power overhead low (2.30% and 0.46% respectively on TSMC 12nm).
Experimental results
Research questions
- RQ1Can the bipartite topology of semantic graphs in HGNNs be exploited to reduce buffer thrashing in accelerators?
- RQ2How can graph restructuring improve data locality and reduce DRAM accesses in HGNN workloads?
- RQ3What is the performance and hardware overhead of integrating a dynamic graph restructuring frontend into an existing HGNN accelerator?
- RQ4Can the proposed method maintain high bandwidth utilization while reducing redundant memory accesses?
Key findings
- GDR-HGNN achieves an average 14.6× speedup over the state-of-the-art software framework running on A100 GPU.
- The integration of GDR-HGNN with the HiHGNN accelerator yields a 1.78× speedup over HiHGNN alone.
- DRAM accesses are reduced to 4.8% of T4 GPU, 8.7% of A100 GPU, and 57.1% of HiHGNN, confirming reduced memory traffic.
- DRAM bandwidth utilization improves by 2.58× over T4 GPU and 6.35× over A100 GPU, demonstrating efficient memory usage.
- The hardware frontend incurs only 2.30% area and 0.46% power overhead when combined with HiHGNN on TSMC 12nm technology.
- The performance gain stems from improved data locality and uninterrupted pipeline utilization due to structured subgraph processing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.