Gator: Accelerating Graph Attention Networks by Jointly Optimizing Attention and Graph Processing
Graph attention networks (GATs) have advanced performance in various application domains by introducing the attention mechanism into the graph neural networks (GNNs). The inefficiency of running GATs on CPUs or GPUs necessitates specialized hardware designs. Unfortunately, previous specialized architecture designs have focused on either the GNN architecture or the attention mechanism, resulting in limited performance and leaving ample room for improvement. This article presents Gator , a joint optimization approach with software–hardware co-designs for GAT inference. On the software level, Gator leverages degree-weighted graph partitioning and parameter-adaptive feature selection techniques to preprocess the input graph data, mining subgraph-level parallelism and mitigating the computation bottleneck of the dedicated dataflow. On the hardware level, Gator designs a unified processing engine to support various kernels by extracting a common computation pattern and a dimension-aware microarchitecture for efficient partial sum reduction. Extensive experiments show that our approach can achieve 11.5× more efficiency compared to NVIDIA RTX 4090 and provide a speedup of 3× to 9.4×, along with a 2.6× to 4.7× reduction in memory traffic, when compared to six state-of-the-art methods, with minimal accuracy loss.
Authors
- Xiaobo Lu (ORCID: https://orcid.org/0009-0005-2673-8673)
- Tiejun Li (ORCID: https://orcid.org/0000-0003-3381-3027)
- Jianbin Fang (ORCID: https://orcid.org/0000-0003-3542-4869)
- Chun Huang (ORCID: https://orcid.org/0000-0002-0317-8192)
- Peng Lin (ORCID: https://orcid.org/0000-0002-6828-3364)
- Zixiao Yu
Institutions
- National University of Defense Technology (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-03-08
- DOI
- https://doi.org/10.1145/3722219
- Citations
- 1
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.73