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

基于数据分层的图神经网络训练

Graph Neural Network Training with Data Tiering

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Buffalo(布法罗大学);AWS Shanghai AI Lab(AWS上海人工智能实验室);NVIDIA(英伟达)

Seung Won Min, Kun Wu, Mert Hidayetoğlu, Jinjun Xiong, Xiang Song, Wen-mei Hwu

摘要:

图神经网络(GNN)在从图结构数据中学习方面取得了成功,并应用于欺诈检测、推荐和知识图谱推理。然而,有效地训练GNN是具有挑战性的,因为:1)GPU存储器容量有限,并且对于大型数据集可能不足,以及2)基于图形的数据结构导致不规则的数据访问模式。在这项工作中,我们提供了一种方法来统计分析和识别GNN训练之前更频繁访问的数据。我们的数据分层方法不仅利用了输入图的结构,还利用了从实际GNN训练过程中获得的洞察力,以实现更高的预测结果。通过我们的数据分层方法,我们还提供了一种新的数据放置和访问策略,以进一步减少CPU-GPU通信开销。我们还考虑了多GPU GNN训练,并在多GPU系统中证明了我们的策略的有效性。评估结果表明,我们的工作将CPU-GPU流量减少了87 - 95%,并将GNN的训练速度提高了1.6 - 2.1倍,而现有的解决方案具有数亿个节点和数十亿条边。

英文摘要:

Graph Neural Networks (GNNs) have shown success in learning from graph-structured data, with applications to fraud detection, recommendation, and knowledge graph reasoning. However, training GNN efficiently is challenging because: 1) GPU memory capacity is limited and can be insufficient for large datasets, and 2) the graph-based data structure causes irregular data access patterns. In this work, we provide a method to statistical analyze and identify more frequently accessed data ahead of GNN training. Our data tiering method not only utilizes the structure of input graph, but also an insight gained from actual GNN training process to achieve a higher prediction result. With our data tiering method, we additionally provide a new data placement and access strategy to further minimize the CPU-GPU communication overhead. We also take into account of multi-GPU GNN training as well and we demonstrate the effectiveness of our strategy in a multi-GPU system. The evaluation results show that our work reduces CPU-GPU traffic by 87-95% and improves the training speed of GNN over the existing solutions by 1.6-2.1x on graphs with hundreds of millions of nodes and billions of edges.

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

↑