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

STAG:在动态图上实现基于 GNN 的服务的低延迟与低陈旧度

STAG: Enabling Low Latency and Low Staleness of GNN-based Services with Dynamic Graphs

Shanghai Jiao Tong University(上海交通大学);China University of Geosciences(中国地质大学);Alibaba Cloud(阿里云)

Jiawen Wang, Quan Chen, Deze Zeng, Zhuo Song, Chen Chen, Minyi Guo

AI总结:

针对动态图 GNN 服务中节点表示更新慢导致的高延迟或高陈旧度问题,本文提出 STAG 框架,通过协同服务与基于可加性的增量传播减少邻居爆炸和重复计算,实现最高 90.1 倍更新加速。

摘要:

许多新兴的面向用户的服务采用图神经网络(GNN)来提升服务准确率。当 GNN 模型使用的图发生变化时,图中节点的表示(embedding)也应相应更新。然而,节点表示更新过慢,导致用户查询要么响应延迟较长(在更新完成后执行推理),要么存在高陈旧度问题(基于陈旧数据执行推理)。我们的深入分析表明,更新缓慢主要源于图中的邻居爆炸问题和重复计算。基于这些发现,我们提出 STAG,这是一种 GNN 服务框架,可实现基于 GNN 的服务的低延迟和低陈旧度。它包含协同服务机制和基于可加性的增量传播策略。借助协同服务机制,更新阶段仅更新部分节点表示,最终表示在推理阶段计算,从而缓解邻居爆炸问题。基于可加性的增量传播策略在更新阶段复用中间数据,消除了重复计算问题。实验结果表明,STAG 将更新阶段加速 1.3 倍至 90.1 倍,并在响应延迟略有增加的情况下大幅缩短陈旧时间。

英文摘要:

Many emerging user-facing services adopt Graph Neural Networks (GNNs) to improve serving accuracy. When the graph used by a GNN model changes, representations (embedding) of nodes in the graph should be updated accordingly. However, the node representation update is too slow, resulting in either long response latency of user queries (the inference is performed after the update completes) or high staleness problem (the inference is performed based on stale data). Our in-depth analysis shows that the slow update is mainly due to neighbor explosion problem in graphs and duplicated computation. Based on such findings, we propose STAG, a GNN serving framework that enables low latency and low staleness of GNN-based services. It comprises a collaborative serving mechanism and an additivity-based incremental propagation strategy. With the collaborative serving mechanism, only part of node representations are updated during the update phase, and the final representations are calculated in the inference phase. It alleviates the neighbor explosion problem. The additivity-based incremental propagation strategy reuses intermediate data during the update phase, eliminating duplicated computation problem. Experimental results show that STAG accelerates the update phase by 1.3x~90.1x, and greatly reduces staleness time with a slight increase in response latency.

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

↑