Temporal Graph Benchmark for Machine Learning on Temporal Graphs

Shenyang Huang, Farimah Poursafaei, Jacob Danovitch, Matthias Fey, Weihua Hu +5 more
7/3/2023
cs.LGcs.AI

Official code: shenyangHuang/TGB (262 stars, MIT, last commit 2025-10-06). 2 more implementations below.

Abstract

We present the Temporal Graph Benchmark (TGB), a collection of challenging and diverse benchmark datasets for realistic, reproducible, and robust evaluation of machine learning models on temporal graphs. TGB datasets are of large scale, spanning years in duration, incorporate both node and edge-level prediction tasks and cover a diverse set of domains including social, trade, transaction, and transportation networks. For both tasks, we design evaluation protocols based on realistic use-cases. We extensively benchmark each dataset and find that the performance of common models can vary drastically across datasets. In addition, on dynamic node property prediction tasks, we show that simple methods often achieve superior performance compared to existing temporal graph models. We believe that these findings open up opportunities for future research on temporal graphs. Finally, TGB provides an automated machine learning pipeline for reproducible and accessible temporal graph research, including data loading, experiment setup and performance evaluation. TGB will be maintained and updated on a regular basis and welcomes community feedback. TGB datasets, data loaders, example codes, evaluation setup, and leaderboards are publicly available at https://tgb.complexdatalab.com/.

View on arXivView PDF

Code Implementations(3)

MIT

TGB baselines for dynamic link property prediction

246PythonJun 1, 20231 years agoMIT
MIT

Temporal Graph Benchmark project repo

26252C++, ShellFeb 2, 20231 years agoMIT
MIT

Research code for paper "Learning-Based Link Anomaly Detection in Continuous-Time Dynamic Graphs"

123PythonJan 25, 20242 years agoMIT

Similar Papers

Cite this paper

@article{huang2023temporal,
  title  = {Temporal Graph Benchmark for Machine Learning on Temporal Graphs},
  author = {Shenyang Huang and Farimah Poursafaei and Jacob Danovitch and Matthias Fey and Weihua Hu and Emanuele Rossi and Jure Leskovec and Michael Bronstein and Guillaume Rabusseau and Reihaneh Rabbany},
  year   = {2023},
  eprint = {2307.01026},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01026v2},
  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/2307.01026.svg)](https://codeofpaper.com/paper/2307.01026)

Discussion