Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TIDFormer: Exploiting Temporal and Interactive Dynamics Makes A Great Dynamic Graph Transformer

About

Due to the proficiency of self-attention mechanisms (SAMs) in capturing dependencies in sequence modeling, several existing dynamic graph neural networks (DGNNs) utilize Transformer architectures with various encoding designs to capture sequential evolutions of dynamic graphs. However, the effectiveness and efficiency of these Transformer-based DGNNs vary significantly, highlighting the importance of properly defining the SAM on dynamic graphs and comprehensively encoding temporal and interactive dynamics without extra complex modules. In this work, we propose TIDFormer, a dynamic graph TransFormer that fully exploits Temporal and Interactive Dynamics in an efficient manner. We clarify and verify the interpretability of our proposed SAM, addressing the open problem of its uninterpretable definitions on dynamic graphs in previous works. To model the temporal and interactive dynamics, respectively, we utilize the calendar-based time partitioning information and extract informative interaction embeddings for both bipartite and non-bipartite graphs using merely the sampled first-order neighbors. In addition, we jointly model temporal and interactive features by capturing potential changes in historical interaction patterns through a simple decomposition. We conduct extensive experiments on several dynamic graph datasets to verify the effectiveness and efficiency of TIDFormer. The experimental results demonstrate that TIDFormer excels, outperforming state-of-the-art models across most datasets and experimental settings. Furthermore, TIDFormer exhibits significant efficiency advantages compared to previous Transformer-based methods.

Jie Peng, Zhewei Wei, Yuhang Ye• 2025

Related benchmarks

TaskDatasetResultRank
Inductive dynamic link predictionReddit (inductive)
AUC-ROC (%)98.23
159
Dynamic Link PredictionLastFM (transductive)
AP94.6
143
Dynamic Link PredictionWikipedia (inductive)
AP84.99
119
Link PredictionReddit (inductive)
AP98.98
111
Link PredictionEnron (inductive)
AP89.92
96
Dynamic Link PredictionReddit (transductive)
AP99.38
92
Dynamic Link PredictionMOOC (transductive)
AP95.37
80
Link PredictionUCI (transductive)
AP97.44
73
Link PredictionReddit (transductive)
AP99.38
66
Link PredictionUCI (inductive)
AP95.95
65
Showing 10 of 27 rows

Other info

Follow for update