Universal EHR Federated Learning Framework

Junu Kim, Kyunghoon Hur, Seongjun Yang, Edward ChoiarXiv 2022

TL;DR

This paper introduces a novel framework that combines UniHPF and Federated Learning (FL) to address the critical challenges of heterogeneous Electronic Health Record (EHR) systems and non-independent and identically distributed (non-i.i.d.) data in healthcare machine learning. By unifying diverse EHR formats and enabling collaborative model training without data sharing, their approach achieves a practical and effective solution for multi-source EHR learning, demonstrating improved predictive performance.

What Problem Does This Paper Address?

Electronic Health Records (EHRs) are a treasure trove of data for machine learning (ML) applications, offering the potential to predict patient health outcomes with high accuracy. However, leveraging this data for ML is hampered by two major obstacles:

  1. Heterogeneous EHR Systems: Hospitals use vastly different systems for storing patient data. These systems have varying schemas, medical codes, and data structures, making it incredibly difficult to combine data from multiple sources.
  2. Non-i.i.d. Data: Even within similar EHR systems, patient populations and data distributions can differ significantly across institutions. This "non-i.i.d." characteristic poses a challenge for standard ML training, especially in a federated setting.

Traditional centralized learning (CL), which requires pooling all data in one place, is often infeasible due to strict privacy regulations surrounding sensitive health information. Federated Learning (FL) offers a privacy-preserving alternative by training models locally on each institution's data and only sharing model updates. However, FL itself struggles with the non-i.i.d. data problem and doesn't inherently solve the EHR system heterogeneity issue. This paper aims to bridge this gap by creating a unified FL framework capable of handling both challenges simultaneously.

Methods

The core of this work lies in the synergistic combination of two key components:

  • UniHPF (Universal Healthcare Predictive Framework): This framework, previously proposed, tackles EHR system heterogeneity by treating EHR data as free text. It linearizes the schema of different EHR events and replaces medical codes with their descriptive text. This process creates a standardized, text-based representation of patient events, making them mutually compatible across diverse EHR systems without requiring domain-specific knowledge or extensive preprocessing.
  • Federated Learning (FL): The authors integrate UniHPF into a federated learning setup. This allows multiple institutions (clients) to train a shared global model collaboratively. Each client trains a local model using its UniHPF-processed EHR data. The model weights are then aggregated by a central server to create an improved global model, which is then sent back to the clients for further training.

To address the non-i.i.d. data challenge within the FL setting, the paper evaluates several well-known FL algorithms: FedAvg, FedProx, FedBN, and FedPxN. These algorithms offer different strategies for handling data heterogeneity during the aggregation process.

Datasets

The study utilizes three publicly available EHR datasets:

  • MIMIC-III: A dataset from a single hospital, split into two cohorts (MIMIC-III-CV and MIMIC-III-MV) based on different EHR systems used.
  • MIMIC-IV: Another dataset from a single hospital.
  • Philips eICU: A multi-center dataset, where the 7 largest hospitals were treated as independent clients to simulate a heterogeneous FL environment.

These datasets represent a diverse range of EHR systems and data distributions, making them suitable for evaluating the proposed framework's ability to handle heterogeneity and non-i.i.d. data.

Key Insights and Ideas

  • UniHPF as a Universal Translator for EHRs: The paper highlights UniHPF's power in acting as a "universal translator" for disparate EHR systems. By converting complex, structured data into a common text format, it removes a significant barrier to multi-source learning in healthcare.
  • FL's Potential for Real-World Healthcare: This work demonstrates that FL, when combined with a robust data harmonization technique like UniHPF, can be practically applied to real-world heterogeneous EHR data, preserving privacy while improving model performance.
  • The Trade-off Between Privacy and Performance: While FL offers privacy benefits, the paper acknowledges that centralized learning still achieves slightly better performance due to its ability to directly access and pool all data, thus eliminating the non-i.i.d. problem. However, the performance gap is significantly narrowed by their proposed FL framework.
  • FL Algorithms Matter for EHR Data: The evaluation of different FL algorithms shows that some are better suited than others for handling the specific challenges of EHR data, with FedBN and FedPxN showing promising results in addressing non-i.i.d. issues.

Key Results

  • The proposed UniHPF + FL framework achieved an average performance gain of 3.4% compared to local learning (training and evaluating on each client's data in isolation).
  • When compared to centralized learning (CL), the FL approach showed a lower performance, but the gap was significantly reduced by their method, indicating effective handling of heterogeneity and non-i.i.d. data.
  • UniHPF alone, when used in a CL setting, demonstrated a 10.4% performance increase over local learning, underscoring its effectiveness in overcoming EHR system heterogeneity.
  • The framework showed resilience even in extreme cases, such as when certain clients lacked specific data types (e.g., drug infusion information), still yielding performance improvements over local learning.

Limitations and Future Work

  • Training Time: The paper notes that FL requires approximately 1.9 times more communication rounds than CL epochs to reach a similar stopping criterion. This suggests that gradient updates in FL might be less accurate per round, impacting efficiency.
  • Room for Improvement in FL Algorithms: While their framework shows promise, the authors acknowledge that there is still room for improvement in FL algorithms specifically tailored for EHR data to further close the performance gap with centralized learning.
  • Future Work: The authors suggest investigating EHR-specific pretraining strategies in conjunction with FL as a promising avenue for future research. They also aim to develop better EHR-specific FL algorithms to enhance gradient accuracy and reduce communication overhead.

Summary updated

BibTeX
@misc{kim2022universal,
  author = {Junu Kim and Kyunghoon Hur and Seongjun Yang and Edward Choi},
  title = {{Universal EHR Federated Learning Framework}},
  year = {2022},
  eprint = {2211.07300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.07300},
}
Figure