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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Collaborative Synthesis of Patient Records through Multi-Visit Health State Inference cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- Generating Multi-Table Time Series EHR from Latent Space with Minimal Preprocessing cites Membership Inference Attacks Against Machine Learning Models
Cited 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 on10
- 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
- RePrompT: Recurrent Prompt Tuning for Integrating Structured EHR Encoders with Large Language ModelsArya Hadizadeh Moghaddam, Drew Ross, Mohsen Nayebi Kerdabadi, Dongjie Wang et al.ACL Findings 2026
- DualAlign: Generating Clinically Grounded Synthetic DataRumeng Li, Xun Wang, Hong YuACL Findings 2026 · 1 citation
