[Paper Review] Synthesizing Mixed-type Electronic Health Records using Diffusion Models
This paper proposes TabDDPM, a diffusion model tailored for generating mixed-type electronic health records (EHRs) with both continuous and categorical features. By combining Gaussian and multinomial diffusion processes, TabDDPM outperforms state-of-the-art models in data quality, utility, and data augmentation across four EHR datasets, though it shows reduced privacy protection due to higher sample realism—highlighting a critical trade-off in synthetic EHR generation.
Electronic Health Records (EHRs) contain sensitive patient information, which presents privacy concerns when sharing such data. Synthetic data generation is a promising solution to mitigate these risks, often relying on deep generative models such as Generative Adversarial Networks (GANs). However, recent studies have shown that diffusion models offer several advantages over GANs, such as generation of more realistic synthetic data and stable training in generating data modalities, including image, text, and sound. In this work, we investigate the potential of diffusion models for generating realistic mixed-type tabular EHRs, comparing TabDDPM model with existing methods on four datasets in terms of data quality, utility, privacy, and augmentation. Our experiments demonstrate that TabDDPM outperforms the state-of-the-art models across all evaluation metrics, except for privacy, which confirms the trade-off between privacy and utility.
Motivation & Objective
- To address the challenge of generating realistic synthetic EHRs that preserve both continuous and categorical features while ensuring data utility.
- To evaluate the performance of diffusion models—specifically TabDDPM—against existing generative models in EHR synthesis across data quality, privacy, utility, and data augmentation.
- To investigate the privacy implications of highly realistic synthetic EHRs generated by diffusion models, which have been overlooked in prior work.
- To demonstrate that TabDDPM enables effective data augmentation even in small, imbalanced EHR datasets.
- To establish a benchmark for diffusion-based synthetic EHR generation that supports diverse healthcare ML applications.
Proposed method
- TabDDPM employs a denoising diffusion process that separately models continuous and categorical features using Gaussian and multinomial diffusion, respectively.
- The model learns to reverse a forward process that gradually corrupts tabular EHR data into standard Gaussian noise, enabling generation from random noise.
- For mixed-type data, the method applies different noise schedules and denoising heads tailored to continuous (Gaussian) and categorical (multinomial) features.
- The training objective minimizes the reverse KL divergence between the true data distribution and the model’s learned distribution, using a denoising score matching approach.
- Evaluation is conducted via downstream tasks including binary classification and data augmentation, with metrics such as F1-score, AUC, and accuracy.
- Privacy is assessed using distance-based metrics (DRC, MIR) comparing real and synthetic samples, revealing trade-offs between realism and privacy.
Experimental results
Research questions
- RQ1Can diffusion models effectively generate realistic mixed-type tabular EHRs with both continuous and categorical features?
- RQ2How does TabDDPM compare to state-of-the-art GAN-based and VAE-based models in terms of data quality, utility, and privacy?
- RQ3Does synthetic data generated by TabDDPM improve the performance of downstream machine learning models in data augmentation tasks?
- RQ4What is the trade-off between data utility and privacy in synthetic EHR generation using diffusion models?
- RQ5Can TabDDPM generate balanced synthetic samples per class, especially in small or imbalanced EHR datasets?
Key findings
- TabDDPM outperforms all baseline models in data quality and utility across four EHR datasets, with classification performance consistently matching or exceeding that of real data.
- On the Pima and ILPD datasets, TabDDPM achieved the highest performance gain in data augmentation, particularly in the imbalanced ILPD dataset.
- TabDDPM demonstrated superior data augmentation capability compared to VAE, medGAN, and corGAN, which struggled with class imbalance or required extensive sampling and downsampling.
- Despite its high utility, TabDDPM showed lower privacy protection than competitors, as measured by DRC and MIR metrics, confirming a trade-off between realism and privacy.
- The model successfully generated balanced synthetic samples per class by modeling the target variable distribution, unlike baseline models that favored one class.
- This study is the first to explicitly highlight the privacy risks associated with high-fidelity synthetic EHRs generated by diffusion models, a gap previously overlooked in the literature.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.