[Paper Review] Generating Synthetic Clinical Data that Capture Class Imbalanced Distributions with Generative Adversarial Networks: Example using Antiretroviral Therapy for HIV
This paper proposes a hybrid GAN-VAE framework with a memory buffer to generate synthetic clinical time-series data that preserve class-imbalanced distributions, particularly for minority patient groups in HIV antiretroviral therapy (ART) data. By mitigating mode collapse through latent feature replay and variational encoding, the method produces synthetic data with high fidelity, diversity, and low re-identification risk, significantly improving utility for downstream machine learning, especially in fairness-sensitive applications.
Clinical data usually cannot be freely distributed due to their highly confidential nature and this hampers the development of machine learning in the healthcare domain. One way to mitigate this problem is by generating realistic synthetic datasets using generative adversarial networks (GANs). However, GANs are known to suffer from mode collapse thus creating outputs of low diversity. This lowers the quality of the synthetic healthcare data, and may cause it to omit patients of minority demographics or neglect less common clinical practices. In this paper, we extend the classic GAN setup with an additional variational autoencoder (VAE) and include an external memory to replay latent features observed from the real samples to the GAN generator. Using antiretroviral therapy for human immunodeficiency virus (ART for HIV) as a case study, we show that our extended setup overcomes mode collapse and generates a synthetic dataset that accurately describes severely imbalanced class distributions commonly found in real-world clinical variables. In addition, we demonstrate that our synthetic dataset is associated with a very low patient disclosure risk, and that it retains a high level of utility from the ground truth dataset to support the development of downstream machine learning algorithms.
Motivation & Objective
- To address the challenge of mode collapse in GAN-based synthetic clinical data generation, which compromises diversity and fairness in minority patient representation.
- To develop a method that preserves complex, imbalanced distributions of real-world clinical variables, especially in time-series data like HIV antiretroviral therapy.
- To generate synthetic data with high resemblance to real data and strong representation of underrepresented demographics, ensuring ethical and fair machine learning applications.
- To ensure patient privacy by minimizing re-identification risk while maintaining data utility for training downstream models such as reinforcement learning agents.
- To provide a publicly accessible, high-quality synthetic dataset for research use, supporting reproducible and ethical AI in healthcare.
Proposed method
- The method extends WGAN-GP with a variational autoencoder (VAE) to learn disentangled, structured latent representations of real clinical data.
- A memory buffer stores and replays real latent features from the training data to the generator, preventing mode collapse by reinforcing underrepresented patterns.
- The generator is conditioned on both random noise and the buffered real latent features, improving diversity and distributional accuracy.
- The framework uses the WGAN-GP loss with gradient penalty (G_EOT) to stabilize training and improve mode coverage.
- The model is trained on the EuResist HIV ART dataset, which includes 8,916 patients with 60-month longitudinal records across 13 ART variables.
- The final synthetic dataset is released as a 44.7 MB CSV file with 534,960 rows, publicly accessible at https://healthgym.ai/.
Experimental results
Research questions
- RQ1Can a GAN-based framework with VAE and memory replay effectively mitigate mode collapse in synthetic generation of imbalanced clinical time-series data?
- RQ2To what extent does the proposed method preserve the distributional characteristics of real-world clinical variables, especially in minority demographic groups?
- RQ3How does the synthetic data perform in supporting downstream machine learning tasks, such as training reinforcement learning agents for treatment optimization?
- RQ4What is the re-identification risk of the synthetic data compared to real data, and does it maintain sufficient privacy?
- RQ5Does the inclusion of a memory buffer significantly improve cohort diversity and representation of underrepresented populations in synthetic datasets?
Key findings
- The proposed WGAN-GP+G_EOT+VAE+Buffer model successfully mitigated mode collapse, generating synthetic data with significantly higher cohort diversity than baseline GANs.
- The synthetic dataset accurately captured the imbalanced distributions of clinical variables, including low-frequency medication usage patterns and minority demographic representation (e.g., African and Asian patients).
- Reinforcement learning agents trained on the synthetic dataset ($\mathfrak{D}_{\text{alt}}$) produced treatment action policies nearly identical to those trained on the real dataset ($\mathfrak{D}_{\text{real}}$), especially for minority patients.
- In contrast, agents trained on the baseline synthetic dataset ($\mathfrak{D}_{\text{null}}$) from Kuo et al. (2022), which suffered from mode collapse, showed substantial divergence in treatment recommendations for minority groups.
- The synthetic dataset achieved high resemblance and representation, with no evidence of patient re-identification, and was released publicly at https://healthgym.ai/ for research use.
- The method demonstrated superior performance in preserving variable correlations and temporal dynamics in longitudinal HIV ART data compared to existing GAN-based baselines.
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.