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

Legion:自动突破多GPU系统极限以实现十亿规模GNN训练

Legion: Automatically Pushing the Envelope of Multi-GPU System for Billion-Scale GNN Training

Jie Sun, Li Su, Zuocheng Shi, Wenting Shen, Zeke Wang, Lei Wang, Jie Zhang, Yong Li, Wenyuan Yu, Jingren Zhou, Fei Wu

AI总结:

针对现有单机多GPU缓存式GNN系统难以高效训练十亿规模图的问题,本文提出Legion系统,通过分层图划分、统一多GPU缓存及自动缓存管理机制提升训练效率,支持十亿规模GNN训练且性能优于现有最优系统。

摘要:

图神经网络(GNN)已广泛应用于现实场景,例如电商平台的商品推荐以及财务管理系统中的风险控制。现有多个基于缓存的GNN系统被开发用于加速单机多GPU环境下的GNN训练,但这类系统无法高效训练十亿规模的图,这是工业界普遍面临的挑战。本文提出Legion——一种自动突破多GPU系统极限、用于加速十亿规模GNN训练的系统。首先,我们设计了分层图划分机制,显著提升了多GPU缓存性能。其次,我们构建了统一多GPU缓存,通过缓存热度最高的图拓扑结构与特征,尽可能降低PCIe通信流量。第三,我们开发了自动缓存管理机制,可根据硬件规格与不同图数据调整多GPU缓存方案,最大化整体训练吞吐量。在多种GNN模型与多个数据集上的评估表明,Legion支持在单台机器上训练十亿规模GNN,且在小图任务上的性能显著优于现有最优的基于缓存的系统。

英文摘要:

Graph neural network(GNN) has been widely applied in real-world applications, such as product recommendation in e-commerce platforms and risk control in financial management systems. Several cache-based GNN systems have been built to accelerate GNN training in a single machine with multiple GPUs. However, these systems fail to train billion-scale graphs efficiently, which is a common challenge in the industry. In this work, we propose Legion, a system that automatically pushes the envelope of multi-GPU systems for accelerating billion-scale GNN training. First, we design a hierarchical graph partitioning mechanism that significantly improves the multi-GPU cache performance. Second, we build a unified multi-GPU cache that helps to minimize the PCIe traffic incurred by caching both graph topology and features with the highest hotness. Third, we develop an automatic caching management mechanism that adapts the multi-GPU cache plan according to the hardware specifications and various graphs to maximize the overall training throughput. Evaluations on various GNN models and multiple datasets show that Legion supports training billion-scale GNNs in a single machine and significantly outperforms the state-of-the-art cache-based systems on small graphs.

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

↑