Abstract
Predicting traffic flow is a fundamental challenge in urban computing, complicated by non-static temporal patterns and intricate spatial relationships. Existing models often fail to account for "period shifting"—where traffic cycles vary due to external factors—and the importance of local relative flow between sensors. We present TSSRGCN, a model that utilizes Cycle-Based Dilated Deformable Convolutions to adapt to temporal shifts and a dual-retrieval spatial mechanism to balance global and local network states. Experimental results on PeMSD3 and PeMSD7 datasets show that TSSRGCN achieves state-of-the-art performance, especially in medium-to-long-term predictions.
Introduction
Traffic forecasting faces two primary hurdles: temporal fluidity and the gap between local and global spatial features. Traffic cycles are not perfectly rhythmic; events like accidents or weather can shift peak hours. Furthermore, while absolute traffic volume (globality) is important, the relative difference between adjacent sensors (locality) often provides a more immediate signal of forming bottlenecks. TSSRGCN addresses these by making temporal kernels "elastic" and explicitly modeling road segments (edges) alongside sensors (nodes).
Methodology
The TSSRGCN architecture integrates two innovative components to capture the dynamic nature of traffic networks.
Cycle-Based Dilated Deformable Convolution (CBDDC)
To address period shifting, TSSRGCN employs deformable convolutions. Unlike standard fixed-grid convolutions, deformable offsets allow the model to learn dynamic shifts in the temporal window. By combining this with dilated convolutions, the model can efficiently capture long-range periodic dependencies (e.g., daily or weekly cycles) while adjusting for small temporal perturbations.
Spectral Spatial Retrieval Graph Convolution (SSRGC)
The SSRGC block processes spatial complexity through three distinct layers:
- Spectral Retrieval Layer: Aggregates information from upstream and downstream neighbors using directional diffusion.
- Spatial Retrieval Layer: Explicitly models edges by calculating the difference between connected nodes, capturing "locality" or relative flow.
- Aggregation Layer: Fuses node and edge representations to provide a holistic view of the network's state.
Experiments and Results
The model was evaluated on the PeMSD3 and PeMSD7 datasets from the California Performance Measurement System, using 5-minute interval data to predict flow for 15, 30, and 60-minute horizons.
As shown in the results for PeMSD3, TSSRGCN consistently achieves the lowest error rates. Notably, for the 60-minute horizon, it reached an MAE of 14.22, a significant improvement over the next best baseline, STSGCN (17.61). This performance gap highlights the effectiveness of the CBDDC block in maintaining stability over longer forecasting horizons. Similar trends were observed in the larger PeMSD7 dataset, confirming the model's scalability.
Conclusion
TSSRGCN advances traffic forecasting by treating temporal periodicity as elastic and spatial relationships as a combination of global status and local flow. By incorporating deformable convolutions and edge-aware graph processing, the model provides more robust and accurate predictions across varying urban scales. Future work may involve integrating external data sources like weather and social events to further enhance the model's adaptive capabilities.
Summary updated