Deal系统让超大规模图神经网络全节点推理更快更省内存。
Deal: Distributed End-to-End GNN Inference for All Nodes
- 通过采样阶段挖掘共享机会,提升后续计算效率。
- 实测在真实数据集上推理速度最高提升7.7倍,图构建快21倍。
- 适合需要高效处理十亿边以上图的推荐与广告系统。
图神经网络(GNN)在推荐、广告等应用中广泛使用,其全节点端到端推理需求普遍。然而,传统方法因开销过大或内存占用过高,未能充分挖掘共享潜力。本文提出Deal,一个面向十亿级以上边的分布式全节点GNN推理系统:首先揭示并利用采样阶段的未开发共享机会,最大化后续计算中的共享收益;其次设计轻量级1-D图与特征张量协同划分的分布式原语,实现内存节省与通信高效;最后引入分片流水通信,并将特征准备与首个GNN层融合,实现端到端推理优化。在真实基准数据集上,相比现有最优方案,推理时间最高降低7.70倍,图构建时间最高降低21.05倍。
原文摘要 · Abstract (English)
Graph Neural Networks (GNNs) are a new research frontier with various applications and successes. The end-to-end inference for all nodes, is common for GNN embedding models, which are widely adopted in applications like recommendation and advertising. While sharing opportunities arise in GNN tasks (i.e., inference for a few nodes and training), the potential for sharing in full graph end-to-end inference is largely underutilized because traditional efforts fail to fully extract sharing benefits due to overwhelming overheads or excessive memory usage. This paper introduces Deal, a distributed GNN inference system that is dedicated to end-to-end inference for all nodes for graphs with multi-billion edges. First, we unveil and exploit an untapped sharing opportunity during sampling, and maximize the benefits from sharing during subsequent GNN computation. Second, we introduce memory-saving and communication-efficient distributed primitives for lightweight 1-D graph and feature tensor collaborative partitioning-based distributed inference. Third, we introduce partitioned, pipelined communication and fusing feature preparation with the first GNN primitive for end-to-end inference. With Deal, the end-to-end inference time on real-world benchmark datasets is reduced up to 7.70 x and the graph construction time is reduced up to 21.05 x, compared to the state-of-the-art.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。