arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.03707cs.LGcs.SIstat.ML
收藏

图神经网络的无冗余计算图

Redundancy-Free Computation Graphs for Graph Neural Networks

Stanford University(斯坦福大学);Microsoft(微软)

Zhihao Jia, Sina Lin, Rex Ying, Jiaxuan You, Jure Leskovec, Alex Aiken

摘要:

图神经网络(GNN)基于图中节点邻居之间的信息的重复聚合。然而,由于公共邻居在不同节点之间共享,这导致重复和低效的计算。我们提出了分层聚合计算图(HAGs),这是一种新的GNN图表示,通过分层管理中间聚合结果,消除GNN训练和推理中的重复计算和不必要的数据传输,显式地避免了冗余。我们引入了一个精确的成本函数来定量评估不同的HAGs的运行时性能,并使用一种新的HAG搜索算法来找到优化的HAGs。实验表明,HAG表示显著优于标准GNN图表示,将端到端训练吞吐量提高了2.8倍,并将GNN训练中的聚合和数据传输减少了6.3倍和5.6倍,同时保持了原始模型的准确性。

英文摘要:

Graph Neural Networks (GNNs) are based on repeated aggregations of information across nodes' neighbors in a graph. However, because common neighbors are shared between different nodes, this leads to repeated and inefficient computations. We propose Hierarchically Aggregated computation Graphs (HAGs), a new GNN graph representation that explicitly avoids redundancy by managing intermediate aggregation results hierarchically, eliminating repeated computations and unnecessary data transfers in GNN training and inference. We introduce an accurate cost function to quantitatively evaluate the runtime performance of different HAGs and use a novel HAG search algorithm to find optimized HAGs. Experiments show that the HAG representation significantly outperforms the standard GNN graph representation by increasing the end-to-end training throughput by up to 2.8x and reducing the aggregations and data transfers in GNN training by up to 6.3x and 5.6x, while maintaining the original model accuracy.

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

↑