[Paper Review] Federated Uncertainty-Aware Learning for Distributed Hospital EHR Data
This paper proposes Federated Uncertainty-Aware Learning Algorithm (FUALA), a novel federated learning framework for distributed electronic health record (EHR) data that improves model robustness by dynamically weighting hospital contributions based on their model generalization performance and enabling ensemble-based uncertainty estimation at inference. FUALA outperforms FedAvg and weighted-FedAvg on preterm birth prediction in out-of-distribution settings, with uncertainty metrics revealing higher prediction variance for high-risk age groups and misclassified cases.
Recent works have shown that applying Machine Learning to Electronic Health Records (EHR) can strongly accelerate precision medicine. This requires developing models based on diverse EHR sources. Federated Learning (FL) has enabled predictive modeling using distributed training which lifted the need of sharing data and compromising privacy. Since models are distributed in FL, it is attractive to devise ensembles of Deep Neural Networks that also assess model uncertainty. We propose a new FL model called Federated Uncertainty-Aware Learning Algorithm (FUALA) that improves on Federated Averaging (FedAvg) in the context of EHR. FUALA embeds uncertainty information in two ways: It reduces the contribution of models with high uncertainty in the aggregated model. It also introduces model ensembling at prediction time by keeping the last layers of each hospital from the final round. In FUALA, the Federator (central node) sends at each round the average model to all hospitals as well as a randomly assigned hospital model update to estimate its generalization on that hospital own data. Each hospital sends back its model update as well a generalization estimation of the assigned model. At prediction time, the model outputs C predictions for each sample where C is the number of hospital models. The experimental analysis conducted on a cohort of 87K deliveries for the task of preterm-birth prediction showed that the proposed approach outperforms FedAvg when evaluated on out-of-distribution data. We illustrated how uncertainty could be measured using the proposed approach.
Motivation & Objective
- To address the challenge of non-i.i.d. data and privacy constraints in training machine learning models on distributed EHR data across hospitals.
- To improve model generalization and reliability in healthcare FL by incorporating uncertainty estimation into the federated training process.
- To reduce the influence of low-performing or overconfident models in federated averaging by using generalization performance as a dynamic weighting mechanism.
- To enable uncertainty-aware inference through model ensembling using the final layers of each hospital’s model.
- To evaluate the proposed method on a real-world preterm birth prediction task using 87K EHR records from 42 hospitals.
Proposed method
- FUALA extends FedAvg by introducing a central Federator that sends the global model and a randomly assigned hospital model update to each hospital for generalization evaluation.
- Each hospital trains the global model locally for E epochs and computes a generalization metric (AU-ROC + PR-AUC)/2 for the assigned model on its own data.
- The Federator uses the computed generalization scores as dynamic sampling weights for model aggregation, reducing contribution from hospitals with poor generalization.
- At inference, the final prediction is an ensemble of C predictions from the last layers of each hospital’s model, enabling uncertainty estimation via prediction variance.
- The model uses RETAIN as the base architecture with two parallel RNN branches and a shared logistic output layer for sequence modeling of EHR events.
- Uncertainty is quantified using the standard deviation of the ensemble predictions, with higher variance indicating lower confidence.
Experimental results
Research questions
- RQ1Can dynamic model weighting based on generalization performance improve federated learning performance on non-i.i.d. EHR data?
- RQ2How does ensemble-based uncertainty estimation enhance model reliability in preterm birth prediction under distribution shift?
- RQ3Does FUALA outperform FedAvg and weighted-FedAvg in terms of AU-ROC and AU-PR on out-of-distribution test data?
- RQ4How does prediction uncertainty vary across different maternal age groups and classification outcomes?
- RQ5Can uncertainty metrics be used to identify high-risk or misclassified cases in clinical prediction models?
Key findings
- FUALA achieved an AU-ROC of 67.8 ± 2.7 and AU-PR of 19.6 ± 4.3 on the test set, outperforming FedAvg (62.2 ± 2.2 AU-ROC, 18.6 ± 2.9 AU-PR) and weighted-FedAvg (63.5 ± 2.7 AU-ROC, 14.7 ± 3.0 AU-PR).
- The model showed higher uncertainty (greater prediction variance) for preterm birth predictions in maternal age groups >41, indicating lower confidence in high-risk cases.
- For misclassified samples, approximately 17 out of 35 models in the ensemble disagreed on the predicted class, demonstrating high uncertainty in incorrect predictions.
- Predictions near 0 or 1 had low variance, indicating high confidence, while intermediate probabilities showed higher uncertainty.
- The generalization performance metric used for weighting improved over rounds as different hospitals were assigned for evaluation, leading to better aggregation weights.
- The ensemble-based uncertainty estimation revealed that model disagreement correlates strongly with prediction error, supporting its use for rejection or alerting mechanisms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.