Towards Better Dynamic Graph Learning: New Architecture and Unified Library

Le Yu, Leilei Sun, Bowen Du, Weifeng Lv
3/23/2023
cs.LG

Official code: yule-BUAA/DyGLib (306 stars, MIT, last commit 2023-09-28).

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: (1) a neighbor co-occurrence encoding scheme that explores the correlations of the source node and destination node based on their historical sequences; (2) 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.

View on arXivView PDF

Code Implementations(1)

yule-BUAA/DyGLibOfficial100%
MIT

A Library for Dynamic Graph Learning (NeurIPS 2023)

30655PythonMar 21, 20233 years agoMIT

Similar Papers

Cite this paper

@article{yu2023towards,
  title  = {Towards Better Dynamic Graph Learning: New Architecture and Unified Library},
  author = {Le Yu and Leilei Sun and Bowen Du and Weifeng Lv},
  year   = {2023},
  eprint = {2303.13047},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13047v3},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.13047.svg)](https://codeofpaper.com/paper/2303.13047)

Discussion