SVR: A Shard-aware Vertex Reordering Method for Efficient GNN Execution and Memory Access

Xingyuan Hu,Zhuang Shao,Chenjia Xie,Li Du,Yuan Du
DOI: https://doi.org/10.1109/isocc56007.2022.10031440
2022-01-01
Abstract:Graph neural networks (GNNs) appear to be a powerful approach to analyzing non-euclidean data structures and achieving unprecedented performance on graph processing tasks. However, due to the inherent randomness and sparsity of graph structures, GNNs require irregular execution and memory access patterns. This paper proposed a lightweight shard-aware vertex reordering (SVR) algorithm to exploit data reuse and reduce memory access based on the adjacency of vertices. The vertices are divided into fixed-size groups and the vertex indices are updated in each group according to their adjacency relationship. The preprocessed dataset has fewer shards with any non-zero element and the sparsity is significantly decreased. The SVR algorithm can be used as a preprocessing extension to current GNN accelerators, improving performance without changing existing data flow. The proposed SVR is implemented to the baseline HyGCN and EnGN architecture for evaluation and we achieve an additional 1.43x memory access reduction on average in the aggregation phase and up to 2.52x sparsity reduction in the effectual shards.
What problem does this paper attempt to address?