Adaptive Spatio-Temporal Federated Learning for Traffic Flow Prediction: Framework and Aggregation Approaches Evaluation

Read full text
Authors: Basma Alsehaimi, Ohoud Alzamzami, Nahed Alowidi, Manar Salamah Ali
Cited by: 1
References: 47

Abstract

Traffic flow prediction (TFP) is a fundamental component of intelligent transportation systems (ITS) that supports traffic management, congestion mitigation, and route planning. Although recent advances in deep learning have demonstrated strong capability in modeling non-linear spatio-temporal correlations, most existing approaches rely on centralized training paradigms, which incur substantial communication costs, high computational overhead, and significant data privacy risks. Federated Learning (FL) has emerged as a promising alternative by enabling decentralized model training across distributed clients while reducing privacy risks and communication overhead. However, existing FL-based TFP frameworks often employ local models with limited capacity to capture complex spatio-temporal dependencies, and their reliance on the conventional FedAvg aggregation approach restricts robustness under heterogeneous traffic data distributions. To address these challenges, this study proposes the FedASTAM framework, which integrates FL with the Adaptive Spatio-Temporal Attention-based Multi-Model (ASTAM) to effectively model complex and non-linear spatio-temporal traffic correlations in a data-local FL setting. Within FedASTAM, the road network is divided into sub-regions using spectral clustering, allowing each sub-region to train a local ASTAM model tailored to localized and heterogeneous traffic patterns. At the central server, locally trained models are aggregated using seven aggregation schemes, including the classical FedAvg, to optimize global model updates while preserving data locality. Extensive experiments conducted on two real-world benchmark datasets, PeMS04 and PeMS08, demonstrate that FedASTAM achieved strong and stable predictive performance while keeping raw data localized throughout the federated training process. The results further indicate that the aggregation approaches used in the proposed FedASTAM framework generally outperform classical FedAvg under heterogeneous traffic conditions, highlighting FedASTAM as an effective approach for traffic flow prediction in complex, distributed ITS environments.

Fields of Study & Subjects

Traffic Prediction and Management Techniques Traffic control and management Advanced Data and IoT Technologies

Publication details

Journal / source
Applied Sciences
Publisher
MDPI AG
Volume
16
Issue
5
Pages
2402–2402
Publication date
28 February 2026
Language
EN