arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.08541cs.LGcs.DC
收藏

BGL:通过优化图形数据I/O和预处理实现GPU高效的GNN训练

BGL: GPU-Efficient GNN Training by Optimizing Graph Data I/O and Preprocessing

Tsinghua University(清华大学);The University of Hong Kong(香港大学);ByteDance(字节跳动);Cornell University(康奈尔大学)

Tianfeng Liu, Yangrui Chen, Dan Li, Chuan Wu, Yibo Zhu, Jun He, Yanghua Peng, Hongzheng Chen, Hongzhi Chen, Chuanxiong Guo

摘要:

图神经网络(GNN)将深度神经网络(DNN)的成功扩展到非欧几里德图数据,在节点分类和图属性预测等各种任务上实现了突破性的性能。尽管如此,现有的系统对于用GPU训练具有数十亿个节点和边的大型图是低效的。主要的瓶颈是为GPU准备数据的过程-子图采样和特征检索。本文提出了BGL,一个分布式GNN训练系统,旨在通过一些关键思想解决瓶颈。首先,我们提出了一个动态缓存引擎,以尽量减少功能检索流量。通过对缓存策略和采样顺序的协同设计,我们找到了一个低开销和高缓存命中率的最佳点。其次,我们改进了图划分算法,以减少子图采样过程中的跨分区通信。最后,仔细的资源隔离减少了不同数据预处理阶段之间的争用。在各种GNN模型和大型图数据集上进行的大量实验表明,BGL的平均性能明显优于现有的GNN训练系统20.68倍。

英文摘要:

Graph neural networks (GNNs) have extended the success of deep neural networks (DNNs) to non-Euclidean graph data, achieving ground-breaking performance on various tasks such as node classification and graph property prediction. Nonetheless, existing systems are inefficient to train large graphs with billions of nodes and edges with GPUs. The main bottlenecks are the process of preparing data for GPUs - subgraph sampling and feature retrieving. This paper proposes BGL, a distributed GNN training system designed to address the bottlenecks with a few key ideas. First, we propose a dynamic cache engine to minimize feature retrieving traffic. By a co-design of caching policy and the order of sampling, we find a sweet spot of low overhead and high cache hit ratio. Second, we improve the graph partition algorithm to reduce cross-partition communication during subgraph sampling. Finally, careful resource isolation reduces contention between different data preprocessing stages. Extensive experiments on various GNN models and large graph datasets show that BGL significantly outperforms existing GNN training systems by 20.68x on average.

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

↑