mlsanityData to 14 Oct 2026

TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphs

arXiv 2510.07586 ↗First posted 8 Oct 2025cs.LG cs.AIcited by 3

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  6. 2017Graph Attention Networkscited by 8,923
  7. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
  8. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  9. 2020A Generalization of Transformer Networks to Graphscited by 661
  10. 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 530
  11. 2020Inductive Representation Learning on Temporal Graphscited by 462
  12. 2019EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphscited by 447
23 more
  1. 2018T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Predictioncited by 401
  2. 2021Spectral Temporal Graph Neural Network for Multivariate Time-series Forecastingcited by 299
  3. 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 288
  4. 2019Representation Learning for Dynamic Graphs: A Surveycited by 265
  5. 2019Time2Vec: Learning a Vector Representation of Timecited by 213
  6. 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Librarycited by 157
  7. 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 138
  8. 2022ROLAND: Graph Learning Framework for Dynamic Graphscited by 132
  9. 2022Towards Better Evaluation for Dynamic Link Predictioncited by 122
  10. 2021PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Modelscited by 118
  11. 2022TGL: A General Framework for Temporal GNN Training on Billion-Scale Graphscited by 61
  12. 2022Neighborhood-aware Scalable Temporal Network Representation Learningcited by 54
  13. 2025PyG 2.0: Scalable Learning on Real World Graphscited by 52
  14. 2024TGB 2.0: A Benchmark for Learning on Temporal Knowledge Graphs and Heterogeneous Graphscited by 36
  15. 2024Improving Temporal Link Prediction via Temporal Walk Matrix Projectioncited by 21
  16. 2020Fast and Accurate Anomaly Detection in Dynamic Graphs with a Two-Pronged Approachcited by 20
  17. 2024Efficient Neural Common Neighbor for Temporal Graph Link Predictioncited by 18
  18. 2024DyGMamba: Efficiently Modeling Long-Term Temporal Dependency on Continuous-Time Dynamic Graphs with State Space Modelscited by 14
  19. 2023DistTGL: Distributed Memory-Based Temporal Graph Neural Network Trainingcited by 12
  20. 2025On the Power of Heuristics in Temporal Graphscited by 11
  21. 2024UTG: Towards a Unified View of Snapshot and Event Based Models for Temporal Graphscited by 10
  22. 2024Enhancing the Expressivity of Temporal Graph Networks through Source-Target Identificationcited by 6
  23. 2023Graph Mixer Networkscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.