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

GNNFlow:一种用于动态图上连续时序GNN学习的分布式框架

GNNFlow: A Distributed Framework for Continuous Temporal GNN Learning on Dynamic Graphs

The University of Hong Kong(香港大学);AWS Shanghai AI Lab(AWS上海人工智能实验室)

Yuchen Zhong, Guangming Sheng, Tianzuo Qin, Minjie Wang, Quan Gan, Chuan Wu

AI总结:

本文提出分布式框架GNNFlow,通过时间索引分块数据结构、GPU-CPU混合数据放置和动态GPU缓存,在多GPU机器上实现动态图的高效连续时序GNN学习,速度最高提升21.1倍。

摘要:

图神经网络(GNNs)在各个领域发挥着至关重要的作用。然而,现有的大多数深度图学习框架都假设预先存储的静态图,并不支持在图流上进行训练。相比之下,许多现实世界中的图是动态的,并且包含时间域信息。我们提出了GNNFlow,这是一个分布式框架,能够在多GPU机器上对动态图进行高效的连续时序图表示学习。GNNFlow引入了一种自适应的基于时间索引的分块数据结构,能够有效平衡内存使用与图更新和采样操作的效率。它采用混合GPU-CPU图数据放置策略,以实现基于GPU的快速时序邻域采样,并通过内核优化来增强采样过程。此外,还开发了一个用于节点和边特征的动态GPU缓存,通过重用和恢复策略最大化缓存命中率。GNNFlow支持跨多台机器进行分布式训练,并通过静态调度确保负载均衡。我们基于DGL和PyTorch实现了GNNFlow。实验结果表明,与现有系统相比,GNNFlow的连续学习速度最高可提升21.1倍。

英文摘要:

Graph Neural Networks (GNNs) play a crucial role in various fields. However, most existing deep graph learning frameworks assume pre-stored static graphs and do not support training on graph streams. In contrast, many real-world graphs are dynamic and contain time domain information. We introduce GNNFlow, a distributed framework that enables efficient continuous temporal graph representation learning on dynamic graphs on multi-GPU machines. GNNFlow introduces an adaptive time-indexed block-based data structure that effectively balances memory usage with graph update and sampling operation efficiency. It features a hybrid GPU-CPU graph data placement for rapid GPU-based temporal neighborhood sampling and kernel optimizations for enhanced sampling processes. A dynamic GPU cache for node and edge features is developed to maximize cache hit rates through reuse and restoration strategies. GNNFlow supports distributed training across multiple machines with static scheduling to ensure load balance. We implement GNNFlow based on DGL and PyTorch. Our experimental results show that GNNFlow provides up to 21.1x faster continuous learning than existing systems.

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

↑