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

通过前向近期采样实现可扩展且高效的时序图表示学习

Scalable and Efficient Temporal Graph Representation Learning via Forward Recent Sampling

Rutgers University(罗格斯大学);Georgia Institute of Technology(佐治亚理工学院)

Yuhong Luo, Pan Li

AI总结:

针对传统时序图表示学习方法因时序邻居采样低效导致的计算与推理延迟问题,提出No-Looking-Back(NLB)框架,通过前向近期采样策略及GPU可执行哈希表,实现精度匹配或超越SOTA且训练、能效、推理延迟显著优化。

摘要:

时序图表示学习(TGRL)对于建模现实世界网络中的动态系统至关重要。然而,传统TGRL方法尽管有效,但由于时序邻居采样效率低下,往往面临显著的计算挑战和推理延迟。传统采样方法通常需要回溯每个节点的交互历史。本文提出一种新颖的TGRL框架No-Looking-Back(NLB,不回溯),通过引入前向近期采样策略克服这些挑战。该策略利用每个节点的GPU可执行、大小受限的哈希表,无需回溯历史交互;哈希表记录下采样的近期交互集,实现低推理延迟的快速查询响应,且哈希表维护具有O(1)复杂度。NLB完全兼容GPU处理,最大化可编程性、并行性和能效。实证评估表明,在六个真实世界数据集的链路预测和节点分类任务中,NLB的精度匹配或超过最先进方法,同时训练速度快1.32-4.40倍,能效高1.2-7.94倍,推理延迟低1.63-12.95倍。代码链接:https://github.com/Graph-COM/NLB。

英文摘要:

Temporal graph representation learning (TGRL) is essential for modeling dynamic systems in real-world networks. However, traditional TGRL methods, despite their effectiveness, often face significant computational challenges and inference delays due to the inefficient sampling of temporal neighbors. Conventional sampling methods typically involve backtracking through the interaction history of each node. In this paper, we propose a novel TGRL framework, No-Looking-Back (NLB), which overcomes these challenges by introducing a forward recent sampling strategy. This strategy eliminates the need to backtrack through historical interactions by utilizing a GPU-executable, size-constrained hash table for each node. The hash table records a down-sampled set of recent interactions, enabling rapid query responses with minimal inference latency. The maintenance of this hash table is highly efficient, operating with $O(1)$ complexity. Fully compatible with GPU processing, NLB maximizes programmability, parallelism, and power efficiency. Empirical evaluations demonstrate that NLB not only matches or surpasses state-of-the-art methods in accuracy for tasks like link prediction and node classification across six real-world datasets but also achieves 1.32-4.40x faster training, 1.2-7.94x greater energy efficiency, and 1.63-12.95x lower inference latency compared to competitive baselines. The link to the code: https://github.com/Graph-COM/NLB.

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

↑