SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.15290 · 2023

Reliable Generation of Privacy-preserving Synthetic Electronic Health Record Time Series via Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
muhangtian/timediff canonical 7 of 11
FunctionStatusWhere it lives
count_params Ran muhangtian/timediff/etdiff_train.py
pointer only (licence: NONE) · get_code("616b5e82dd2a38f9")
model_path_to_sample_path Ran muhangtian/timediff/etdiff_train.py
pointer only (licence: NONE) · get_code("1489da8832ce102d")
regular_transform_to_features Ran muhangtian/timediff/eval_samples.py
pointer only (licence: NONE) · get_code("78a62e9f2b2428d3")
replace_nan_with_other_np Ran muhangtian/timediff/baselines/timegan_train.py
pointer only (licence: NONE) · get_code("f60c7d75d7b89020")
reverse_normalize Ran muhangtian/timediff/baselines/gtgan_train.py
pointer only (licence: NONE) · get_code("a804179b8725758b")
reverse_to_nonan_indicator_2d Ran muhangtian/timediff/eval_samples.py
pointer only (licence: NONE) · get_code("6d9291e185e14832")
train_val_split Ran muhangtian/timediff/baselines/halo_train.py
pointer only (licence: NONE) · get_code("19841fc582fd6a91")
run_epoch Not yet run muhangtian/timediff/baselines/crnngan_train.py
pointer only (licence: NONE) · get_code("f95042366cbc7997")
run_training Not yet run muhangtian/timediff/baselines/crnngan_train.py
pointer only (licence: NONE) · get_code("6c25783534d01d1d")
run_validation Not yet run muhangtian/timediff/baselines/crnngan_train.py
pointer only (licence: NONE) · get_code("a14451aeea7b385f")
train_test_divide Not yet run muhangtian/timediff/baselines/gtgan_train.py
pointer only (licence: NONE) · get_code("fa0e9e549b6bff3f")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Electronic Health Records (EHRs) are rich sources of patient-level data, offering valuable resources for medical data analysis. However, privacy concerns often restrict access to EHRs, hindering downstream analysis. Current EHR de-identification methods are flawed and can lead to potential privacy leakage. Additionally, existing publicly available EHR databases are limited, preventing the advancement of medical research using EHR. This study aims to overcome these challenges by generating realistic and privacy-preserving synthetic electronic health records (EHRs) time series efficiently. We introduce a new method for generating diverse and realistic synthetic EHR time series data using Denoising Diffusion Probabilistic Models (DDPM). We conducted experiments on six databases: Medical Information Mart for Intensive Care III and IV (MIMIC-III/IV), the eICU Collaborative Research Database (eICU), and non-EHR datasets on Stocks and Energy. We compared our proposed method with eight existing methods. Our results demonstrate that our approach significantly outperforms all existing methods in terms of data fidelity while requiring less training effort. Additionally, data generated by our method yields a lower discriminative accuracy compared to other baseline methods, indicating the proposed method can generate data with less privacy risk. The proposed diffusion-model-based method can reliably and efficiently generate synthetic EHR time series, which facilitates the downstream medical data analysis. Our numerical results show the superiority of the proposed method over all other existing methods.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.15290")
get_code_for_paper("2310.15290")
have("2310.15290")

Connect an agent — have() is free.