Abstract
Traffic state forecasting is essential for intelligent transportation systems, yet long-term predictions on large-scale networks remain computationally prohibitive. This paper presents a highly efficient approach to long-term traffic forecasting by combining Spatio-Temporal Graph Neural Networks (GNNs) with a dynamic sparse training strategy. By employing a "drop-and-grow" weight pruning method, the authors achieve a 10x reduction in computational costs (FLOPs) and significant memory savings while maintaining high prediction accuracy on real-world traffic data from Los Angeles.
Introduction
Predicting traffic states—specifically speed—is vital for urban management, but it is notoriously difficult for "long-term" horizons exceeding 30 minutes. Traffic is inherently a spatial problem; a bottleneck at one intersection ripples through the network over time. While Graph Neural Networks (GNNs) are excellent at capturing these spatio-temporal dependencies, they are computationally heavy. Training state-of-the-art GNNs on large-scale road networks often requires massive GPU clusters. This research addresses this "compute wall" by developing a method to train these models efficiently without sacrificing the accuracy required for reliable urban planning.
Methodology
The proposed framework includes two model architectures: GCN-STGT (Graph Convolutional Network) and GAT-STGT (Graph Attention Network). Both architectures follow a three-stage pipeline:
- Spatial Feature Extraction: A GNN layer processes the road network. The GCN variant uses fixed weights based on road distance, while the GAT variant utilizes a self-attention mechanism to learn the relative importance of neighboring sensors.
- Temporal Feature Extraction: The spatial outputs are processed by a two-layer Long Short-Term Memory (LSTM) block to capture time-series patterns.
- Dynamic Sparse Training: This is the core innovation. Instead of post-training pruning, the authors utilize Dynamic Sparse Training. The process begins with a random sparse mask (e.g., 90% sparsity). Periodically, weights with the lowest magnitudes are "dropped," and new weights are "grown" in positions with the highest gradients. This maintains a constant, low number of active parameters throughout training.
Experimental Evaluation
The study utilizes data from the Caltrans Performance Measurement System (PeMS), specifically District 7 (Los Angeles), encompassing 2,471 sensor stations. The models were trained on data from May and June 2019. To evaluate robustness, transfer testing was conducted across three distinct periods: Summer 2019 (TP1), Winter 2019/20 (TP2), and Summer 2020 (TP3), capturing seasonal shifts and pandemic-related traffic changes.
Results and Discussion
The authors observed the "Occam’s Hill" phenomenon, where model performance stabilizes or even improves at moderate sparsity levels, suggesting that sparsification acts as a form of regularization by removing noise from the parameter space.
Key results include:
- Computational Efficiency: The sparse training method achieved a 10x reduction in FLOPs compared to dense training.
- Accuracy Retention: Even at 90% sparsity, the models showed minimal accuracy loss. For a 45-minute horizon, the GAT-STGT model maintained a Mean Absolute Percentage Error (MAPE) of approximately 3-6% during the training period.
- Attention vs. Topology: GAT-STGT generally outperformed GCN-STGT, indicating that learnable attention mechanisms capture subtle network dependencies better than physical distance alone.
Conclusion
By significantly reducing computational requirements, this approach enables frequent model retraining on edge devices or mid-range servers, which is crucial for adapting to rapidly changing urban traffic patterns. While the model demonstrates strong performance, its "zero-shot" transferability across seasons is limited, suggesting that periodic retraining remains necessary. Future work will explore higher sparsity levels and automated hyperparameter optimization.
Summary updated