Abstract
Accurate long-term traffic forecasting is essential for intelligent transportation systems. While temporal dependencies are often captured by recurrent models, the complex spatial relationships inherent in road networks and the limitations of global information extraction in long sequences remain significant challenges. This paper introduces the Spatial-Temporal Graph-Informer (STGIN), a novel architecture that combines Graph Attention Networks (GAT) for spatial feature extraction with the Informer’s efficient attention mechanism for long-term temporal modeling. Experimental results on real-world datasets demonstrate that STGIN significantly outperforms traditional methods in long-sequence prediction.
Introduction: The Challenge of Traffic Forecasting
Predicting traffic speed is a complex task because it involves understanding both spatial and temporal dynamics. Traffic patterns are inherently spatial-temporal: congestion at one intersection quickly propagates to adjacent roads (spatial), and daily routines create repeating patterns over time (temporal).
Existing deep learning approaches face several hurdles:
- Recurrent Neural Networks (RNNs): Models like LSTMs and GRUs often suffer from vanishing gradients, making it difficult to capture long-range dependencies and global patterns.
- Convolutional Neural Networks (CNNs): While effective for grid-like data, CNNs struggle with the "non-Euclidean" nature of road networks, where connectivity doesn't follow a simple grid.
- Standard Transformers: Although capable of long-range modeling, their quadratic computational complexity ($O(L^2)$) makes them impractical for high-resolution, long-duration traffic data.
The STGIN Architecture
The STGIN model addresses these limitations through a multi-stage approach that respects the physical structure of the road network while efficiently processing long historical sequences.
Spatial Modeling with GAT
To capture the complex topological structure of roads, STGIN employs Graph Attention Networks (GAT). By treating sensors as nodes and their physical connections as edges, GAT dynamically assigns weights to neighboring nodes. This allows the model to prioritize the most influential adjacent roads when predicting the state of a specific node.
Temporal Modeling with Informer
For long-sequence temporal extraction, the model leverages the Informer architecture. Its key innovation, ProbSparse Self-attention, reduces computational complexity to $O(L \log L)$. It achieves this by identifying and focusing on the most "active" time steps, effectively filtering out noise and retaining critical long-term signals.
Feature Convolution Aggregator (FCA)
Before spatial-temporal processing, the Feature Convolution Aggregator (FCA) combines raw traffic data with external factors, such as time-of-day information, to create a comprehensive feature set for the subsequent layers.
Experimental Validation
The researchers evaluated STGIN using two real-world benchmarks:
- SZ-taxi: Traffic speed data from 156 roads in Shenzhen, China, collected in January 2015.
- Los-loop: Data from 207 sensors on the Los Angeles highway system, recorded in March 2012.
Both datasets provide data at 5-minute intervals, allowing for high-resolution analysis of urban mobility patterns.
Key Insights and Results
STGIN consistently outperformed baseline models, including ARIMA, GRU, and standard Transformers, across various forecasting horizons (15 to 60 minutes).
- High Accuracy: The model achieved a peak accuracy of 92% on the Los-loop dataset, with overall performance exceeding 85% across benchmarks.
- Significant Error Reduction: Compared to the traditional ARIMA model, STGIN reduced the Root Mean Squared Error (RMSE) by 49.7% for 15-minute forecasts on Los-loop.
- Stability in Long-Term Forecasting: Unlike many models that degrade quickly as the prediction horizon increases, STGIN maintains steady performance, proving the effectiveness of combining spatial context with efficient long-term attention.
Conclusion and Future Directions
STGIN demonstrates that integrating spatial graph structures with efficient temporal attention is a powerful strategy for traffic forecasting. While the model excels at capturing periodic patterns, future work will focus on improving its resilience to "black swan" events, such as accidents or extreme weather, by incorporating real-time external data feeds directly into the GAT-Informer pipeline.
Summary updated