Lune

VLDB2022Top-tier venue

TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs

Hongkuan Zhou, Da Zheng, Israt Nisa, Vassilis N. Ioannidis, Xiang Song, George Karypis

Abstract

Many real world graphs contain time domain information. Temporal Graph Neural Networks capture temporal information as well as structural and contextual information in the generated dynamic node embeddings. Researchers have shown that these embeddings achieve state-of-the-art performance in many different tasks. In this work, we propose TGL, a unified framework for large-scale offline Temporal Graph Neural Network training where users can compose various Temporal Graph Neural Networks with simple configuration files. TGL comprises five main components, a temporal sampler, a mailbox, a node memory module, a memory updater, and a message passing engine. We design a Temporal-CSR data structure and a parallel sampler to efficiently sample temporal neighbors to form training mini-batches. We propose a novel random chunk scheduling technique that mitigates the problem of obsolete node memory when training with a large batch size. To address the limitations of current TGNNs only being evaluated on small-scale datasets, we introduce two large-scale real-world datasets with 0.2 and 1.3 billion temporal edges. We evaluate the performance of TGL on four small-scale datasets with a single GPU and the two large datasets with multiple GPUs for both link prediction and node classification tasks. We compare TGL with the open-sourced code of five methods and show that TGL achieves similar or better accuracy with an average of 13X speedup. Our temporal parallel sampler achieves an average of 173X speedup on a multi-core CPU compared with the baselines. On a 4-GPU machine, TGL can train one epoch of more than one billion temporal edges within 1-10 hours. To the best of our knowledge, this is the first work that proposes a general framework for large-scale Temporal Graph Neural Networks training on multiple GPUs.

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.

45 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

  • Recurrent Event Network: Autoregressive Structure Inferenceover Temporal Knowledge Graphs cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
  • Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
  • Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks cites Inductive representation learning on temporal graphs
  • Towards Better Dynamic Graph Learning: New Architecture and Unified Library cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Towards Better Dynamic Graph Learning: New Architecture and Unified Library cites Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
  • Towards Better Dynamic Graph Learning: New Architecture and Unified Library cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
  • Towards Better Dynamic Graph Learning: New Architecture and Unified Library cites Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs
  • Towards Better Dynamic Graph Learning: New Architecture and Unified Library cites Inductive representation learning on temporal graphs
  • Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank cites Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
  • Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
  • Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank cites Inductive representation learning on temporal graphs
  • Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs cites Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
  • Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
  • Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs cites Inductive representation learning on temporal graphs
  • TIGER: Temporal Interaction Graph Embedding with Restarts cites Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
  • TIGER: Temporal Interaction Graph Embedding with Restarts cites Inductive representation learning on temporal graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers45

  1. Towards Better Dynamic Graph Learning: New Architecture and Unified LibraryLe Yu, Leilei Sun, Bowen Du, Weifeng LvNeurIPS 2023 · 323 citations
  2. Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic GraphsMing Jin, Yuan-Fang Li, Shirui PanNeurIPS 2022 · 130 citations
  3. Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRankYiming Li, Yanyan Shen, Lei Chen, Mingxuan YuanVLDB 2023 · 67 citations
  4. TIGER: Temporal Interaction Graph Embedding with RestartsYao Zhang, Yun Xiong, Yongxiang Liao, Yiheng Sun et al.WWW 2023 · 37 citations
  5. Parameter-free Dynamic Graph Embedding for Link PredictionJiahao Liu, Dongsheng Li, Hansu Gu, Tun Lu et al.NeurIPS 2022 · 32 citations

Builds on6

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. EvolveGCN: Evolving Graph Convolutional Networks for Dynamic GraphsAldo Pareja, Giacomo Domeniconi, Jie Chen, Tengfei Ma et al.AAAI 2020 · 1,429 citations
  3. Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar et al.ICLR 2020 · 901 citations
  4. Recurrent Event Network: Autoregressive Structure Inferenceover Temporal Knowledge GraphsWoojeong Jin, Meng Qu, Xisen Jin, Xiang RenEMNLP 2020 · 353 citations
  5. Inductive Representation Learning in Temporal Networks via Causal Anonymous WalksYanbang Wang, Yen-Yu Chang, Yunyu Liu, Jure Leskovec et al.ICLR 2021 · 326 citations

Related papers

  1. SIMPLE: Efficient Temporal Graph Neural Network Training at Scale with Dynamic Data PlacementShihong Gao, Yiming Li, Xin Zhang, Yanyan Shen et al.SIGMOD 2024 · 19 citations
  2. FastGL: A GPU-Efficient Framework for Accelerating Sampling-Based GNN Training at Large ScaleZeyu Zhu, Peisong Wang, Qinghao Hu, Gang Li et al.ASPLOS 2024 · 8 citations
  3. TimeSGN: Scalable and Effective Temporal Graph Neural NetworkYuanyuan Xu, Wenjie Zhang, Ying Zhang, Maria E. Orlowska et al.ICDE 2024 · 15 citations
  4. PiPAD: Pipelined and Parallel Dynamic GNN Training on GPUsChunyang Wang, Desen Sun, Yuebin BaiPPoPP 2023 · 27 citations
  5. ETC: Efficient Training of Temporal Graph Neural Networks over Large-scale Dynamic GraphsShihong Gao, Yiming Li, Yanyan Shen, Yingxia Shao et al.VLDB 2024 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines