arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.13532cs.AR
收藏

SCV-GNN:基于稀疏压缩向量的图神经网络聚合

SCV-GNN: Sparse Compressed Vector-based Graph Neural Network Aggregation

Nanda K. Unnikrishnan, Joe Gould, Keshab K. Parhi

AI总结:

针对GNN邻接矩阵超稀疏导致的硬件效率问题,本文提出SCV稀疏压缩向量格式及SCV-GNN聚合架构,利用Z-Morton排序增强数据局部性,显著提升推理速度并降低内存流量。

摘要:

图神经网络(GNN)已成为处理通信网络、分子相互作用、化学、社交网络和神经科学等领域中基于图的数据的强大工具。GNN的特点是其邻接矩阵具有超稀疏性质,这就需要开发超越通用稀疏矩阵乘法器的专用硬件。尽管已有大量关于设计GNN专用硬件加速器的研究,但很少有研究深入探讨稀疏存储格式对GNN加速器效率的影响。本文提出了SCV-GNN,它采用为聚合操作优化的新型稀疏压缩向量(SCV)格式。我们使用Z-Morton排序来推导基于数据局部性的计算排序和分区方案。本文还介绍了所提出的SCV-GNN如何在向量处理系统上实现可扩展性。在多个数据集上的实验结果表明,与CSC和CSR聚合操作相比,所提方法分别实现了7.96倍和7.04倍的几何平均加速。与压缩稀疏列(CSC)和压缩稀疏行(CSR)相比,所提方法还将内存流量分别降低了3.29倍和4.37倍。因此,所提出的新型聚合格式降低了GNN推理的延迟和内存访问。

英文摘要:

Graph neural networks (GNNs) have emerged as a powerful tool to process graph-based data in fields like communication networks, molecular interactions, chemistry, social networks, and neuroscience. GNNs are characterized by the ultra-sparse nature of their adjacency matrix that necessitates the development of dedicated hardware beyond general-purpose sparse matrix multipliers. While there has been extensive research on designing dedicated hardware accelerators for GNNs, few have extensively explored the impact of the sparse storage format on the efficiency of the GNN accelerators. This paper proposes SCV-GNN with the novel sparse compressed vectors (SCV) format optimized for the aggregation operation. We use Z-Morton ordering to derive a data-locality-based computation ordering and partitioning scheme. The paper also presents how the proposed SCV-GNN is scalable on a vector processing system. Experimental results over various datasets show that the proposed method achieves a geometric mean speedup of $7.96\times$ and $7.04\times$ over CSC and CSR aggregation operations, respectively. The proposed method also reduces the memory traffic by a factor of $3.29\times$ and $4.37\times$ over compressed sparse column (CSC) and compressed sparse row (CSR), respectively. Thus, the proposed novel aggregation format reduces the latency and memory access for GNN inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑