Papers › Generating Synthetic Mixed-type Longitudinal Electronic Health Records for Artificial...

Generating Synthetic Mixed-type Longitudinal Electronic Health Records for Artificial Intelligent Applications

22 Dec 2021arXiv:2112.12047archive 2025-07-28

Jin Li, Benjamin J. Cairns, Jingsong Li, Tingting Zhu

The recent availability of electronic health records (EHRs) have provided enormous opportunities to develop artificial intelligence (AI) algorithms. However, patient privacy has become a major concern that limits data sharing across hospital settings and subsequently hinders the advances in AI. Synthetic data, which benefits from the development and proliferation of generative models, has served as a promising substitute for real patient EHR data. However, the current generative models are limited as they only generate single type of clinical data for a synthetic patient, i.e., either continuous-valued or discrete-valued. To mimic the nature of clinical decision-making which encompasses various data types/sources, in this study, we propose a generative adversarial network (GAN) entitled EHR-M-GAN which simultaneously synthesizes mixed-type timeseries EHR data. EHR-M-GAN is capable of capturing the multidimensional, heterogeneous, and correlated temporal dynamics in patient trajectories. We have validated EHR-M-GAN on three publicly-available intensive care unit databases with records from a total of 141,488 unique patients, and performed privacy risk evaluation of the proposed model. EHR-M-GAN has demonstrated its superiority over state-of-the-art benchmarks for synthesizing clinical timeseries with high fidelity, while addressing the limitations regarding data types and dimensionality in the current generative models. Notably, prediction models for outcomes of intensive care performed significantly better when training data was augmented with the addition of EHR-M-GAN-generated timeseries. EHR-M-GAN may have use in developing AI algorithms in resource-limited settings, lowering the barrier for data acquisition while preserving patient privacy.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2112.12047")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jli0117/ehrmgan officialmentioned in papermentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jli0117/ehrmgan. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

discriminative_score_metrics jli0117/ehrmgan/evaluation_metrics/discriminative_score.py official repository unverified MIT (permissive) · eac07ad064140fb3 · report
init_matrix jli0117/ehrmgan/Bilateral_lstm_cell.py official repository unverified MIT (permissive) · fe7576dad8d6e998 · report
max_mean_discrepency jli0117/ehrmgan/evaluation_metrics/max_mean_discrepency.py official repository unverified MIT (permissive) · fddd650b59328ce6 · report
mix_rbf_mmd2 jli0117/ehrmgan/evaluation_metrics/max_mean_discrepency.py official repository unverified MIT (permissive) · e5a39bfa72af61a1 · report
nt_xent_loss jli0117/ehrmgan/Contrastivelosslayer.py official repository unverified MIT (permissive) · 5d3a359984491a63 · report
ones_target jli0117/ehrmgan/utils.py official repository unverified MIT (permissive) · 8ba234eb0c809be6 · report
recurrent_unit_bilateral jli0117/ehrmgan/Bilateral_lstm_cell.py official repository unverified MIT (permissive) · 3db276d318dd7509 · report
renormlizer jli0117/ehrmgan/utils.py official repository unverified MIT (permissive) · 1d47c7a99331b616 · report
rnn_init_state jli0117/ehrmgan/init_state.py official repository unverified MIT (permissive) · da4605a7a48238cf · report
zeros_target jli0117/ehrmgan/utils.py official repository unverified MIT (permissive) · 725e80c00b720185 · report

Tasks

Decision Making

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections