PromptEHR: Conditional Electronic Healthcare Records Generation with Prompt Learning
Zifeng Wang, Jimeng Sun
Abstract
Accessing longitudinal multimodal Electronic Healthcare Records (EHRs) is challenging due to privacy concerns, which hinders the use of ML for healthcare applications. Synthetic EHRs generation bypasses the need to share sensitive real patient records. However, existing methods generate single-modal EHRs by unconditional generation or by longitudinal inference, which falls short of low flexibility and makes unrealistic EHRs. In this work, we propose to formulate EHRs generation as a text-to-text translation task by language models (LMs), which suffices to highly flexible event imputation during generation. We also design prompt learning to control the generation conditioned by numerical and categorical demographic features. We evaluate synthetic EHRs quality by two perplexity measures accounting for their longitudinal pattern (longitudinal imputation perplexity, lpl) and the connections cross modalities (cross-modality imputation perplexity, mpl). Moreover, we utilize two adversaries: membership and attribute inference attacks for privacy-preserving evaluation. Experiments on MIMIC-III data demonstrate the superiority of our methods on realistic EHRs generation (53.1% decrease of lpl and 45.3% decrease of mpl on average compared to the best baselines) with low privacy risks. 1
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 68e5129f-2ae8-49b6-8076-4da52b95e847Cited by top-tier papers5
- Knowledge-Augmented Multimodal Clinical Rationale Generation for Disease Diagnosis with Small Language ModelsShuai Niu, Jing Ma, Hongzhan Lin, Liang Bai et al.ACL 2025 · 5 citations
- Synthesizing Multimodal Electronic Health Records via Predictive Diffusion ModelsYuan Zhong, Xiaochen Wang, Jiaqi Wang, Xiaokun Zhang et al.KDD 2024 · 4 citations
- Learnable Prompt as Pseudo-Imputation: Rethinking the Necessity of Traditional EHR Data Imputation in Downstream Clinical PredictionWeibin Liao, Yinghao Zhu, Zhongji Zhang, Yuhang Wang et al.KDD 2025 · 2 citations
- Collaborative Synthesis of Patient Records through Multi-Visit Health State InferenceHongda Sun, Hongzhan Lin, Rui YanAAAI 2024
- Generating Multi-Table Time Series EHR from Latent Space with Minimal PreprocessingEunbyeol Cho, Jiyoun Kim, Minjae Lee, Sungjin Park et al.NeurIPS 2025
Builds on8
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
Related papers
- MedDiTPro: A Prompt-Guided Diffusion Transformer for Multimodal Longitudinal Medical Data SynthesisYuan Zhong, Xiaochen Wang, Jiaqi Wang, Xiaokun Zhang et al.KDD 2025
- A Flexible Generative Model for Heterogeneous Tabular EHR with Missing ModalityHuan He, William Hao, Yuanzhe Xi, Yong Chen et al.ICLR 2024 · 16 citations
- Critic–Adviser–Reviser Cyclic Refinement: Towards High-Quality EMR Corpus Generation with LLMsChen Ning, Xien Liu, Chenwei Yan, Xiao Zhang et al.ICLR 2026
- IGAMT: Privacy-Preserving Electronic Health Record Synthesization with Heterogeneity and IrregularityWenjie Wang, Pengfei Tang, Jian Lou, Yuanming Shao et al.AAAI 2024 · 7 citations
- Synthetic Text Generation with Differential Privacy: A Simple and Practical RecipeXiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar et al.ACL 2023 · 24 citations
