Introduction
Traffic flow forecasting is a critical component of Intelligent Transportation Systems (ITS), yet it remains a significant challenge due to the highly nonlinear and complex spatio-temporal relationships inherent in urban networks. Traditional approaches often struggle with two primary issues: local over-reliance and global overfitting. GCN-based models typically focus on immediate geographical neighbors, failing to capture "semantic" similarities between distant locations with similar urban functions. Conversely, Transformer-based models can capture long-range dependencies but may ignore physical road constraints, leading to overfitting on non-existent links.
To address these challenges, this paper introduces TSFusion, a hybrid deep learning framework that adaptively fuses local geographical patterns with global functional relationships. By combining Graph Convolutional Networks (GCNs) and Graph Transformers, the model achieves state-of-the-art stability and accuracy even in the presence of data noise or missing values.
The Problem: Spatial Heterogeneity
A key insight of this work is the concept of spatial heterogeneity. Locations that are geographically distant may share the same "urban function"—such as business districts, residential areas, or transportation hubs—and consequently exhibit similar traffic patterns.
As shown in Figure 1, different functional zones (Residential, Train Station, Business, and Transportation Hub) display distinct inflow volume distributions. A standard GCN might miss the correlation between two distant train stations, whereas TSFusion aims to bridge this gap by balancing local physical proximity with global functional similarity.
The TSFusion Framework
The TSFusion architecture is designed to capture multi-grained dependencies through three main components:
- Locally Temporal-Spatial Aggregation (TSE): This module utilizes 1D causal convolutions for time-series trends and graph convolutions for local spatial dependencies, treating the network as a physical map.
- Globally Temporal-Spatial Attention (GTransformer): This component employs a self-attention mechanism to identify correlations between any two nodes, regardless of distance. It incorporates node centrality and shortest-path distances to remain "spatial-aware."
- Adaptive Fusion Module (AFM): Rather than simple concatenation, a Gated Fusion Unit dynamically weights local versus global patterns for each station and time step, acting as a "dimmer switch" to prioritize the most relevant information.
Experimental Evaluation
The model was evaluated on two real-world traffic benchmarks from California: PeMSD4 (San Francisco Bay Area, 307 stations) and PeMSD8 (San Bernardino, 170 stations). TSFusion consistently outperformed seven strong baselines, including DCRNN, STGCN, and Graphormer-T, across various time horizons (15, 30, and 45 minutes).
Key Results
- Accuracy: On PeMSD4 (15-min horizon), TSFusion achieved an MAE of 8.59, compared to 9.01 for STGCN and 8.78 for the standard Graphormer.
- Robustness: The model demonstrated exceptional stability against data noise. Even with 50% missing input data, TSFusion maintained a significant performance lead.
- Ablation Insights: Interestingly, removing the global attention module (TSFusion-nG) caused a larger drop in performance than removing the local aggregation module (TSFusion-nL). This suggests that capturing the "big picture" of city-wide traffic is more critical for precision than local-only analysis.
Conclusion and Future Work
TSFusion provides a robust and accurate framework for traffic forecasting by effectively integrating local and global spatial-temporal features. While the model shows state-of-the-art performance, future work will focus on addressing its computational complexity—as Transformers are more expensive than pure GCNs—and scaling the architecture to city-wide networks with thousands of sensors. Additionally, the authors plan to explore Graph Foundation Models and more advanced adversarial defense mechanisms to ensure stability in real-world deployments.
Summary updated