Hostname: page-component-76d6cb85b7-8p85h Total loading time: 0 Render date: 2026-07-15T08:05:17.237Z Has data issue: false hasContentIssue false

Generative models and synthetic data in clinical prediction models: Promoting consistency, reproducibility, and transparency

Published online by Cambridge University Press:  25 March 2026

Anthony A. Mangino*
Affiliation:
Department of Biostatistics, University of Kentucky, USA
Taha Ahmed
Affiliation:
Emory University, USA
Vincent L. Sorrell
Affiliation:
Department of Internal Medicine, University of Kentucky, USA
*
Corresponding author: A. A. Mangino; Email: anthony.mangino@uky.edu
Rights & Permissions [Opens in a new window]

Abstract

Introduction:

Reproducibility, consistency, and transparency are essential to responsible and ethical scientific inquiry, though practices supporting these qualities are often neglected. However, in many cases data are confidential or otherwise unable to be shared publicly. This tutorial describes a method utilizing generative adversarial networks (GANs) to create synthetic data that are sufficiently similar to the original dataset in such cases where the source data cannot be shared or where the source data are too sparse as to internally validate results.

Methods:

Utilizing an exemplar study that aimed to create a clinical prediction model employing a novel echocardiographic measurement to differentiate between acute coronary syndrome and Takotsubo syndrome, we demonstrate the procedure of fitting a GAN and evaluating the resulting synthetic dataset against the results from the source dataset using conventional analytic methodologies. Further, we include relevant R code and output from this process to aid in implementation.

Results:

The procedure we detail yielded a synthetic dataset that was largely similar to the source data used in univariate descriptive statistics, significance testing comparing variables across datasets, data visualizations, and yielded largely comparable secondary model fit and accuracy metrics.

Conclusions:

We demonstrated that through the implementation of a well-tuned GAN, synthetic data can be generated as a sufficiently faithful simulacrum of the source data for the purposes of internal validation, transparency of method, and reproducibility of analytic results.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Association for Clinical and Translational Science
Figure 0

Table 1. Guiding questions prior to implementing generative models and synthetic data

Figure 1

Figure 1. GAN architecture and training process. GAN = generative adversarial networks.

Figure 2

Figure 2. Flowchart of creating and evaluating synthetic data.

Figure 3

Table 2. Hyperparameter grid for GAN training

Figure 4

Table 3. Descriptive statistics and unadjusted analyses comparing synthetic and source data

Figure 5

Figure 3. Diagnosis probability plots of logistic regression models trained and evaluated on source and synthetic data. Left panel is the source-trained and evaluated model; middle panel is the synthetic-trained and evaluated model; right panel is the synthetic-trained, source evaluated model.

Figure 6

Table 4. Accuracy metrics, model fit statistics, and model effect sizes for logistic regression