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

EnGN:一种面向大型图神经网络的高吞吐量且高能效的加速器

EnGN: A High-Throughput and Energy-Efficient Accelerator for Large Graph Neural Networks

Shengwen Liang, Ying Wang, Cheng Liu, Lei He, Huawei Li, Xiaowei Li

AI总结:

本文提出专用加速器EnGN,通过RER数据流和图分块策略解决大规模图神经网络计算与内存开销问题,性能和能效显著优于CPU、GPU及HyGCN。

摘要:

图神经网络(GNNs)已成为处理非欧几里得数据结构的强大方法,并已在社交网络和电子商务等多个应用领域展现出强大能力。然而,现实系统中维护的此类图数据可能极其庞大且稀疏,因此采用GNNs处理它们需要大量的计算和内存开销,从而在CPU和GPU上引发可观的能耗与资源成本。在这项工作中,我们提出了一种专用加速器架构EnGN,以实现大规模GNNs的高吞吐量和高能效处理。提出的EnGN旨在加速GNN传播的三个关键阶段,这些阶段被抽象为典型GNNs共享的通用计算模式。为了同时支持这些关键阶段,我们提出了ring-edge-reduce(RER)数据流来驯服稀疏且随机连接顶点的局部性差问题,并提出RER PE阵列来实践RER数据流。此外,我们利用图分块策略将大图适配到EnGN中,并通过自适应计算重排序和分块调度充分利用片上分层缓存。总体而言,与CPU、GPU以及最先进的GCN加速器HyGCN相比,EnGN平均实现了1802.9倍、19.75倍和2.97倍的性能加速,以及1326.35倍、304.43倍和6.2倍的能效提升。

英文摘要:

Graph neural networks (GNNs) emerge as a powerful approach to process non-euclidean data structures and have been proved powerful in various application domains such as social networks and e-commerce. While such graph data maintained in real-world systems can be extremely large and sparse, thus employing GNNs to deal with them requires substantial computational and memory overhead, which induces considerable energy and resource cost on CPUs and GPUs. In this work, we present a specialized accelerator architecture, EnGN, to enable high-throughput and energy-efficient processing of large-scale GNNs. The proposed EnGN is designed to accelerate the three key stages of GNN propagation, which is abstracted as common computing patterns shared by typical GNNs. To support the key stages simultaneously, we propose the ring-edge-reduce(RER) dataflow that tames the poor locality of sparsely-and-randomly connected vertices, and the RER PE-array to practice RER dataflow. In addition, we utilize a graph tiling strategy to fit large graphs into EnGN and make good use of the hierarchical on-chip buffers through adaptive computation reordering and tile scheduling. Overall, EnGN achieves performance speedup by 1802.9X, 19.75X, and 2.97X and energy efficiency by 1326.35X, 304.43X, and 6.2X on average compared to CPU, GPU, and a state-of-the-art GCN accelerator HyGCN, respectively.

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

↑