FedWeight: mitigating covariate shift of federated learning on electronic health records data through patients re-weighting
Federated learning (FL) enables collaborative analysis of decentralized medical data while preserving patient privacy. However, the covariate shift from demographic and clinical differences can reduce model generalizability. We propose FedWeight, a novel FL framework that mitigates covariate shift by reweighting patient data from the source sites using density estimators, allowing the trained model to better align with the distribution of the target site. To support unsupervised applications, we introduce FedWeight ETM, a federated embedded topic model. We evaluated FedWeight in cross-site FL on the eICU dataset and cross-dataset FL between eICU and MIMIC III. FedWeight consistently outperforms standard FL baselines in predicting ICU mortality, ventilator use, sepsis diagnosis, and length of stay. SHAP-based interpretation and ETM-based topic modeling reveal improved identification of clinically relevant characteristics and disease topics associated with ICU readmission.
Authors
- Dianbo Liu (ORCID: https://orcid.org/0000-0002-3042-9161)
- David L. Buckeridge (ORCID: https://orcid.org/0000-0003-1817-5047)
- Na Li (ORCID: https://orcid.org/0000-0001-7629-1703)
- Yue Li (ORCID: https://orcid.org/0000-0003-3844-4865)
- Xiaoxiao Li (ORCID: https://orcid.org/0000-0002-0376-5135)
- Jun Bai (ORCID: https://orcid.org/0000-0001-6784-4302)
- He Zhu
Institutions
- University of British Columbia (CA)
- University of Calgary (CA)
- Vector Institute (CA)
- Mila - Quebec Artificial Intelligence Institute (CA)
- McGill University (CA)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2025-05-16
- DOI
- https://doi.org/10.1038/s41746-025-01661-8
- Citations
- 11
- Primary Topic
- Machine Learning in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 27.29
Funders
- Canada Research Chairs
- Canadian Institutes of Health Research
- Natural Sciences and Engineering Research Council of Canada
- Fonds de recherche du Québec – Nature et technologies