Federated and Differentially Private Learning for Electronic Health Records.

Stephen R. Pfohl, Andrew M. Dai, Katherine A. HellerarXiv 2019

Abstract

The use of collaborative and decentralized machine learning techniques such as federated learning have the potential to enable the development and deployment of clinical risk predictions models in low-resource settings without requiring sensitive data be shared or stored in a central repository. This process necessitates communication of model weights or updates between collaborating entities, but it is unclear to what extent patient privacy is compromised as a result. To gain insight into this question, we study the efficacy of centralized versus federated learning in both private and non-private settings. The clinical prediction tasks we consider are the prediction of prolonged length of stay and in-hospital mortality across thirty one hospitals in the eICU Collaborative Research Database. We find that while it is straightforward to apply differentially private stochastic gradient descent to achieve strong privacy bounds when training in a centralized setting, it is considerably more difficult to do so in the federated setting.

Introduction

Machine learning has immense potential in healthcare, but clinical data is usually locked in "private silos" across different hospitals. Sharing raw patient data is often impossible due to legal, ethical, and privacy concerns. Two technologies aim to solve this: Federated Learning (FL), which allows models to be trained across multiple institutions without moving raw data, and Differential Privacy (DP), which adds mathematical noise to ensure individual data points cannot be identified. While FL keeps data local, it doesn't provide formal privacy guarantees. This paper explores the intersection of both: building high-performing clinical models that are both federated and differentially private.

Methodology

The researchers compared four primary training scenarios for two clinical tasks: predicting mortality and prolonged length of stay.

  • Local Training: Each hospital trains its own model using only its own data.
  • Centralized Training: Data from all hospitals is pooled (the performance "gold standard").
  • Federated Averaging (FedAvg): Hospitals share model weights with a central server for averaging.
  • Differentially Private SGD (DP-SGD): Applied in both centralized and federated settings, involving gradient clipping and Gaussian noise.

The study utilized the eICU Collaborative Research Database (eICU-CRD), focusing on 31 hospitals with at least 1,000 admissions, totaling 65,509 labeled admissions. Features included lab results, medications, diagnoses, and demographics from the first 24 hours of ICU stay.

Results

A key finding was the "Federated Gap." While centralized DP training achieved strong privacy ($\epsilon \approx 1$) with only a minor dip in accuracy, the federated version struggled significantly.

Table 1: Performance comparison (AUC-ROC) for Local, Central, and Federated models across 31 hospitals.

As shown in the table above, centralized and federated learning improved results over local training for roughly a third of the hospitals for length of stay, but the benefit was less pronounced for mortality prediction. For many hospitals, the "boost" from seeing data from other institutions wasn't statistically significant, likely due to inherent heterogeneity between sites.

For the mortality task, the impact of privacy constraints was particularly evident.

Figure 3: Area Under the ROC Curve vs. Privacy Epsilon for Hospital Mortality at 24 Hours, comparing DP-SGD to the non-private baseline.

In the centralized setting, mortality prediction AUC dropped from 0.876 to 0.832 at $\epsilon \approx 1$. However, in the federated setting with DP, performance often dropped to levels that would make the models far less useful for clinical decision support.

Discussion and Limitations

The study highlights several major hurdles for practical deployment:

  1. The Hidden Cost of Tuning: Choosing hyperparameters like noise levels in DP is itself a "privacy leak." Finding the best settings often consumes a significant portion of the privacy budget.
  2. Data Heterogeneity: The variation in performance across hospitals suggests that a single global model may not be optimal; personalized federated learning could be more effective.
  3. Sensitivity to Hyperparameters: DP-FL is incredibly sensitive to choices like gradient clipping thresholds.

Future work should explore alternative architectures like Cyclical Weight Transfer or Split Learning to determine if they are more compatible with differential privacy in a decentralized healthcare environment.

Summary updated

BibTeX
@misc{pfohl2019federated,
  author = {Stephen R. Pfohl and Andrew M. Dai and Katherine A. Heller},
  title = {{Federated and Differentially Private Learning for Electronic Health Records.}},
  year = {2019},
  eprint = {1911.05861},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.05861},
}
Figure