PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training

Seth Ockerman, Amal Gueroudji, Tanwi Mallick, Yixuan He, Line Pouchard +2 more
7/15/2025
cs.DCcs.AIcs.LG

No official code found. Best implementation: benedekrozemberczki/pytorch_geometric_temporal (2,992 stars, MIT, PyTorch, last commit 2025-09-18). 1 more below.

Abstract

Spatiotemporal graph neural networks (ST-GNNs) are powerful tools for modeling spatial and temporal data dependencies. However, their applications have been limited primarily to small-scale datasets because of memory constraints. While distributed training offers a solution, current frameworks lack support for spatiotemporal models and overlook the properties of spatiotemporal data. Informed by a scaling study on a large-scale workload, we present PyTorch Geometric Temporal Index (PGT-I), an extension to PyTorch Geometric Temporal that integrates distributed data parallel training and two novel strategies: index-batching and distributed-index-batching. Our index techniques exploit spatiotemporal structure to construct snapshots dynamically at runtime, significantly reducing memory overhead, while distributed-index-batching extends this approach by enabling scalable processing across multiple GPUs. Our techniques enable the first-ever training of an ST-GNN on the entire PeMS dataset without graph partitioning, reducing peak memory usage by up to 89% and achieving up to a 11.78x speedup over standard DDP with 128 GPUs.

View on arXivView PDF

Code Implementations(2)

PyTorchMIT

PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)

2,992402PythonJun 27, 20201 years agoMIT
deep-learninggcngnngraph-convolutiongraph-convolutional-networks+14 more

Code associated with the 2025 SC paper "PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training"

00Shell, PythonJul 7, 20251 years ago

Similar Papers

Cite this paper

@article{ockerman2025pgti,
  title  = {PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training},
  author = {Seth Ockerman and Amal Gueroudji and Tanwi Mallick and Yixuan He and Line Pouchard and Robert Ross and Shivaram Venkataraman},
  year   = {2025},
  eprint = {2507.11683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11683v3}
}

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/2507.11683.svg)](https://codeofpaper.com/paper/2507.11683)

Discussion