TGL: A General Framework for Temporal GNN Training on Billion-Scale Graphs
Not on the map. Why?
Abstract (arXiv)
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 formtraining 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.
Key facts. Cited by 59 papers in the map (data through 7 Oct 2026). Builds on 16 of its 26 references that are in the map. First posted on arXiv 28 Mar 2022.
Builds on
16 of 26 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 521
- 2020Inductive Representation Learning on Temporal Graphscited by 454
- 2019EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphscited by 443
- 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
- 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
- 2019Representation Learning for Dynamic Graphs: A Surveycited by 260
4 more
- 2021Inductive Representation Learning in Temporal Networks via Causal Anonymous Walkscited by 188
- 2020DistDGL: Distributed Graph Neural Network Training for Billion-Scale Graphscited by 139
- 2021PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Modelscited by 118
- 2020APAN: Asynchronous Propagation Attention Network for Real-time Temporal Graph Embeddingcited by 78
Built on by
Citing papers per year: 2022: 7; 2023: 22; 2024: 16; 2025: 9; 2026: 5.
59 papers.
Sort:
- 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Librarycited by 154
- 2023Do We Really Need Complicated Model Architectures For Temporal Networks?cited by 141
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 137
- 2023Graph Neural Networks for temporal graphs: State of the art, open challenges, and opportunitiescited by 60
- 2022Neighborhood-aware Scalable Temporal Network Representation Learningcited by 54
- 2024A Comprehensive Survey of Dynamic Graph Neural Networks: Models, Frameworks, Benchmarks, Experiments and Challengescited by 29
- 2024DTGB: A Comprehensive Benchmark for Dynamic Text-Attributed Graphscited by 26
- 2023Spatio-Temporal Graph Neural Networks: A Surveycited by 23
- 2024A survey of dynamic graph neural networkscited by 21
- 2023A Survey on Graph Neural Network Acceleration: Algorithms, Systems, and Customized Hardwarecited by 18
- 2023TIGER: Temporal Interaction Graph Embedding with Restartscited by 17
- 2022A Comprehensive Survey on Distributed Training of Graph Neural Networkscited by 15
38 more
- 2023Decoupled Graph Neural Networks for Large Dynamic Graphscited by 14
- 2022Parameter-free Dynamic Graph Embedding for Link Predictioncited by 12
- 2023DistTGL: Distributed Memory-Based Temporal Graph Neural Network Trainingcited by 12
- 2024Disentangled Condensation for Large-scale Graphscited by 10
- 2023Spear and Shield: Adversarial Attacks and Defense Methods for Model-Based Link Prediction on Continuous-Time Dynamic Graphscited by 9
- 2023BenchTemp: A General Benchmark for Evaluating Temporal Graph Neural Networkscited by 9
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learningcited by 8
- 2023SPEED: Streaming Partition and Parallel Acceleration for Temporal Interaction Graph Embeddingcited by 7
- 2024GraphStorm: all-in-one graph machine learning framework for industry applicationscited by 7
- 2023NeutronStream: A Dynamic GNN Training Framework with Sliding Window for Graph Streamscited by 6
- 2024THeGCN: Temporal Heterophilic Graph Convolutional Networkcited by 6
- 2025A Survey of Link Prediction in Temporal Networkscited by 6
- 2025Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Modelscited by 6
- 2024Efficient Dynamic Attributed Graph Generationcited by 5
- 2022DyG2Vec: Efficient Representation Learning for Dynamic Graphscited by 4
- 2023PiPAD: Pipelined and Parallel Dynamic GNN Training on GPUscited by 4
- 2023iLoRE: Dynamic Graph Representation with Instant Long-term Modeling and Re-occurrence Preservationcited by 4
- 2023DGNN-Booster: A Generic FPGA Accelerator Framework For Dynamic Graph Neural Network Inferencecited by 3
- 2024On the Generalization Capability of Temporal Graph Learning Algorithms: Theoretical Insights and a Simpler Methodcited by 3
- 2024From Link Prediction to Forecasting: Addressing Challenges in Batch-based Temporal Graph Learningcited by 3
- 2024DTFormer: A Transformer-Based Method for Discrete-Time Dynamic Graph Representation Learningcited by 3
- 2025UniDyG: A Unified and Effective Representation Learning Approach for Large Dynamic Graphscited by 3
- 2025TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphscited by 3
- 2022Bottleneck Analysis of Dynamic Graph Neural Network Inference on CPU and GPUcited by 2
- 2022Scalable Graph Convolutional Network Training on Distributed-Memory Systemscited by 2
- 2024Scalable and Efficient Temporal Graph Representation Learning via Forward Recent Samplingcited by 2
- 2024TASER: Temporal Adaptive Sampling for Fast and Accurate Dynamic Graph Representation Learningcited by 2
- 2024CTRL: Continuous-Time Representation Learning on Temporal Heterogeneous Information Networkcited by 2
- 2024D3-GNN: Dynamic Distributed Dataflow for Streaming Graph Neural Networkscited by 2
- 2024Towards Ideal Temporal Graph Neural Networks: Evaluations and Conclusions after 10,000 GPU Hourscited by 2
- 2025ScaDyG:A New Paradigm for Large-scale Dynamic Graph Learningcited by 2
- 2025Rapid training of Hamiltonian graph networks using random featurescited by 2
- 2022Hardware Acceleration of Sampling Algorithms in Sample and Aggregate Graph Neural Networkscited by 1
- 2023DGC: Training Dynamic Graphs with Spatio-Temporal Non-Uniformity using Graph Partitioning by Chunkscited by 1
- 2023DURENDAL: Graph deep learning framework for temporal heterogeneous networkscited by 1
- 2024Curriculum Negative Mining For Temporal Networkscited by 1
- 2025A Selective Learning Method for Temporal Graph Continual Learningcited by 1
- 2025Simple yet Effective Node Property Prediction on Edge Streams under Distribution Shiftscited by 1
50 most cited of 59 All 59 (JSON)
- 2026Scaling Graph Neural Networks for Friend Recommendation: Multi-Hash User Embeddings and Temporal Neighbor Sampling27 Aug 2026
- 2026Directly Optimizing Mean Demographic Parity for Nonlinear Regression6 Jul 2026
- 2026Poisson-Gamma Modeling of Inter-Relational Dependencies in Dynamic Knowledge Graphs3 Jul 2026
- 2026Towards Improved Anomaly Detection for Cloud Cybersecurity via Graph Neural Networks27 Jun 2026
- 2026Coden: Efficient Temporal Graph Neural Networks for Continuous Prediction13 Feb 2026
- 2025TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphs8 Oct 2025
- 2025Rapid training of Hamiltonian graph networks using random features6 Jun 2025
- 2025FLASH: Flexible Learning of Adaptive Sampling from History in Temporal Graph Neural Networks9 Apr 2025
- 2025Simple yet Effective Node Property Prediction on Edge Streams under Distribution Shifts1 Apr 2025
- 2025Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Models18 Mar 2025
- 2025A Selective Learning Method for Temporal Graph Continual Learning3 Mar 2025
- 2025A Survey of Link Prediction in Temporal Networks28 Feb 2025
38 more
- 2025UniDyG: A Unified and Effective Representation Learning Approach for Large Dynamic Graphs23 Feb 2025
- 2025ScaDyG:A New Paradigm for Large-scale Dynamic Graph Learning27 Jan 2025
- 2024Towards Ideal Temporal Graph Neural Networks: Evaluations and Conclusions after 10,000 GPU Hours28 Dec 2024
- 2024THeGCN: Temporal Heterophilic Graph Convolutional Network21 Dec 2024
- 2024Efficient Dynamic Attributed Graph Generation11 Dec 2024
- 2024D3-GNN: Dynamic Distributed Dataflow for Streaming Graph Neural Networks10 Sep 2024
- 2024DTFormer: A Transformer-Based Method for Discrete-Time Dynamic Graph Representation Learning26 Jul 2024
- 2024Curriculum Negative Mining For Temporal Networks24 Jul 2024
- 2024DTGB: A Comprehensive Benchmark for Dynamic Text-Attributed Graphs17 Jun 2024
- 2024GraphStorm: all-in-one graph machine learning framework for industry applications10 Jun 2024
- 2024From Link Prediction to Forecasting: Addressing Challenges in Batch-based Temporal Graph Learning7 Jun 2024
- 2024CTRL: Continuous-Time Representation Learning on Temporal Heterogeneous Information Network11 May 2024
- 2024A Comprehensive Survey of Dynamic Graph Neural Networks: Models, Frameworks, Benchmarks, Experiments and Challenges1 May 2024
- 2024A survey of dynamic graph neural networks28 Apr 2024
- 2024On the Generalization Capability of Temporal Graph Learning Algorithms: Theoretical Insights and a Simpler Method26 Feb 2024
- 2024TASER: Temporal Adaptive Sampling for Fast and Accurate Dynamic Graph Representation Learning8 Feb 2024
- 2024Scalable and Efficient Temporal Graph Representation Learning via Forward Recent Sampling3 Feb 2024
- 2024Disentangled Condensation for Large-scale Graphs18 Jan 2024
- 2023NeutronStream: A Dynamic GNN Training Framework with Sliding Window for Graph Streams5 Dec 2023
- 2023Understanding Opinions Towards Climate Change on Social Media2 Dec 2023
- 2023LasTGL: An Industrial Framework for Large-Scale Temporal Graph Learning28 Nov 2023
- 2023DURENDAL: Graph deep learning framework for temporal heterogeneous networks30 Sep 2023
- 2023DGC: Training Dynamic Graphs with Spatio-Temporal Non-Uniformity using Graph Partitioning by Chunks7 Sep 2023
- 2023iLoRE: Dynamic Graph Representation with Instant Long-term Modeling and Re-occurrence Preservation5 Sep 2023
- 2023BenchTemp: A General Benchmark for Evaluating Temporal Graph Neural Networks31 Aug 2023
- 2023SPEED: Streaming Partition and Parallel Acceleration for Temporal Interaction Graph Embedding27 Aug 2023
- 2023Spear and Shield: Adversarial Attacks and Defense Methods for Model-Based Link Prediction on Continuous-Time Dynamic Graphs21 Aug 2023
- 2023DistTGL: Distributed Memory-Based Temporal Graph Neural Network Training14 Jul 2023
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphs3 Jul 2023
- 2023A Survey on Graph Neural Network Acceleration: Algorithms, Systems, and Customized Hardware24 Jun 2023
- 2023Decoupled Graph Neural Networks for Large Dynamic Graphs14 May 2023
- 2023Analysis of different temporal graph neural network configurations on dynamic graphs2 May 2023
- 2023DGNN-Booster: A Generic FPGA Accelerator Framework For Dynamic Graph Neural Network Inference13 Apr 2023
- 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Library23 Mar 2023
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learning6 Mar 2023
- 2023Do We Really Need Complicated Model Architectures For Temporal Networks?22 Feb 2023
- 2023TIGER: Temporal Interaction Graph Embedding with Restarts13 Feb 2023
- 2023Graph Neural Networks for temporal graphs: State of the art, open challenges, and opportunities2 Feb 2023
50 newest of 59 All 59 (JSON)
- 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Librarycited by 154
- 2023Do We Really Need Complicated Model Architectures For Temporal Networks?cited by 141
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 137
- 2023Graph Neural Networks for temporal graphs: State of the art, open challenges, and opportunitiescited by 60
- 2022Neighborhood-aware Scalable Temporal Network Representation Learningcited by 54
- 2024A Comprehensive Survey of Dynamic Graph Neural Networks: Models, Frameworks, Benchmarks, Experiments and Challengescited by 29
- 2024DTGB: A Comprehensive Benchmark for Dynamic Text-Attributed Graphscited by 26
- 2023Spatio-Temporal Graph Neural Networks: A Surveycited by 23
- 2024A survey of dynamic graph neural networkscited by 21
- 2023A Survey on Graph Neural Network Acceleration: Algorithms, Systems, and Customized Hardwarecited by 18
- 2023TIGER: Temporal Interaction Graph Embedding with Restartscited by 17
- 2022A Comprehensive Survey on Distributed Training of Graph Neural Networkscited by 15
12 most cited of 59 All 59 (JSON)
- 2026Scaling Graph Neural Networks for Friend Recommendation: Multi-Hash User Embeddings and Temporal Neighbor Sampling27 Aug 2026
- 2026Directly Optimizing Mean Demographic Parity for Nonlinear Regression6 Jul 2026
- 2026Poisson-Gamma Modeling of Inter-Relational Dependencies in Dynamic Knowledge Graphs3 Jul 2026
- 2026Towards Improved Anomaly Detection for Cloud Cybersecurity via Graph Neural Networks27 Jun 2026
- 2026Coden: Efficient Temporal Graph Neural Networks for Continuous Prediction13 Feb 2026
- 2025TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphs8 Oct 2025
- 2025Rapid training of Hamiltonian graph networks using random features6 Jun 2025
- 2025FLASH: Flexible Learning of Adaptive Sampling from History in Temporal Graph Neural Networks9 Apr 2025
- 2025Simple yet Effective Node Property Prediction on Edge Streams under Distribution Shifts1 Apr 2025
- 2025Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Models18 Mar 2025
- 2025A Selective Learning Method for Temporal Graph Continual Learning3 Mar 2025
- 2025A Survey of Link Prediction in Temporal Networks28 Feb 2025
12 newest of 59 All 59 (JSON)