SVR: A Shard-aware Vertex Reordering Method for Efficient GNN Execution and Memory Access
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.
BibTeX
@inproceedings{hu2022svr,
author = {Xingyuan Hu and Zhuang Shao and Chenjia Xie and Li Du and Yuan Du},
title = {{SVR: A Shard-aware Vertex Reordering Method for Efficient GNN Execution and Memory Access}},
booktitle = {ISOCC},
year = {2022},
url = {https://openreview.net/forum?id=DvnrE7dWej},
}Ask Althea to put this paper to the test.
Loading related content...