Introduction
Traffic forecasting is a critical component of intelligent transportation systems, yet it remains a challenging task due to the complex, non-linear, and "entangled" spatial-temporal dependencies inherent in road networks. For instance, a traffic incident at one location (spatial) can propagate and affect traffic flow at a distant location after a certain time interval (temporal).
Traditional Spatial-Temporal Graph Neural Networks (STGNNs) often struggle with two primary limitations. First, they typically process spatial and temporal dependencies sequentially or independently, failing to capture direct "cross dependencies" between different locations at different times. Second, many models rely on static graph structures based on fixed physical distances, which cannot adapt to the dynamic nature of traffic where the influence between nodes shifts based on time of day or congestion levels.
To address these issues, we present the Dynamic Spatial-Temporal Cross Graph Convolution Network (DSTCGCN). This framework jointly models spatial and temporal dependencies through a dynamic cross-graph construction module and an efficient frequency-domain attention mechanism.
Methodology
The DSTCGCN architecture is built upon a Gated Recurrent Unit (GRU) backbone, where standard linear transformations are replaced by specialized graph convolution layers. The framework introduces three core innovations:
1. FFT-Based Attentive Selector
Standard self-attention mechanisms suffer from quadratic computational complexity ($O(T^2)$), making them inefficient for long historical sequences. DSTCGCN utilizes a Fast Fourier Transform (FFT)-based selector to identify the most relevant historical time steps. By projecting data into the frequency domain, the model captures global temporal patterns and selects "neighboring" time steps with high relevance more efficiently than time-domain attention.
2. Dynamic Cross Graph Construction
Rather than using a predefined adjacency matrix, DSTCGCN generates graphs dynamically using node and time embeddings. It constructs:
- Spatial Graph ($A_S$): Captures instantaneous relationships between sensors.
- Temporal Connection Graph ($A_T$): Models how a node's past states influence its future states.
- Fused Cross Graph ($A_C$): Combines spatial and temporal graphs into a directed, upper-triangular matrix. This structure ensures that information only flows strictly from the past to the future, capturing cross-dimensional dependencies.
3. Parameter Decomposition
To maintain computational efficiency and mitigate overfitting, the model employs a parameter decomposition technique. This allows the generation of weights for graph convolutions using a smaller set of learnable basis vectors, significantly reducing the total parameter count while preserving model expressiveness.
Experimental Setup
The performance of DSTCGCN was evaluated on six large-scale real-world traffic datasets, including PEMS03, PEMS04, PEMS07, and PEMS08 for traffic flow, and METR-LA and PEMS-BAY for traffic speed. These benchmarks cover a wide range of sensor counts (170 to 883) and diverse geographic regions, providing a comprehensive test of the model's robustness and generalizability.
Results and Discussion
DSTCGCN achieves state-of-the-art (SOTA) performance across all tested datasets. Key findings include:
- Superior Accuracy: The model achieved an average 11.47% relative reduction in MAPE across the four traffic flow datasets compared to previous SOTA baselines like STGCN and AGCRN.
- Efficiency and Scalability: Despite its sophisticated architecture, DSTCGCN is highly efficient. On the PEMS07 dataset, it demonstrated training speeds nearly twice as fast as TraverseNet while maintaining a lower parameter footprint than STSGCN.
- The Power of Joint Modeling: Ablation studies confirmed that the joint modeling of spatial and temporal dimensions via the cross-graph fusion is superior to sequential processing. Visualizations of the learned dynamic matrices further revealed that the influence between sensors varies significantly over time, validating the need for dynamic graph construction.
Conclusion
DSTCGCN represents a significant advancement in traffic forecasting by effectively capturing dynamic cross-dimensional dependencies. By leveraging FFT for efficient attention and dynamic fused graphs for spatial-temporal modeling, it provides a high-accuracy, computationally efficient solution for complex network predictions. Future research will focus on introducing sparsity to the dynamic graphs to further improve efficiency and exploring causal discovery methods to enhance the interpretability of traffic propagation patterns.
Summary updated