[Paper Review] Generation of Synthetic Electronic Health Records Using a Federated GAN
This paper proposes a federated generative adversarial network (GAN) to generate high-fidelity synthetic electronic health records (EHRs) from decentralized ICU patient diagnosis data without exposing raw data. It demonstrates that federated training across multiple hospitals preserves synthetic data quality comparable to centralized training, with no significant drop in statistical or clinical evaluation metrics.
Sensitive medical data is often subject to strict usage constraints. In this paper, we trained a generative adversarial network (GAN) on real-world electronic health records (EHR). It was then used to create a data-set of "fake" patients through synthetic data generation (SDG) to circumvent usage constraints. This real-world data was tabular, binary, intensive care unit (ICU) patient diagnosis data. The entire data-set was split into separate data silos to mimic real-world scenarios where multiple ICU units across different hospitals may have similarly structured data-sets within their own organisations but do not have access to each other's data-sets. We implemented federated learning (FL) to train separate GANs locally at each organisation, using their unique data silo and then combining the GANs into a single central GAN, without any siloed data ever being exposed. This global, central GAN was then used to generate the synthetic patients data-set. We performed an evaluation of these synthetic patients with statistical measures and through a structured review by a group of medical professionals. It was shown that there was no significant reduction in the quality of the synthetic EHR when we moved between training a single central model and training on separate data silos with individual models before combining them into a central model. This was true for both the statistical evaluation (Root Mean Square Error (RMSE) of 0.0154 for single-source vs. RMSE of 0.0169 for dual-source federated) and also for the medical professionals' evaluation (no quality difference between EHR generated from a single source and EHR generated from multiple sources).
Motivation & Objective
- To address privacy constraints in sharing sensitive electronic health records (EHRs) by generating synthetic EHRs that preserve statistical properties without exposing real patient data.
- To enable collaborative EHR data generation across multiple hospitals with isolated data silos, where data cannot be shared due to privacy regulations.
- To evaluate whether federated GAN training maintains the quality of synthetic EHRs compared to centralized training on a single data source.
- To validate synthetic EHRs using both statistical metrics and clinical expert review to ensure realism and utility for research and model training.
Proposed method
- Trained a conditional GAN on binary ICD-9 diagnosis codes from the MIMIC-III EHR dataset, mapping each patient to a 1,071-dimensional binary vector.
- Implemented a federated learning framework where each hospital (data silo) trained a local GAN independently on its own data without sharing raw records.
- Aggregated local generator and discriminator models into a global central GAN without transmitting any raw patient data across institutions.
- Used Wasserstein GAN with Gradient Penalty (WGAN-GP) to mitigate mode collapse, though reverted to standard GAN due to quality degradation.
- Evaluated synthetic data using Root Mean Square Error (RMSE) against real data distributions and cosine similarity to detect potential membership leakage.
- Conducted a structured clinical review by medical professionals to assess the realism and clinical plausibility of generated EHRs.
Experimental results
Research questions
- RQ1Can a federated GAN generate synthetic EHRs of comparable quality to a centralized GAN when trained on decentralized, isolated data silos?
- RQ2Does federated training across multiple hospitals lead to a measurable decline in the statistical fidelity of synthetic EHRs compared to single-source training?
- RQ3How do medical professionals perceive the realism and clinical plausibility of synthetic EHRs generated via federated GANs?
- RQ4To what extent do privacy checks—such as duplicate matching and cosine similarity—confirm that synthetic patients are not identifiable from real patients?
- RQ5Can WGAN-GP effectively prevent mode collapse in synthetic EHR generation without sacrificing data quality?
Key findings
- The federated GAN achieved an RMSE of 0.0169 for dual-silo training, compared to 0.0154 for single-source training, indicating minimal degradation in statistical quality.
- No exact matches were found between any real patient diagnosis vector and synthetic patients across all models, confirming no direct data leakage.
- The mean minimum cosine distance between real and synthetic patients was 0.4698 (dual silos), with only a small fraction (under 0.1) falling within 0.1 similarity, indicating low risk of membership inference.
- Medical professionals found no significant difference in quality between synthetic EHRs generated from a single source versus multiple federated sources.
- While WGAN-GP reduced mode collapse, it caused a notable drop in data quality, leading the authors to retain the standard GAN architecture.
- The study confirms that federated GANs can generate high-quality synthetic EHRs without compromising privacy or utility, even under strict data-sharing constraints.
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.