Synthesize Extremely High-dimensional Longitudinal Electronic Health Records via Hierarchical Autoregressive Language Model
Authors:
Preprint
Abstract
Synthetic electronic health records (EHRs) that are both realistic and preserve privacy can serve as an alternative to real EHRs for machine learning (ML) modeling and statistical analysis. However, generating high-fidelity and granular electronic health record (EHR) data in its original, highly-dimensional form poses challenges for existing methods due to the complexities inherent in high-dimensional data. In this paper, we propose Hierarchical Autoregressive Language mOdel (HALO) for generating longitudinal high-dimensional EHR, which preserve the statistical properties of real EHR and can be used to train accurate ML models without privacy concerns. Our HALO method, designed as a hierarchical autoregressive model, generates a probability density function of medical codes, clinical visits, and patient records, allowing for the generation of realistic EHR data in its original, unaggregated form without the need for variable selection or aggregation. Additionally, our model also produces high-quality continuous variables in a longitudinal and probabilistic manner. We conducted extensive experiments and demonstrate that HALO can generate high-fidelity EHR data with high-dimensional disease code probabilities (d > 10,000), disease co-occurrence probabilities within visits (d > 1,000,000), and conditional probabilities across consecutive visits (d > 5,000,000) and achieve above 0.9 R2 correlation in comparison to real EHR data. This performance then enables downstream ML models trained on its synthetic data to achieve comparable accuracy to models trained on real data (0.938 AUROC with HALO data vs. 0.943 with real data). Finally, using a combination of real and synthetic data enhances the accuracy of ML models beyond that achieved by using only real EHR data.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- A Multifaceted benchmarking of synthetic electronic health record generation modelsNature Communications, 2022
- SynTEG: a framework for temporal structured electronic health data simulationJournal of the American Medical Informatics Association, 2021
- Generating high-fidelity synthetic patient data for assessing machine learning healthcare softwarenpj Digital Medicine, 2020
- Generation and evaluation of privacy preserving synthetic health dataNeurocomputing, 2020
- Advancing informatics with electronic medical records bots (EMRBots)Software Impacts, 2019
- Ensuring electronic medical record simulation through better training, modeling, and evaluationJournal of the American Medical Informatics Association, 2019
- Multitask learning and benchmarking with clinical time series dataScientific Data, 2019
- Synthesizing electronic health records using improved generative adversarial networksJournal of the American Medical Informatics Association, 2018
- Synthea: An approach, method, and software mechanism for generating synthetic patients and the synthetic electronic health care recordJournal of the American Medical Informatics Association, 2017
- MIMIC-III, a freely accessible critical care databaseScientific Data, 2016