arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.08403cs.DCcs.LG
收藏

面向高效大规模图神经网络计算

Towards Efficient Large-Scale Graph Neural Network Computing

Peking University(北京大学);Microsoft Research(微软研究院)

Lingxiao Ma, Zhi Yang, Youshan Miao, Jilong Xue, Ming Wu, Lidong Zhou, Yafei Dai

摘要:

最近的深度学习模型已经超越了图像、视频和语音等低维规则网格,转向了高维图形结构数据,如社交网络、大脑连接和知识图谱。这种演变导致了基于图的大型不规则和稀疏模型,这些模型超出了现有深度学习框架的设计目标。此外,这些模型不容易在并行硬件(例如GPU)上进行有效的大规模加速。我们介绍NGra,这是第一个基于图的深度神经网络(GNNs)的并行处理框架。NGra提出了一种新的SAGA-NN模型,用于将深度神经网络表示为顶点程序,每一层都处于明确定义的(Scatter,ApplyEdge,Gather,ApplyVertex)图操作阶段。该模型不仅允许直观地表达GNN,而且还有助于映射到有效的递归表示。NGra通过自动图形分区和GPU核心外或多个GPU上的基于块的流处理透明地解决了可扩展性挑战,它仔细考虑了数据局部性,数据移动以及并行处理和数据移动的重叠。NGra通过GPU上高度优化的Scatter/Gather运算符进一步实现了效率,尽管它是稀疏的。我们的评估表明,NGra可以扩展到现有框架都无法直接处理的大型真实图,同时即使在TensorFlow上的多基线设计的小规模下也可以实现高达4倍的加速。

英文摘要:

Recent deep learning models have moved beyond low-dimensional regular grids such as image, video, and speech, to high-dimensional graph-structured data, such as social networks, brain connections, and knowledge graphs. This evolution has led to large graph-based irregular and sparse models that go beyond what existing deep learning frameworks are designed for. Further, these models are not easily amenable to efficient, at scale, acceleration on parallel hardwares (e.g. GPUs). We introduce NGra, the first parallel processing framework for graph-based deep neural networks (GNNs). NGra presents a new SAGA-NN model for expressing deep neural networks as vertex programs with each layer in well-defined (Scatter, ApplyEdge, Gather, ApplyVertex) graph operation stages. This model not only allows GNNs to be expressed intuitively, but also facilitates the mapping to an efficient dataflow representation. NGra addresses the scalability challenge transparently through automatic graph partitioning and chunk-based stream processing out of GPU core or over multiple GPUs, which carefully considers data locality, data movement, and overlapping of parallel processing and data movement. NGra further achieves efficiency through highly optimized Scatter/Gather operators on GPUs despite its sparsity. Our evaluation shows that NGra scales to large real graphs that none of the existing frameworks can handle directly, while achieving up to about 4 times speedup even at small scales over the multiple-baseline design on TensorFlow.

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

↑