Can synthetic data reproduce real-world findings in epidemiology? A replication study using tree-based generative AI

Jan Kapar, Kathrin Günther, Lori Ann Vallis, Klaus Berger, Nadine Binder, Hermann Brenner, Stefanie Castell, Beate Fischer, Volker Harth, Bernd Holleczek, Timm Intemann, Till Ittermann, André Karch, Thomas Keil, Lilian Krist, Berit Lange, Michael F. Leitzmann, Katharina Nimptsch, Nadia Obi, Iris Pigeot, Tobias Pischon, Tamara Schikowski, Börge Schmidt, Carsten Oliver Schmidt, Anja M. Sedlmair, Justine Tanoey, Harm Wienbergen, Andreas Wienke, Claudia Wigmann, Marvin N. WrightarXiv 2025 · DOI

Introduction

Accessing and sharing sensitive health data remains a significant bottleneck in medical research. Privacy regulations such as HIPAA in the United States and GDPR in the European Union, while essential for patient protection, often create "data silos" that can delay research for months. Furthermore, epidemiological datasets are frequently "messy," characterized by mixed variable types (continuous and categorical), imbalanced classes, and significant missing values.

While deep learning models like Generative Adversarial Networks (GANs) have transformed image and text generation, their application to tabular health data is often computationally intensive and requires expert tuning. This study investigates whether Adversarial Random Forests (ARF), a tree-based generative AI method, can produce synthetic tabular data with sufficient "statistical utility" to replicate the findings of real-world epidemiological studies.

Methodology

The researchers utilized Adversarial Random Forests (ARF), which build upon the standard Random Forest architecture rather than neural networks. The ARF process involves three main stages:

  1. Adversarial Learning: The model iteratively learns data dependencies by attempting to distinguish the original dataset from a synthetic version where variables have been permuted.
  2. Density Estimation: Once the forest can no longer differentiate real from synthetic data, it uses the resulting data manifold partitions to perform univariate density estimation.
  3. Synthesis: New samples are drawn from these estimated distributions to create the final synthetic dataset.

The study compared two synthesis strategies: full dataset synthesis (generating all variables at once) and task-specific synthesis (generating only the variables required for a specific analysis, including pre-calculated derived variables like BMI).

Datasets and Scope

The study aimed to replicate six diverse published papers using data from three major sources: the German National Cohort (NAKO), the Bremen STEMI Registry (BSR-U45), and the Guelph Family Health Study (GFHS). These datasets varied significantly in size and complexity, as detailed in the table below.

Summary of the six epidemiological studies and datasets used for replication, including sample sizes (n) and variable counts (d).

Key Results

The core objective was to determine if a researcher would reach the same scientific conclusions using synthetic data as they would with the original records. The authors re-ran the exact statistical tests—including linear regressions, logistic regressions, and Cox proportional hazards models—from the original papers on the synthetic datasets.

Statistical Utility and Alignment

Across all six studies, the synthetic results demonstrated consistent alignment with the original findings. The medians and 95% confidence intervals (CIs) for regression coefficients (betas) frequently overlapped, indicating high statistical utility.

Comparison of beta coefficients and 95% confidence intervals between original and synthetic data across various health factors, showing high alignment.

Task-Specific Advantage

A critical finding was that reducing dimensionality through task-specific synthesis produced more stable results and narrower confidence intervals than attempting to synthesize a high-dimensional "master" table. This suggests that focused synthesis is more effective for preserving complex relationships in tabular data.

Robustness to Missingness and Small Samples

ARF successfully replicated findings even in datasets with high missingness (up to 80% in some cases) by generating missingness patterns rather than pre-imputing them. It also proved robust in small-sample scenarios, such as the GFHS study, accurately reproducing physical activity metrics despite a low sample-size-to-dimensionality ratio.

Discussion and Limitations

While ARF proves to be a convenient and efficient alternative to deep learning—running on standard hardware via the rarf R package—it is not without limitations. This study focused primarily on utility, not privacy. Although the data is synthetic, it may still be vulnerable to privacy inference attacks, and future work must evaluate the risk of individual re-identification.

Additionally, the superior performance of task-specific synthesis implies that data providers must know the intended research question beforehand, which may limit the potential for open-ended exploratory analysis on shared synthetic datasets.

Conclusion

Adversarial Random Forests offer a powerful tool for epidemiological research, enabling the creation of synthetic data that preserves the complex statistical relationships found in real-world health records. By facilitating rapid prototyping and safer data sharing, this approach has the potential to significantly accelerate medical discovery while navigating the complexities of data privacy regulations.

Summary updated

BibTeX
@misc{kapar2025can,
  author = {Jan Kapar and Kathrin Günther and Lori Ann Vallis and Klaus Berger and Nadine Binder and Hermann Brenner and Stefanie Castell and Beate Fischer and Volker Harth and Bernd Holleczek and Timm Intemann and Till Ittermann and André Karch and Thomas Keil and Lilian Krist and Berit Lange and Michael F. Leitzmann and Katharina Nimptsch and Nadia Obi and Iris Pigeot and Tobias Pischon and Tamara Schikowski and Börge Schmidt and Carsten Oliver Schmidt and Anja M. Sedlmair and Justine Tanoey and Harm Wienbergen and Andreas Wienke and Claudia Wigmann and Marvin N. Wright},
  title = {{Can synthetic data reproduce real-world findings in epidemiology? A replication study using tree-based generative AI}},
  year = {2025},
  eprint = {2508.14936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.14936},
}
Figure