FedTPS: traffic pattern sharing for personalized federated traffic flow prediction

Published: 01 Jan 2025, Last Modified: 25 Sept 2025Knowl. Inf. Syst. 2025EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: Traffic flow prediction plays a critical role in ensuring the efficiency of transportation systems, which has motivated extensive research into capturing spatial-temporal dependencies within road networks. However, most existing approaches depend on centralized data, potentially raising privacy concerns as traffic data is often managed by different traffic administration departments and restricted from distribution. To address this issue, federated learning (FL) allows collaborative model training without exchanging raw data. Nevertheless, traditional FL methods are designed to optimize a model that performs well globally, making them inadequate for handling the naturally non-independent and identically distributed traffic data across different regions. To overcome this limitation, we propose a new framework termed “personalized Federated learning with Traffic Pattern Sharing” (FedTPS), which exploits the sharing of underlying common traffic patterns across regions while preserving region-specific characteristics in a personalized manner. Specifically, discrete wavelet transform is employed to decompose the traffic data and extract low-frequency components in each client that reflect stable traffic dynamics. The clients then learn representative traffic patterns from these stable traffic dynamics and store them in traffic pattern repositories. Afterward, these repositories are shared with a central server, which enables the identification and integration of common traffic patterns to improve global learning. Meanwhile, the model components capturing spatial-temporal dependencies are retained for local training, ensuring adaptation to region-specific data. Intensive experiments on four real-world traffic datasets firmly demonstrate the superiority of our proposed FedTPS over traditional FL methods across various estimation errors.
Loading