TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphs
Not on the map. Why?
Abstract (arXiv)
Well-designed open-source software drives progress in Machine Learning (ML) research. While static graph ML enjoys mature frameworks like PyTorch Geometric and DGL, ML for temporal graphs (TG), networks that evolve over time, lacks comparable infrastructure. Existing TG libraries are often tailored to specific architectures, hindering support for diverse models in this rapidly evolving field. Additionally, the divide between continuous- and discrete-time dynamic graph methods (CTDG and DTDG) limits direct comparisons and idea transfer. To address these gaps, we introduce Temporal Graph Modelling (TGM), a research-oriented library for ML on temporal graphs, the first to unify CTDG and DTDG approaches. TGM offers first-class support for dynamic node features, time-granularity conversions, and native handling of link-, node-, and graph-level tasks. Empirically, TGM achieves an average 7.8x speedup across multiple models, datasets, and tasks compared to the widely used DyGLib, and an average 175x speedup on graph discretization relative to available implementations. Beyond efficiency, we show in our experiments how TGM unlocks entirely new research possibilities by enabling dynamic graph property prediction and time-driven training paradigms, opening the door to questions previously impractical to study. TGM is available at https://github.com/tgm-team/tgm
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 35 of its 47 references that are in the map. First posted on arXiv 8 Oct 2025.
Builds on
35 of 47 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 530
- 2020Inductive Representation Learning on Temporal Graphscited by 462
- 2019EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphscited by 447
23 more
- 2018T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Predictioncited by 401
- 2021Spectral Temporal Graph Neural Network for Multivariate Time-series Forecastingcited by 299
- 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 288
- 2019Representation Learning for Dynamic Graphs: A Surveycited by 265
- 2019Time2Vec: Learning a Vector Representation of Timecited by 213
- 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Librarycited by 157
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 138
- 2022ROLAND: Graph Learning Framework for Dynamic Graphscited by 132
- 2022Towards Better Evaluation for Dynamic Link Predictioncited by 122
- 2021PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Modelscited by 118
- 2022TGL: A General Framework for Temporal GNN Training on Billion-Scale Graphscited by 61
- 2022Neighborhood-aware Scalable Temporal Network Representation Learningcited by 54
- 2025PyG 2.0: Scalable Learning on Real World Graphscited by 52
- 2024TGB 2.0: A Benchmark for Learning on Temporal Knowledge Graphs and Heterogeneous Graphscited by 36
- 2024Improving Temporal Link Prediction via Temporal Walk Matrix Projectioncited by 21
- 2020Fast and Accurate Anomaly Detection in Dynamic Graphs with a Two-Pronged Approachcited by 20
- 2024Efficient Neural Common Neighbor for Temporal Graph Link Predictioncited by 18
- 2024DyGMamba: Efficiently Modeling Long-Term Temporal Dependency on Continuous-Time Dynamic Graphs with State Space Modelscited by 14
- 2023DistTGL: Distributed Memory-Based Temporal Graph Neural Network Trainingcited by 12
- 2025On the Power of Heuristics in Temporal Graphscited by 11
- 2024UTG: Towards a Unified View of Snapshot and Event Based Models for Temporal Graphscited by 10
- 2024Enhancing the Expressivity of Temporal Graph Networks through Source-Target Identificationcited by 6
- 2023Graph Mixer Networkscited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Forecasting Ionospheric Irregularities on GNSS Lines of Sight Using Dynamic Graphs with Ephemeris Conditioningcited by 0
- 2026Institutional Equity Holdings Prediction Using Node Affinities of Dynamic Graphscited by 0
- 2026EdgeReMIND: A Scalable, Top-Ranked Memorization Baseline for Temporal Multi-Relational Link Predictioncited by 0
- 2026EdgeReMIND: A Scalable, Top-Ranked Memorization Baseline for Temporal Multi-Relational Link Prediction15 Sep 2026
- 2026Institutional Equity Holdings Prediction Using Node Affinities of Dynamic Graphs13 Jul 2026
- 2026Forecasting Ionospheric Irregularities on GNSS Lines of Sight Using Dynamic Graphs with Ephemeris Conditioning20 Apr 2026