Abstract
Electronic Health Records (EHRs) represent a critical resource for clinical research, yet their utility is often constrained by privacy regulations and inherent data pathologies such as missingness and class imbalance. This review examines the application of Generative Adversarial Networks (GANs) in synthesizing high-fidelity EHR data. We discuss architectural adaptations for discrete and temporal data, specialized tasks like imputation and causal inference, and the multi-dimensional frameworks required for evaluation. By providing a roadmap for synthetic data generation, this work highlights how GANs can bridge the gap between data privacy and clinical utility.
Introduction
The secondary use of Electronic Health Records (EHRs) is frequently hindered by stringent privacy laws like HIPAA and GDPR. Furthermore, real-world medical datasets often exhibit "data pathologies," including extreme class imbalances for rare diseases, high rates of missing values, and a complex mixture of tabular and time-series data. Generative Adversarial Networks (GANs) have emerged as a powerful tool to generate synthetic data that is statistically indistinguishable from real patient records, enabling research and model development without compromising patient confidentiality.
Methods and Architectural Adaptations
GANs consist of two competing neural networks: a Generator ($G$) that creates synthetic samples and a Discriminator ($D$) that attempts to distinguish them from real data. In the context of EHRs, standard GANs must be adapted to handle specific data types and structures.
- Discrete and Tabular Data: Medical codes (e.g., ICD-10) are discrete. Models like medGAN utilize autoencoders to map these into a continuous space, while CorGAN uses convolutional layers to capture feature correlations.
- Temporal Modeling: For longitudinal data like ICU monitors, RGAN and RCGAN employ Recurrent Neural Networks (RNNs) to preserve temporal dependencies.
- Specialized Tasks: Beyond generation, GAIN (Generative Adversarial Imputation Nets) addresses missingness by treating it as a generation problem. GANITE focuses on causal inference by generating counterfactual outcomes to predict treatment effects.
Evaluation and Data Sources
Evaluating synthetic EHRs is multi-dimensional, focusing on three key pillars:
- Fidelity: The statistical similarity between real and synthetic distributions.
- Utility: The "Train on Synthetic, Test on Real" (TSTR) framework, where models trained on synthetic data are evaluated on real-world performance.
- Privacy: Resistance to attacks, such as Membership Inference, often bolstered by integrating Differential Privacy (DP) during training.
Commonly used datasets for benchmarking include MIMIC-III (ICU data), eICU, and HiRID. For treatment effect validation, data from Randomized Controlled Trials (RCTs) like MAGGIC are frequently employed.
Key Insights and Results
The review highlights a fundamental "Privacy-Utility" trade-off: increasing privacy via noise (e.g., DP) often degrades clinical signal. However, several studies show that synthetic data can achieve performance parity, with AUROC scores for tasks like mortality prediction falling within 1-5% of those trained on real data. GAN-based imputation also consistently outperforms traditional methods like MICE, especially in datasets with non-random missingness.
Conclusion and Future Directions
While GANs show great promise, the field lacks standardization in evaluation metrics. Future research must move toward multimodal generation—linking structured data with clinical notes and medical imaging—and improving the "medical plausibility" of synthetic records through clinician-in-the-loop validation.
Summary updated