arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.08309cs.LGcs.AI
收藏

面向链路预测的可学习时空位置编码

Learnable Spatial-Temporal Positional Encoding for Link Prediction

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta AI;Arizona State University(亚利桑那州立大学)

Katherine Tieu, Dongqi Fu, Zihao Li, Ross Maciejewski, Jingrui He

AI总结:

针对现有位置编码固定、未考虑时序演化、搭配注意力计算成本高的问题,提出可学习时空位置编码模型L-STEP,从时空谱验证其保图属性,MLP即可达到Transformer性能,在多基准数据集上取得领先效果且运行效率更优。

摘要:

准确的预测依赖于图神经网络、图Transformer等图深度学习框架的表达能力,在近年的前沿工作中,位置编码机制已成为记录规范位置信息不可或缺的组件。然而当前位置编码存在三方面局限:(1)多数位置编码方法采用预定义的固定函数,不足以适配复杂的属性图;(2)少数开创性工作提出了可学习位置编码,但仍局限于结构信息,未考虑现实世界中随时间演化的拓扑与特征信息;(3)多数位置编码方法搭配Transformer的注意力机制以充分发挥其能力,但密集注意力或关系注意力在大规模结构化数据上往往计算成本过高。因此,我们旨在以高效且有效的方式开发可学习时空位置编码,并提出一个名为L-STEP的简单时序链路预测模型。简言之,对于L-STEP,我们(1)从时空谱视角证明了所提位置学习方案能够保留图属性;(2)验证了MLP(多层感知机)能够充分挖掘该编码的表达能力,性能可达到Transformer水平;(3)更换不同的初始位置编码输入以展示其鲁棒性;(4)分析了理论复杂度,且实际运行时间低于现有最优方法(SOTA);(5)在13个经典数据集上,采用3种不同采样策略,在直推式和归纳式两种设置下与10种算法对比,证明了其时序链路预测性能更优。此外,L-STEP在最新的大规模TGB基准上也取得了领先性能。我们的代码可在https://github.com/kthrn22/L-STEP获取。

英文摘要:

Accurate predictions rely on the expressiveness power of graph deep learning frameworks like graph neural networks and graph transformers, where a positional encoding mechanism has become much more indispensable in recent state-of-the-art works to record the canonical position information. However, the current positional encoding is limited in three aspects: (1) most positional encoding methods use pre-defined, and fixed functions, which are inadequate to adapt to the complex attributed graphs; (2) a few pioneering works proposed the learnable positional encoding but are still limited to the structural information, not considering the real-world time-evolving topological and feature information; (3) most positional encoding methods are equipped with transformers' attention mechanism to fully leverage their capabilities, where the dense or relational attention is often unaffordable on large-scale structured data. Hence, we aim to develop Learnable Spatial-Temporal Positional Encoding in an effective and efficient manner and propose a simple temporal link prediction model named L-STEP. Briefly, for L-STEP, we (1) prove the proposed positional learning scheme can preserve the graph property from the spatial-temporal spectral viewpoint, (2) verify that MLPs can fully exploit the expressiveness and reach transformers' performance on that encoding, (3) change different initial positional encoding inputs to show robustness, (4) analyze the theoretical complexity and obtain less empirical running time than SOTA, and (5) demonstrate its temporal link prediction out-performance on 13 classic datasets and with 10 algorithms in both transductive and inductive settings using 3 different sampling strategies. Also, L-STEP obtains the leading performance in the newest large-scale TGB benchmark. Our code is available at https://github.com/kthrn22/L-STEP.

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

↑