[Paper Review] TrafficStream: A Streaming Traffic Flow Forecasting Framework Based on Graph Neural Networks and Continual Learning
TrafficStream proposes a streaming traffic flow forecasting framework using Graph Neural Networks (GNNs) and Continual Learning to handle long-term evolving traffic networks with expanding topologies and shifting traffic patterns. It fuses new traffic patterns via JS-divergence-based feature analysis and consolidates historical knowledge using data replay and parameter smoothing, achieving high accuracy and efficiency comparable to retraining while reducing training time by ~65% compared to full retraining.
With the rapid growth of traffic sensors deployed, a massive amount of traffic flow data are collected, revealing the long-term evolution of traffic flows and the gradual expansion of traffic networks. How to accurately forecasting these traffic flow attracts the attention of researchers as it is of great significance for improving the efficiency of transportation systems. However, existing methods mainly focus on the spatial-temporal correlation of static networks, leaving the problem of efficiently learning models on networks with expansion and evolving patterns less studied. To tackle this problem, we propose a Streaming Traffic Flow Forecasting Framework, TrafficStream, based on Graph Neural Networks (GNNs) and Continual Learning (CL), achieving accurate predictions and high efficiency. Firstly, we design a traffic pattern fusion method, cleverly integrating the new patterns that emerged during the long-term period into the model. A JS-divergence-based algorithm is proposed to mine new traffic patterns. Secondly, we introduce CL to consolidate the knowledge learned previously and transfer them to the current model. Specifically, we adopt two strategies: historical data replay and parameter smoothing. We construct a streaming traffic dataset to verify the efficiency and effectiveness of our model. Extensive experiments demonstrate its excellent potential to extract traffic patterns with high efficiency on long-term streaming network scene. The source code is available at https://github.com/AprLie/TrafficStream.
Motivation & Objective
- To address the challenge of accurate traffic flow forecasting in long-term streaming networks with evolving topologies and node additions.
- To overcome catastrophic forgetting in models trained on static networks when new data and nodes emerge over time.
- To develop a unified framework that efficiently fuses new traffic patterns while preserving previously learned knowledge.
- To enable real-time, scalable deployment of traffic forecasting models in dynamic urban transportation systems.
Proposed method
- Introduces a JS-divergence-based algorithm to detect and quantify changes in node features, identifying new traffic patterns in evolving networks.
- Employs a traffic pattern fusion mechanism to integrate newly detected patterns from both new and existing nodes into the GNN model.
- Applies continual learning via historical data replay to preserve knowledge from past training data and prevent forgetting.
- Uses model parameter smoothing to stabilize learning and improve generalization during incremental updates.
- Constructs a streaming dataset, PEMSD3-Stream, based on real-world PEMS data to evaluate long-term performance.
- Combines GNNs for spatial-temporal dependency modeling with online learning strategies for scalable, incremental training.
Experimental results
Research questions
- RQ1How can a traffic forecasting model effectively adapt to long-term network expansions and evolving traffic patterns without full retraining?
- RQ2What techniques can prevent catastrophic forgetting when new nodes and dynamic patterns emerge in traffic networks?
- RQ3How does combining data replay and parameter smoothing improve knowledge consolidation in streaming GNNs?
- RQ4To what extent can a continual learning-based GNN framework match the accuracy of full retraining while reducing computational cost?
Key findings
- TrafficStream achieves prediction accuracy comparable to full retraining (Retrained-STModel) and state-of-the-art models (STGCN, STSGCN), with MAE, RMSE, and MAPE values within 1-2% of the upper bound.
- The model reduces total training time by approximately 65% compared to retraining, demonstrating high efficiency in long-term deployment.
- Ablation studies confirm that both new pattern fusion and knowledge consolidation are essential: omitting either leads to significant performance drops, especially in catastrophic forgetting scenarios.
- Data replay outperforms parameter smoothing alone in knowledge consolidation, and their combination yields the best results, proving complementary benefits.
- TrafficStream maintains stable performance across all years of the 7-year evaluation, while Expansible-STModel suffers from performance degradation due to forgetting.
- The JS-divergence-based pattern detection effectively identifies evolving traffic patterns, enabling the model to adapt to new nodes and changing dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.