Lune

NeurIPS2023Top-tier venue

Towards Better Dynamic Graph Learning: New Architecture and Unified Library

Le Yu, Leilei Sun, Bowen Du, Weifeng Lv

Abstract

We propose DyGFormer, a new Transformer-based architecture for dynamic graph learning. DyGFormer is conceptually simple and only needs to learn from nodes' historical first-hop interactions by: (i) a neighbor co-occurrence encoding scheme that explores the correlations of the source node and destination node based on their historical sequences; (ii) a patching technique that divides each sequence into multiple patches and feeds them to Transformer, allowing the model to effectively and efficiently benefit from longer histories. We also introduce DyGLib, a unified library with standard training pipelines, extensible coding interfaces, and comprehensive evaluating protocols to promote reproducible, scalable, and credible dynamic graph learning research. By performing exhaustive experiments on thirteen datasets for dynamic link prediction and dynamic node classification tasks, we find that DyGFormer achieves state-of-the-art performance on most of the datasets, demonstrating its effectiveness in capturing nodes' correlations and long-term temporal dependencies. Moreover, some results of baselines are inconsistent with previous reports, which may be caused by their diverse but less rigorous implementations, showing the importance of DyGLib. All the used resources are publicly available at https://github.com/yule-BUAA/DyGLib .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

61 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • DyG-Mamba: Continuous State Space Modeling on Dynamic Graphs cites On the Feasibility of Simple Transformer for Dynamic Graph Modeling
  • DyG-Mamba: Continuous State Space Modeling on Dynamic Graphs cites FreeDyG: Frequency Enhanced Continuous-Time Dynamic Graph Model for Link Prediction
  • On the Feasibility of Simple Transformer for Dynamic Graph Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • On the Feasibility of Simple Transformer for Dynamic Graph Modeling cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • On the Feasibility of Simple Transformer for Dynamic Graph Modeling cites Language Models are Few-Shot Learners
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FreeDyG: Frequency Enhanced Continuous-Time Dynamic Graph Model for Link Prediction cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers61

  1. FreeDyG: Frequency Enhanced Continuous-Time Dynamic Graph Model for Link PredictionYuxing Tian, Yiyan Qi, Fan GuoICLR 2024 · 58 citations
  2. TempME: Towards the Explainability of Temporal Graph Neural Networks via Motif DiscoveryJialin Chen, Rex YingNeurIPS 2023 · 50 citations
  3. On the Feasibility of Simple Transformer for Dynamic Graph ModelingYuxia Wu, Yuan Fang, Lizi LiaoWWW 2024 · 49 citations
  4. DyG-Mamba: Continuous State Space Modeling on Dynamic GraphsDongyuan Li, Shiyin Tan, Ying Zhang, Ming Jin et al.NeurIPS 2025 · 43 citations
  5. Improving Temporal Link Prediction via Temporal Walk Matrix ProjectionXiaodong Lu, Leilei Sun, Tongyu Zhu, Weifeng LvNeurIPS 2024 · 37 citations

Builds on22

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  4. Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
  5. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations

Related papers

  1. Global-Lens Transformers: Adaptive Token Mixing for Dynamic Link PredictionTao Zou, Chengfeng Wu, Tianxi Liao, Junchen Ye et al.AAAI 2026
  2. TIDFormer: Exploiting Temporal and Interactive Dynamics Makes A Great Dynamic Graph TransformerJie Peng, Zhewei Wei, Yuhang YeKDD 2025 · 2 citations
  3. TFWaveFormer: Temporal-Frequency Collaborative Multi-level Wavelet Transformer for Dynamic Link PredictionHantong Feng, Yonggang Wu, Duxin Chen, Wenwu YuWWW 2026
  4. Triangle Matters! TopDyG: Topology-aware Transformer for Link Prediction on Dynamic GraphsXin Zhang, Fei Cai, Jianming Zheng, Zhiqiang Pan et al.WWW 2025 · 3 citations
  5. Repeat-Aware Neighbor Sampling for Dynamic Graph LearningTao Zou, Yuhao Mao, Junchen Ye, Bowen DuKDD 2024 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines