流式图上增量式GNN嵌入计算
Incremental GNN Embedding Computation on Streaming Graphs
AI总结:
本文提出一种高效框架,通过将GNN计算分解为通用细粒度操作并安全重排,将昂贵的全邻居GNN计算转换为更高效的子图计算,从而在保持语义和精度的同时提升效率,实验显示计算量减少64%-99%,速度提升1.7x-145.8x。
摘要:
图神经网络(GNN)在流式图上已获得越来越多的关注。然而,其实际部署仍具挑战性,因为推理过程依赖于运行时嵌入计算(RTEC)来捕捉最近的图变化。此过程会产生沉重的多跳图遍历开销,显著影响计算效率。我们观察到,在图演化过程中,大量图的中间结果保持不变,因此通过精心设计的增量方法可以有效消除冗余计算。在本文中,我们提出了一种高效的框架,用于在流式图上增量化RTEC。关键思想是将GNN计算分解为一组通用、细粒度的操作,并安全地重新排列它们,将昂贵的全邻居GNN计算转换为在受影响的子图上更高效的计算形式。通过这种设计,我们的框架在保持原始全邻居计算的语义和精度的同时,支持广泛范围的GNN模型,具有复杂的消息传递模式。为进一步扩展到具有大规模历史结果的图,我们开发了一种GPU-CPU协同处理系统,将嵌入式信息卸载到CPU内存中,并通过通信优化调度。在多样化的图规模和GNN模型上的实验表明,我们的方法将计算量减少64%-99%,并相对于现有解决方案实现了1.7x-145.8x的速度提升。
英文摘要:
Graph Neural Network (GNN) on streaming graphs has gained increasing popularity. However, its practical deployment remains challenging, as the inference process relies on Runtime Embedding Computation (RTEC) to capture recent graph changes. This process incurs heavyweight multi-hop graph traversal overhead, which significantly undermines computation efficiency. We observe that the intermediate results for large portions of the graph remain unchanged during graph evolution, and thus redundant computations can be effectively eliminated through carefully designed incremental methods. In this work, we propose an efficient framework for incrementalizing RTEC on streaming graphs.The key idea is to decouple GNN computation into a set of generalized, fine-grained operators and safely reorder them, transforming the expensive full-neighbor GNN computation into a more efficient form over the affected subgraph. With this design, our framework preserves the semantics and accuracy of the original full-neighbor computation while supporting a wide range of GNN models with complex message-passing patterns. To further scale to graphs with massive historical results, we develop a GPU-CPU co-processing system that offloads embeddings to CPU memory with communication-optimized scheduling. Experiments across diverse graph sizes and GNN models show that our method reduces computation by 64%-99% and achieves 1.7x-145.8x speedups over existing solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。