[Paper Review] Online Spatio-Temporal Correlation-Based Federated Learning for Traffic Flow Forecasting
This paper proposes FedOSTC, a novel online spatio-temporal correlation-based federated learning framework for traffic flow forecasting that enables real-time model updates via online gradient descent. By dynamically modeling spatial correlations with Graph Attention Networks and employing a period-aware aggregation mechanism, FedOSTC achieves superior prediction accuracy and generalization over batch-learning FL methods on real-world datasets.
Traffic flow forecasting (TFF) is of great importance to the construction of Intelligent Transportation Systems (ITS). To mitigate communication burden and tackle with the problem of privacy leakage aroused by centralized forecasting methods, Federated Learning (FL) has been applied to TFF. However, existing FL-based approaches employ batch learning manner, which makes the pre-trained models inapplicable to subsequent traffic data, thus exhibiting subpar prediction performance. In this paper, we perform the first study of forecasting traffic flow adopting Online Learning (OL) manner in FL framework and then propose a novel prediction method named Online Spatio-Temporal Correlation-based Federated Learning (FedOSTC), aiming to guarantee performance gains regardless of traffic fluctuation. Specifically, clients employ Gated Recurrent Unit (GRU)-based encoders to obtain the internal temporal patterns inside traffic data sequences. Then, the central server evaluates spatial correlation among clients via Graph Attention Network (GAT), catering to the dynamic changes of spatial closeness caused by traffic fluctuation. Furthermore, to improve the generalization of the global model for upcoming traffic data, a period-aware aggregation mechanism is proposed to aggregate the local models which are optimized using Online Gradient Descent (OGD) algorithm at clients. We perform comprehensive experiments on two real-world datasets to validate the efficiency and effectiveness of our proposed method and the numerical results demonstrate the superiority of FedOSTC.
Motivation & Objective
- Address the limitations of batch-learning federated learning in traffic flow forecasting, where pre-trained models fail to adapt to dynamic traffic fluctuations.
- Enable real-time, incremental model updates in a privacy-preserving federated learning setting to support low-latency traffic forecasting.
- Improve the generalization of the global model by dynamically assessing spatial correlations among clients and incorporating periodic patterns in model aggregation.
- Overcome the poor adaptability of standard averaging aggregation in FL by introducing a period-aware weighted aggregation mechanism.
Proposed method
- Clients use GRU-based encoders to extract internal temporal patterns from sequential traffic speed data.
- The central server employs a Graph Attention Network (GAT) to dynamically evaluate spatial correlations among clients based on real-time traffic data.
- Local models are updated using Online Gradient Descent (OGD) in an incremental manner after each new data observation.
- A period-aware aggregation mechanism weights local models based on their temporal periodicity and prediction performance to enhance global model generalization.
- The framework integrates online learning with federated learning to support continual adaptation to changing traffic patterns without retraining.
- The global model is updated iteratively using weighted averages of locally optimized models, with weights determined by periodicity and performance.
Experimental results
Research questions
- RQ1Can online learning in a federated setting improve traffic flow forecasting performance compared to batch learning methods?
- RQ2How can spatial correlations among traffic nodes be dynamically evaluated in a federated learning framework to adapt to traffic fluctuations?
- RQ3Does incorporating periodic patterns in model aggregation enhance the generalization of the global model in traffic forecasting?
- RQ4To what extent does the proposed period-aware aggregation mechanism reduce prediction error variance across clients?
Key findings
- FedOSTC outperforms all baseline methods, including state-of-the-art FL and centralized models, in terms of RMSE and MAE on both METR-LA and PEMS-BAY datasets.
- The prediction error variance across clients is significantly lower in FedOSTC than in FedAvgOn, indicating superior generalization ability.
- The method achieves lower RMSE and MAE than CNFGNN, the best existing FL method, with a much smaller deviation from ground truth values.
- Increasing local epochs improves prediction accuracy but increases computational cost, suggesting a trade-off between performance and resource usage.
- The period-aware aggregation mechanism effectively enhances model generalization, especially in dynamic traffic conditions.
- Online learning with incremental updates enables real-time adaptation, avoiding the need for retraining and reducing prediction latency.
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.