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

GLISP:一种利用图固有结构特性的可扩展GNN学习系统

GLISP: A Scalable GNN Learning System by Exploiting Inherent Structural Properties of Graphs

Ant Group(蚂蚁集团)

Zhongshu Zhu, Bin Jing, Xiaopei Wan, Zhizhen Liu, Lei Liang, Jun zhou

AI总结:

本文提出GLISP系统,利用图固有结构特性解决工业规模GNN部署难题,通过图分区器、采样服务和推理引擎优化性能,实现最高6.53倍训练和70.77倍推理加速,支持百亿级顶点图。

摘要:

作为建模图数据的强大工具,图神经网络(GNNs)在学术界和工业界受到了越来越多的关注。然而,由于庞大的数据规模和复杂的拓扑结构,将GNN部署在工业规模的图上出了名地困难。在本文中,我们提出了GLISP,一个用于工业规模图的基于采样的GNN学习系统。通过利用图的固有结构特性(如幂律分布和数据局部性),GLISP解决了在图学习过程不同阶段出现的可扩展性和性能问题。GLISP由三个核心组件组成:图分区器、图采样服务和图推理引擎。图分区器采用所提出的顶点切割图分区算法AdaDNE来为幂律图生成平衡分区,这对于基于采样的GNN系统至关重要。图采样服务采用负载均衡设计,允许高度数顶点的一跳采样请求由多个服务器处理。结合内存高效的数据结构,效率和可扩展性得到了有效提升。图推理引擎将$K$层GNN分成$K$个切片,并将每个切片生成的顶点嵌入缓存在数据局部性感知的混合缓存系统中以供重用,从而完全消除了由图的数据依赖性引起的冗余计算。大量实验表明,GLISP在训练和推理任务上分别比现有GNN系统实现了高达$6.53\ imes$和$70.77\ imes$的加速,并且可以在有限资源下扩展到具有超过100亿个顶点和400亿条边的图。

英文摘要:

As a powerful tool for modeling graph data, Graph Neural Networks (GNNs) have received increasing attention in both academia and industry. Nevertheless, it is notoriously difficult to deploy GNNs on industrial scale graphs, due to their huge data size and complex topological structures. In this paper, we propose GLISP, a sampling based GNN learning system for industrial scale graphs. By exploiting the inherent structural properties of graphs, such as power law distribution and data locality, GLISP addresses the scalability and performance issues that arise at different stages of the graph learning process. GLISP consists of three core components: graph partitioner, graph sampling service and graph inference engine. The graph partitioner adopts the proposed vertex-cut graph partitioning algorithm AdaDNE to produce balanced partitioning for power law graphs, which is essential for sampling based GNN systems. The graph sampling service employs a load balancing design that allows the one hop sampling request of high degree vertices to be handled by multiple servers. In conjunction with the memory efficient data structure, the efficiency and scalability are effectively improved. The graph inference engine splits the $K$-layer GNN into $K$ slices and caches the vertex embeddings produced by each slice in the data locality aware hybrid caching system for reuse, thus completely eliminating redundant computation caused by the data dependency of graph. Extensive experiments show that GLISP achieves up to $6.53\times$ and $70.77\times$ speedups over existing GNN systems for training and inference tasks, respectively, and can scale to the graph with over 10 billion vertices and 40 billion edges with limited resources.

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

↑