Federated Learning for Cross-Regional Epidemic Forecasting with Asynchronous Outbreaks
Authors: Ruibin Liu, Francisco Fernandes, Xuanfeng Li, Zige Liu, André Salgado, Chitin Hon, Zifeng Yang, Arlindo Oliveira, Ana Teresa Freitas
Organizations: 1Respiratory Disease AI Laboratory in Epidemic Intelligence and Applications of Medical Big Data Instruments, Faculty of Innovation Engineering, Macau University of Science and Technology, Taipa, Macau SAR, China. · Institute of Systems Engineering, Macau University of Science and Technology, Taipa, Macau SAR, China. · 3INESC-ID, Instituto Superior Técnico, University of Lisbon, 1649-004 Lisbon, Portugal · 4National Clinical Research Center for Respiratory Disease, State Key Laboratory of Respiratory Disease, Guangzhou Institute of Respiratory Health, the First affiliated Hospital of Guangzhou Medical University, Guangzhou Medical University, Guangzhou, Guangdong, 510120, P.R. China.
Objective: Epidemic outbreaks are often asynchronous across regions, yet collaborative forecasting is hampered by privacy laws and heterogeneous public health interventions. We developed and evaluated, as a proof of concept, a federated learning (FL) framework for cross-regional COVID-19 forecasting under asynchronous outbreaks among Guangdong, Macau, and Portugal, while maintaining data sovereignty. Methods: Using daily case data from WHO and China CDC for the three regions, whose outbreaks were asynchronous and interventions heterogeneous, we trained Long Short-Term Memory networks via FL for short-term forecasting, benchmarked against localized and centralized training using Root Mean Square Error, Mean Absolute Error, and Symmetric Mean Absolute Percentage Error. All experiments used the Flower FL framework with consistent hyperparameters across sites. Publicly available, aggregated case-count data were used so that the centralized benchmark could be computed as a reference. Results: The dataset comprised 1,233 daily observations (411 days) of new confirmed COVID-19 cases from November 24, 2021, to January 8, 2023. The earlier Omicron wave in Portugal supplied transmission dynamics that improved forecasts in the later-onset regions of Macau and Guangdong. The FL model achieved a normalized Root Mean Square Error of 0.028, an 88.3% improvement over the local model (0.240) and comparable to the centralized model, with network overhead mainly determined by model size and aggregation rounds. Conclusion: FL achieved short-term forecasting accuracy close to centralized training while maintaining data residency, with acceptable overhead. Leveraging asynchronous outbreaks across regions may offer a practical path to privacy-preserving collaborative forecasting, though prospective validation is required.
Figures & tables
Figure 1: Workflow for a generic server-based FL training process: (1) global model initialization, (2) distrubute global parameters to clients, (3) model trained on local data, (4) clients upload parameters to aggregation server, (5) aggregation of local parameters into new global parameters, (6) repeat steps 2-5.
Ref
Year
Prediction target
Datasets
Models
Metrics
[ 32 ]
2021
Vulnerability risk map
88 neighborhoods of Houston
LSTM
RMSE
[ 33 ]
2022
Crowd flow
Crowd travel trajectories
CNN-LSTM
RMSE, MAE, MAPE
[ 34 ]
2023
Active cases per day
36 provinces in India
CNN-based model
RMSE, MAE
Table 1: Examples of federated learning applications for COVID-related time-series prediction. These studies used different models but more or less the same metrics for the models evaluations. Models: Long short-term memory (LSTM); Convolutional Neural Networks and LSTM (CNN-LSTM); CNN-based model. Metrics: Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and Mean Absolute Percentage Error (MAPE).
Figure 2: Raw data corresponding to the reported new COVID-19 cases for the three locations (from left to right: Portugal, Macau SAR, Guangdong) in the time period ranging from 2021-11-24 to 2023-01-08, a total of 14 months.
Figure 3: Experimental design of the project, including (A) data processing and the three model designs: (B) Local, (C) Centralized and (D) Federated.
Specification
Client No.1
Client No.2
Client No.3
Aggregation Server
Location
Lisbon, Portugal
Guangzhou, China
Macau SAR, China
Lisbon, Portugal
Institution
INESC-ID
GMU
MUST
INESC-ID
Memory
2GB
8GB
8GB
2GB
Storage
25GB
40GB
500GB
25GB
OS
Ubuntu 22.04
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS
Virtualization
KVM
KVM
VMware ESXi
KVM
Table 2: Hardware configuration of the FL platform
Figure 4: Comparative 7-day ahead prediction results from the L-LSTM, C-LSTM, and F-LSTM models. The red line represents the observed real data; the green and blue lines represent the L-LSTM and C-LSTM predictions, respectively; the purple line indicates the point predictions from the proposed F-LSTM model; and the shaded area denotes the 95% prediction intervals (PIs) for the F-LSTM model, which are derived from the empirical distribution of test-set residuals with a non-negativity constraint to quantify forecast uncertainty.
Ahead days
Location
Method
nRMSE
nMAE
SMAPE
1
Portugal
L-LSTM
0.051
0.051
66.756
C-LSTM
0.010
0.010
28.133
F-LSTM
0.001
0.001
3.086
Guangdong
L-LSTM
0.486
0.359
100.000
C-LSTM
0.017
0.012
3.083
F-LSTM
0.030
0.022
6.034
Table 3: Performance metrics comparison for 1-day ahead and 7-day ahead predictions across three regions. The best-performing metrics are highlighted in bold (lower values indicate higher accuracy). All metrics are calculated based on normalized data to ensure comparability across regions with different population scales.
Figure 5: Training loss across 200 rounds for each one of the three locations (from top to bottom: Portugal, Guangdong, Macau). After round 71 the loss starts to oscillate heavily.
Size (MB)
↑ Sent
↓ Received
Total
Portugal
40.3
80.0
120.3
Guangdong
40.1
80.0
120.1
Macau
40.1
80.0
120.1
Server
240.1
120.4
360.6
Table 4: Network data transfers for the F-LSTM training with 200 rounds across four nodes consisting of one server and three clients. Measurements include the number of packets sent/uploaded (Tx), received/downloaded (Rx) and total data transferred (Total).
Location
L-LSTM
C-LSTM
F-LSTM
Per round
Total
Portugal
1.090
4.212
2.237
447.4
Guangdong
4.071
5.876
2.237
447.4
Macau
2.563
4.533
2.237
447.4
Average
2.574
4.871
2.237
447.4
Table 5: Training times comparison between L-LSTM, C-LSTM, and F-LSTM models across Portugal, Guangdong, and Macau datasets (time in seconds).
Epidemic forecasting predicts disease incidence, outbreaks, and healthcare burden across time and regions to guide surveillance and public-health decisions.
Privacy-sensitive and distributed characteristics of multi-center medical data bring severe obstacles to centralized modeling for accurate early prediction of sepsis. Federated learning (FL) has attracted growing attention as a promising framework for collaborative model development, as it allows multiple institutions to jointly train predictive models without directly sharing or centralizing raw data. Nevertheless, its practical performance, robustness, and privacy-preserving benefits remain insufficiently evaluated using real-world clinical datasets. To bridge this gap, this study systematically examines the application of federated learning to multi-center sepsis prediction. The experimental dataset consists of 648 clinically screened samples collected from three tertiary hospitals in China, with rigorous inclusion and exclusion criteria. We establish a centralized training paradigm as the performance baseline, and then implement a horizontal federated learning framework for distributed collaborative modeling. Extensive experimental results demonstrate that the federated learning-based model achieves highly comparable prediction accuracy to the centralized counterpart, while fundamentally avoiding privacy leakage. Further privacy security analysis verifies that malicious attackers cannot reconstruct the original patient data from the transmitted model parameters, indicating strong resistance against data reconstruction attacks. This work not only validates the practicality and security of federated learning in clinical sepsis prediction, but also provides a reliable and feasible solution for privacy-preserving multi-center medical collaboration.
Xixi Tian, Di Wu, Xiang Liu +4
College of Computer and Information Science Southwest University Chongqing, China · Department of Anesthesiology Southwest Hospital Chongqing, China
Background: This study aims to develop and validate federated learning models for predicting major postoperative complications and mortality using a large multicenter dataset from the OneFlorida Data Trust. We hypothesize that federated learning models will offer robust generalizability while preserving data privacy and security. Methods: This retrospective, longitudinal, multicenter cohort study included 358,644 adult patients admitted to five healthcare institutions, who underwent 494,163 inpatient major surgical procedures from 2012-2023. We developed and internally and externally validated federated learning models to predict the postoperative risk of intensive care unit (ICU) admission, mechanical ventilation (MV) therapy, acute kidney injury (AKI), and in-hospital mortality. These models were compared with local models trained on data from a single center and central models trained on a pooled dataset from all centers. Performance was primarily evaluated using area under the receiver operating characteristics curve (AUROC) and the area under the precision-recall curve (AUPRC) values. Results: Our federated learning models demonstrated strong predictive performance, with AUROC scores consistently comparable or superior performance in terms of AUROC and AUPRC across all outcomes and sites. Our federated learning models also demonstrated strong generalizability, with comparable or superior performance in terms of both AUROC and AUPRC compared to the best local learning model at each site. Conclusions: By leveraging multicenter data, we developed robust, generalizable, and privacy-preserving predictive models for major postoperative complications and mortality. These findings support the feasibility of federated learning in clinical decision support systems.
Yuanfang Ren, Varun Sai Vemuri, Zhenhong Hu +6
Intelligent Clinical Care Center, University of Florida, Gainesville, FL. · Department of Medicine, Division of Nephrology, Hypertension, and Renal Transplantation, University of Florida, Gainesville, FL. · Department of Surgery, University of Florida, Gainesville, FL. +1
Accurate diagnostic and risk-prediction models are important for supporting clinical decision-making during infectious disease outbreaks. However, privacy and governance requirements may restrict patient-level data sharing across healthcare institutions, and data distributions often vary. Moreover, AUC is widely used to evaluate discriminative performance, motivating its direct optimization in model development. We propose geographically regularized AUC-maximizing personalized federated learning (GrAUC-PFL), which directly optimizes a smooth pairwise AUC surrogate to learn personalized models while keeping patient-level data local and accounting for institutional heterogeneity. Graph-based regularization encourages geographically neighboring institutions to have similar coefficient vectors while retaining a personalized models. Simulations and a real-data application suggest improved discriminative performance, particularly when geographically neighboring institutions have similar data-generating characteristics.
Mayu Hiraishi, Kensuke Tanioka, Toshio Shimokawa
Department of Medicine · Wakayama Medical University · Wakayama, Japan +3