PatchSTG: Scalable Spatiotemporal Graph Transformers for Traffic Forecasting on Irregular Sensor Networks
Summary
PatchSTG introduces a patch-based spatiotemporal graph Transformer for traffic forecasting on irregular sensor networks, achieving near-linear complexity while maintaining competitive performance.
View Cached Full Text
Cached at: 06/10/26, 06:14 AM
# PatchSTG: Scalable Spatiotemporal Graph Transformers for Traffic Forecasting on Irregular Sensor Networks Source: [https://arxiv.org/abs/2606.09872](https://arxiv.org/abs/2606.09872) [View PDF](https://arxiv.org/pdf/2606.09872) > Abstract:Traffic forecasting is a fundamental component of intelligent transportation systems, yet remains challenging in real\-world settings due to irregular sensor distributions and the high computational cost of modeling large\-scale spatiotemporal dependencies\. In practical traffic networks, sensors are unevenly distributed across regions, leading to non\-uniform spatial structures that limit the effectiveness and scalability of existing graph\-based and attention\-based models\. To address these challenges, we propose PatchSTG, a patch\-based spatiotemporal graph Transformer designed for efficient forecasting on irregular sensor networks\. The key idea is to introduce a hierarchical spatial representation that partitions sensors into balanced, locality\-preserving patches based on geographic information\. On top of this structure, a dual attention encoder alternates between intra\-patch attention for capturing local interactions and inter\-patch attention for modeling global dependencies, reducing computational complexity from quadratic to near\-linear scaling\. We evaluate PatchSTG on real\-world traffic data from Rhode Island and additional large\-scale datasets\. Experimental results demonstrate that the proposed model achieves stable and competitive forecasting performance across multiple horizons, while significantly improving computational efficiency\. Ablation studies further validate the effectiveness of spatial partitioning and dual attention in capturing both local and long\-range traffic dynamics\. These results suggest that patch\-based spatiotemporal modeling provides a scalable and effective framework for traffic forecasting under irregular spatial settings\. ## Submission history From: Xuanming Shi \[[view email](https://arxiv.org/show-email/ce016d85/2606.09872)\] **\[v1\]**Tue, 2 Jun 2026 09:53:28 UTC \(2,081 KB\)
Similar Articles
Spatiotemporal Graph Transformer for Traffic Intelligence in Edge Computing
This paper proposes a spatiotemporal graph Transformer framework for traffic forecasting in edge computing, combining graph neural networks for spatial correlations and Transformer self-attention for long-range temporal dependencies. Experiments on real-world cellular data show it outperforms recurrent graph-based baselines like GCN-LSTM and GCN-GRU.
STAGformer: A Spatio-temporal Agent Graph Transformer for Micro Mobility Demand Forecasting
STAGformer introduces a spatio-temporal agent graph transformer with linear complexity for bike-sharing demand forecasting, outperforming baselines on NYC and Chicago datasets.
Rethinking Patch Based Multivariate Time Series Forecasting with Semantic Structured Partitioning
The paper proposes SCPaT, a Transformer-based framework for multivariate time series forecasting that uses semantic structured partitioning to address limitations in existing patch-based methods and demonstrates effectiveness on real-world datasets.
STKAN: Kolmogorov-Arnold Networks for Spatio-Temporal Forecasting
This paper introduces STKAN, a spatio-temporal forecasting architecture that integrates Taylor-polynomial Kolmogorov-Arnold Network modules for spatial and temporal token mixing. Experiments on five traffic benchmarks show competitive performance, suggesting nonlinear function approximators can complement architectural design.
Do We Really Need Transformers for Global Spatial Information Extraction in Traffic Forecasting?
This paper investigates whether complex transformer-based attention is necessary for global spatial information extraction in traffic forecasting, finding that simple global aggregation operators achieve comparable performance with lower computational complexity.