arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.15510cs.ARcs.DCcs.LGcs.NE
收藏

NeuraChip:使用基于哈希的解耦空间加速器加速GNN计算

NeuraChip: Accelerating GNN Computations with a Hash-based Decoupled Spatial Accelerator

Northeastern University(东北大学);KAIST(韩国科学技术院);Universidad de Murcia(穆尔西亚大学);Boston University(波士顿大学)

Kaustubh Shivdikar, Nicolas Bohm Agostini, Malith Jayaweera, Gilbert Jonatan, Jose L. Abellan, Ajay Joshi, John Kim, David Kaeli

AI总结:

提出基于Gustavson算法的GNN空间加速器NeuraChip,通过解耦稀疏矩阵乘法计算、滚动逐出策略和动态重置种子的哈希映射实现负载均衡,显著提升了计算速度并开源了模拟器NeuraSim。

摘要:

图神经网络(GNNs)正成为处理从社交网络分析到生物信息学等各个领域中非欧几里得数据的强大工具。尽管它们很有效,但由于与大规模图数据集相关的可扩展性挑战,特别是在利用消息传递时,它们的采用尚未普及。为了应对这些挑战,我们引入了NeuraChip,一种基于Gustavson算法的新型GNN空间加速器。NeuraChip将稀疏矩阵乘法中的乘法和加法计算解耦。这种分离允许独立利用其独特的数据依赖性,从而促进高效的资源分配。我们引入了一种滚动逐出策略,以缓解片上存储器中的数据闲置问题,并解决稀疏图计算中普遍存在的内存膨胀问题。此外,通过动态重置种子的基于哈希的映射实现了计算资源负载均衡,确保独立于稀疏模式的计算资源均匀利用。最后,我们提出了NeuraSim,一个开源、周期精确、多线程、模块化的模拟器,用于全面的性能分析。总体而言,NeuraChip呈现出显著的改进,与Intel的MKL相比平均加速22.1倍,与NVIDIA的cuSPARSE相比加速17.1倍,与AMD的hipSPARSE相比加速16.7倍,与先前最先进的SpGEMM加速器相比加速1.5倍,与GNN加速器相比加速1.3倍。我们开源模拟器和性能可视化工具的源代码已在GitHub上公开。

英文摘要:

Graph Neural Networks (GNNs) are emerging as a formidable tool for processing non-euclidean data across various domains, ranging from social network analysis to bioinformatics. Despite their effectiveness, their adoption has not been pervasive because of scalability challenges associated with large-scale graph datasets, particularly when leveraging message passing. To tackle these challenges, we introduce NeuraChip, a novel GNN spatial accelerator based on Gustavson's algorithm. NeuraChip decouples the multiplication and addition computations in sparse matrix multiplication. This separation allows for independent exploitation of their unique data dependencies, facilitating efficient resource allocation. We introduce a rolling eviction strategy to mitigate data idling in on-chip memory as well as address the prevalent issue of memory bloat in sparse graph computations. Furthermore, the compute resource load balancing is achieved through a dynamic reseeding hash-based mapping, ensuring uniform utilization of computing resources agnostic of sparsity patterns. Finally, we present NeuraSim, an open-source, cycle-accurate, multi-threaded, modular simulator for comprehensive performance analysis. Overall, NeuraChip presents a significant improvement, yielding an average speedup of 22.1x over Intel's MKL, 17.1x over NVIDIA's cuSPARSE, 16.7x over AMD's hipSPARSE, and 1.5x over prior state-of-the-art SpGEMM accelerator and 1.3x over GNN accelerator. The source code for our open-sourced simulator and performance visualizer is publicly accessible on GitHub https://neurachip.us

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

↑