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

GNNear:利用近记忆处理加速图神经网络的全批训练

GNNear: Accelerating Full-Batch Training of Graph Neural Networks with Near-Memory Processing

Peking University(北京大学);Alibaba Group(阿里巴巴集团);Beijing Advanced Innovation Center for Integrated Circuits(北京集成电路高精尖创新中心)

Zhe Zhou, Cong Li, Xuechao Wei, Xiaoyang Wang, Guangyu Sun

摘要:

最近,图神经网络(GNN)已经成为分析非欧几里德图数据的最先进的算法。然而,实现有效的GNN训练是具有挑战性的,特别是在大型图上。原因有很多:1)GNN训练会占用大量内存。在大型图上进行全批训练甚至需要数百到数千GB的内存。2)GNN训练涉及内存密集型和计算密集型操作,挑战当前的CPU/GPU平台。3)图形的不规则性会导致严重的资源利用不足和负载不平衡问题。本文提出了一个GNNear加速器来应对这些挑战。GNNear采用基于DIMM的存储系统,提供足够的存储容量。为了匹配GNN训练的异构性,我们将内存密集型Reduce操作卸载到DIMM内的Near-Memory-Engines(NME),充分利用高聚合本地带宽。我们采用了一个集中加速引擎(CAE)来处理计算密集型的更新操作。我们进一步提出了几种优化策略来处理输入图的不规则性,提高GNNear的性能。通过对16个GNN训练任务的综合评估,GNNear与Xeon E5-2698-v4 CPU和NVIDIA V100 GPU相比,实现了30.8 $\times$ /2.5 $\times$几何平均加速比和79.6 $\times$ /7.3 $\times$(几何平均)能效提升。

英文摘要:

Recently, Graph Neural Networks (GNNs) have become state-of-the-art algorithms for analyzing non-euclidean graph data. However, to realize efficient GNN training is challenging, especially on large graphs. The reasons are many-folded: 1) GNN training incurs a substantial memory footprint. Full-batch training on large graphs even requires hundreds to thousands of gigabytes of memory. 2) GNN training involves both memory-intensive and computation-intensive operations, challenging current CPU/GPU platforms. 3) The irregularity of graphs can result in severe resource under-utilization and load-imbalance problems. This paper presents a GNNear accelerator to tackle these challenges. GNNear adopts a DIMM-based memory system to provide sufficient memory capacity. To match the heterogeneous nature of GNN training, we offload the memory-intensive Reduce operations to in-DIMM Near-Memory-Engines (NMEs), making full use of the high aggregated local bandwidth. We adopt a Centralized-Acceleration-Engine (CAE) to process the computation-intensive Update operations. We further propose several optimization strategies to deal with the irregularity of input graphs and improve GNNear's performance. Comprehensive evaluations on 16 GNN training tasks demonstrate that GNNear achieves 30.8$\times$/2.5$\times$ geomean speedup and 79.6$\times$/7.3$\times$(geomean) higher energy efficiency compared to Xeon E5-2698-v4 CPU and NVIDIA V100 GPU.

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

↑