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

基于GPU的执行路径准备加速GCN训练中的后向聚合

Accelerating Backward Aggregation in GCN Training with Execution Path Preparing on GPUs

Huazhong University of Science and Technology(华中科技大学);Zhejiang Lab(之江实验室)

Shaoxian Xu, Zhiyuan Shao, Ci Yang, Xiaofei Liao, Hai Jin

摘要:

新兴的图卷积网络(GCN)已经在许多领域得到了广泛的应用,如何加快GCN的训练速度以提高应用效率是一个挑战。对于输入真实世界图的稀疏性和爆炸规模,最先进的GCN训练系统(例如,GNNAvisor)采用图形处理技术来加速图形顶点之间的消息交换(即聚合)。然而,这些系统将前向传播阶段和后向传播阶段的聚合阶段都视为不加区别地对输入图的所有顶点进行计算的全活动图处理过程。在本文中,我们首先指出,在一个GCN训练问题与给定的训练集,其向后传播阶段的聚合阶段(本文称为向后聚合)可以转换为部分活动的图形处理过程,进行计算的只有部分顶点的输入图。通过利用这样的发现,我们提出了一种执行路径准备方法,该方法收集和合并在GPU上进行的GCN训练的反向传播期间使用的数据。实验结果表明,与GNNAdvisor相比,该方法在典型真实图上的GCN训练集后向聚合性能提高了1.48倍~ 5.65倍.此外,执行路径准备可以在训练之前(在预处理期间)进行,也可以与训练一起进行。当在预处理过程中使用时,我们的方法将整体GCN训练提高了1.05 x ~ 1.37 x。当实时使用时,我们的方法将整体GCN训练提高了1.03倍~ 1.35倍。

英文摘要:

The emerging Graph Convolutional Network (GCN) has now been widely used in many domains, and it is challenging to improve the efficiencies of applications by accelerating the GCN trainings. For the sparsity nature and exploding scales of input real-world graphs, state-of-the-art GCN training systems (e.g., GNNAdvisor) employ graph processing techniques to accelerate the message exchanging (i.e. aggregations) among the graph vertices. Nevertheless, these systems treat both the aggregation stages of forward and backward propagation phases as all-active graph processing procedures that indiscriminately conduct computation on all vertices of an input graph. In this paper, we first point out that in a GCN training problem with a given training set, the aggregation stages of its backward propagation phase (called as backward aggregations in this paper) can be converted to partially-active graph processing procedures, which conduct computation on only partial vertices of the input graph. By leveraging such a finding, we propose an execution path preparing method that collects and coalesces the data used during backward propagations of GCN training conducted on GPUs. The experimental results show that compared with GNNAdvisor, our approach improves the performance of the backward aggregation of GCN trainings on typical real-world graphs by 1.48x~5.65x. Moreover, the execution path preparing can be conducted either before the training (during preprocessing) or on-the-fly with the training. When used during preprocessing, our approach improves the overall GCN training by 1.05x~1.37x. And when used on-the-fly, our approach improves the overall GCN training by 1.03x~1.35x.

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

↑