arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.02588cs.LGcs.AImath.DS
收藏

TransformerG2G:基于Transformer的自适应时间步进学习时序图嵌入

TransformerG2G: Adaptive time-stepping for learning temporal graph embeddings using transformers

Brown University(布朗大学);New Jersey Institute of Technology(新泽西理工学院);Massachusetts Institute of Technology(麻省理工学院);Pacific Northwest National Laboratory(太平洋西北国家实验室)

Alan John Varghese, Aniruddha Bora, Mengjia Xu, George Em Karniadakis

AI总结:

本文提出TransformerG2G模型,利用Transformer编码器学习时序图嵌入,通过投影层生成高斯分布以量化不确定性,在链接预测和计算效率上优于传统方法,并发现注意力权重实现自适应时间步进,揭示图演化中的时序依赖。

摘要:

动态图嵌入已成为解决各种应用中多样化时序图分析任务(即链接预测、节点分类、推荐系统、异常检测和图生成)的一种非常有效的技术。此类时序图在其演化过程中表现出异质的瞬态动力学、变化的时间间隔以及高度演化的节点特征。因此,从历史图上下文中纳入长程依赖对于准确学习其时序动态起着至关重要的作用。在本文中,我们开发了一种带有不确定性量化的图嵌入模型TransformerG2G,利用先进的Transformer编码器首先从其当前状态($t$)和先前上下文(时间戳[$t-1, t-l$]上,$l$为上下文长度)学习中间节点表示。此外,我们采用两个投影层生成低维多元高斯分布,作为每个节点在时间戳$t$处的潜在嵌入。我们考虑了由TEA(时序边出现)图衡量的具有不同“新颖性”水平的多种基准。我们的实验表明,所提出的TransformerG2G模型在链接预测准确性和计算效率方面均优于传统的多步方法和我们先前的工作(DynG2G),尤其是在高新颖性情况下。此外,跨多个图快照学习到的时间相关注意力权重揭示了Transformer实现的自动自适应时间步进的发展。重要的是,通过检查注意力权重,我们可以揭示时序依赖关系,识别有影响力的元素,并深入了解图结构内的复杂交互。例如,我们识别出在图拓扑演化的不同阶段,注意力权重与节点度之间存在强相关性。

英文摘要:

Dynamic graph embedding has emerged as a very effective technique for addressing diverse temporal graph analytic tasks (i.e., link prediction, node classification, recommender systems, anomaly detection, and graph generation) in various applications. Such temporal graphs exhibit heterogeneous transient dynamics, varying time intervals, and highly evolving node features throughout their evolution. Hence, incorporating long-range dependencies from the historical graph context plays a crucial role in accurately learning their temporal dynamics. In this paper, we develop a graph embedding model with uncertainty quantification, TransformerG2G, by exploiting the advanced transformer encoder to first learn intermediate node representations from its current state ($t$) and previous context (over timestamps [$t-1, t-l$], $l$ is the length of context). Moreover, we employ two projection layers to generate lower-dimensional multivariate Gaussian distributions as each node's latent embedding at timestamp $t$. We consider diverse benchmarks with varying levels of ``novelty" as measured by the TEA (Temporal Edge Appearance) plots. Our experiments demonstrate that the proposed TransformerG2G model outperforms conventional multi-step methods and our prior work (DynG2G) in terms of both link prediction accuracy and computational efficiency, especially for high degree of novelty. Furthermore, the learned time-dependent attention weights across multiple graph snapshots reveal the development of an automatic adaptive time stepping enabled by the transformer. Importantly, by examining the attention weights, we can uncover temporal dependencies, identify influential elements, and gain insights into the complex interactions within the graph structure. For example, we identified a strong correlation between attention weights and node degree at the various stages of the graph topology evolution.

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

↑