In the Intelligent Public Transportation Systems (IPTS) domain, predicting the number of commuters on-board, entering or leaving a metro train or a bus, i.e. the Passenger Flow (PF), is crucial for optimizing resource allocation and enhancing commuter satisfaction. In urban scenarios, the public transport system is often managed by distinct competing mobility providers. Traditional centralized machine learning models for PF prediction usually require data sharing among such competitors, leading to privacy and economic concerns. To overcome these issues, we propose exploiting Federated Learning (FL) in the PF predictions problem, as only model parameters must be shared among entities. Still, a straightforward application of FL can have some pitfalls. On one hand, it is widely recognized that FL can struggle with data heterogeneity, which is likely in the case of data acquired by distinct companies managing different public mobility services. Moreover, spatio-temporal features are not explicitly handled by classical FL. In this paper, we propose FedFlow: a personalized federated learning framework tailored for PF prediction. The proposed framework encompasses a personalized mechanism meant to refine local models based on client similarities, calculated by only leveraging publicly available domain-dependent information. The proposed framework has been experimentally validated on mobility data collected in a major Italian city, comparing FL predictions obtained by FedFlow against those obtained by LSTM models trained on local data, centralized data, FedAvg, and PerFedAvg. Results show that FedFlow outperforms all the considered adversary techniques. This work demonstrates that our proposal of personalized FL is effective in predicting PF while ensuring data privacy.

Fedflow: a personalized federated learning framework for passenger flow prediction / Rocco Di Torrepadula, Franca; Fisichella, Marco; Di Martino, Sergio; Mazzocca, Nicola. - In: MACHINE LEARNING. - ISSN 0885-6125. - 114:7(2025). [10.1007/s10994-025-06795-0]

Fedflow: a personalized federated learning framework for passenger flow prediction

Rocco di Torrepadula, Franca;Di Martino, Sergio;Mazzocca, Nicola
2025

Abstract

In the Intelligent Public Transportation Systems (IPTS) domain, predicting the number of commuters on-board, entering or leaving a metro train or a bus, i.e. the Passenger Flow (PF), is crucial for optimizing resource allocation and enhancing commuter satisfaction. In urban scenarios, the public transport system is often managed by distinct competing mobility providers. Traditional centralized machine learning models for PF prediction usually require data sharing among such competitors, leading to privacy and economic concerns. To overcome these issues, we propose exploiting Federated Learning (FL) in the PF predictions problem, as only model parameters must be shared among entities. Still, a straightforward application of FL can have some pitfalls. On one hand, it is widely recognized that FL can struggle with data heterogeneity, which is likely in the case of data acquired by distinct companies managing different public mobility services. Moreover, spatio-temporal features are not explicitly handled by classical FL. In this paper, we propose FedFlow: a personalized federated learning framework tailored for PF prediction. The proposed framework encompasses a personalized mechanism meant to refine local models based on client similarities, calculated by only leveraging publicly available domain-dependent information. The proposed framework has been experimentally validated on mobility data collected in a major Italian city, comparing FL predictions obtained by FedFlow against those obtained by LSTM models trained on local data, centralized data, FedAvg, and PerFedAvg. Results show that FedFlow outperforms all the considered adversary techniques. This work demonstrates that our proposal of personalized FL is effective in predicting PF while ensuring data privacy.
2025
Fedflow: a personalized federated learning framework for passenger flow prediction / Rocco Di Torrepadula, Franca; Fisichella, Marco; Di Martino, Sergio; Mazzocca, Nicola. - In: MACHINE LEARNING. - ISSN 0885-6125. - 114:7(2025). [10.1007/s10994-025-06795-0]
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11588/1006295
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact