English

Global-Lens Transformers: Adaptive Token Mixing for Dynamic Link Prediction

Machine Learning 2025-11-18 v1 Artificial Intelligence

Abstract

Dynamic graph learning plays a pivotal role in modeling evolving relationships over time, especially for temporal link prediction tasks in domains such as traffic systems, social networks, and recommendation platforms. While Transformer-based models have demonstrated strong performance by capturing long-range temporal dependencies, their reliance on self-attention results in quadratic complexity with respect to sequence length, limiting scalability on high-frequency or large-scale graphs. In this work, we revisit the necessity of self-attention in dynamic graph modeling. Inspired by recent findings that attribute the success of Transformers more to their architectural design than attention itself, we propose GLFormer, a novel attention-free Transformer-style framework for dynamic graphs. GLFormer introduces an adaptive token mixer that performs context-aware local aggregation based on interaction order and time intervals. To capture long-term dependencies, we further design a hierarchical aggregation module that expands the temporal receptive field by stacking local token mixers across layers. Experiments on six widely-used dynamic graph benchmarks show that GLFormer achieves SOTA performance, which reveals that attention-free architectures can match or surpass Transformer baselines in dynamic graph settings with significantly improved efficiency.

Keywords

Cite

@article{arxiv.2511.12442,
  title  = {Global-Lens Transformers: Adaptive Token Mixing for Dynamic Link Prediction},
  author = {Tao Zou and Chengfeng Wu and Tianxi Liao and Junchen Ye and Bowen Du},
  journal= {arXiv preprint arXiv:2511.12442},
  year   = {2025}
}

Comments

Accepted by AAAI 2026

R2 v1 2026-07-01T07:39:29.386Z