Session 1 · 09:30 to 10:30 · Dr Iftekhar Khan

Fundamentals of Synthetic Data

What synthetic data generation is, why we need it, the three pillars of privacy, fidelity and utility, how it is made, where it came from and how it is used today. The ideas the rest of the day builds on.

When09:30 to 10:30
PresenterDr Iftekhar Khan
Session1 of 6
01What is synthetic data?

Data made by a model, not collected from people

Synthetic data generation (SDG) uses a model to create new, artificial records that reproduce the patterns, distributions and relationships of real data, or of assumed rules, without any record belonging to a real person.

Think of it as a trial dry-run. Imagine a mock patient population that looks and behaves like your study population: the same mix of ages, the same rates of diabetes, the same link between dose and response. You can rehearse every analysis on it. But not one of those patients exists.

Definition

What it is, in one paragraph

Synthetic data can be tables of patient records, free text, images or even video. It is created by computer simulations, by generative AI models, or by a combination of the two, and it is most useful where real data are scarce, sensitive or hard to collect [21]. Its basic purpose: keep the useful statistical patterns of real data without exposing the real people behind them.

Three ingredients

Every synthetic dataset comes from the same recipe: something to learn from, something that generates, and a check that the result is fit for its purpose.

01

A source

Real patient-level data, published summaries, or expert assumptions such as event rates and dose–response curves.

02

A generator

A simulation, a statistical model (for example a copula) or a deep learning model (for example a GAN) that learns or encodes the patterns.

03

A check

Tests of privacy (could anyone be re-identified?), fidelity (does it look real?) and utility (does it give the same answers?). See the three pillars.

Animation

The synthetic twin

Watch 150 real patients (navy) turn into their synthetic twin (teal). The cloud keeps its shape: the same age range, the same rise in blood pressure with age. Yet every point moves, so no synthetic patient sits on top of a real one.

Illustrative data
Real patientsSynthetic twin

Three types

How much of the data is generated?

F

Fully synthetic

Every record is generated. Strongest privacy, but relies most on the quality of the generator.

P

Partially synthetic

Only sensitive variables are replaced, such as postcode or date of birth. The rest stays real.

S

Simulated

Built from assumptions or models, such as event rates or PK/PD equations, without learning from patient data.

What it is not

Four common misunderstandings

“It is fake, so it is useless.”
It is useful when it reproduces the patterns a task needs, and that can be tested.
“It is automatically anonymous.”
Privacy must be measured. A poor generator can produce near-copies of real patients.
“It will replace clinical trials.”
It complements trials by supporting design, comparison and extrapolation.
“It is just masked real data.”
Masking edits real records. Synthetic records are newly generated, so there is no one-to-one link to a person.
02Why do we need it?

Valuable data, locked away

Health data are among the most valuable and most sensitive data there are. Real data are often limited, unrepresentative or unavailable because of data-protection rules, and collecting them is slow and costly [21]. Synthetic data helps more people learn from the data while fewer people need to see it.

01

Data scarcity and rare diseases

When only a handful of patients exist, simulation and augmentation help explore designs and models that small samples cannot support alone [20].

02

Privacy and compliance

Data protection law (such as UK GDPR) limits who can see identifiable records. Synthetic data mimics real statistics without matching individual people.

03

Data quality and bias

Real datasets can be imbalanced, so models learn biased answers. Carefully generated records can enlarge and rebalance them, if validated against real data.

04

Safe testing

Software, analysis code and AI tools can be tested on true-to-life data in a safe environment before they ever touch real patients.

05

Speed of access

Approvals for patient-level data can take months. Synthetic versions let teams start building and testing straight away.

06

Better, more ethical trials

Simulating trials first can improve designs, and external control arms can reduce the number of patients given placebo [17].

What it is used for

🔒

Share data safely

Give collaborators, students or the public data that behaves like the original while protecting the people in it.

➕

Augment small datasets

Add plausible records for rare diseases or small subgroups so models can be explored and stress-tested.

⚙️

Test software and pipelines

Build and debug analysis code, dashboards and data flows before access to real data is granted.

📐

Design and simulate trials

Explore sample sizes, designs and what-if scenarios with virtual patients before anyone is enrolled.

🎓

Teach and train

Give learners realistic datasets to practise on, with no risk of exposing real patients.

⚖️

Rebalance and fill gaps

Help represent under-sampled groups in model development. It cannot invent information the source never contained.

Chart

Each purpose needs a different balance

Teaching and software testing need little realism. Answering research questions needs high realism. Sharing safely and augmenting rare-disease data need high realism and strong privacy checks at the same time, which is the hardest combination.

Illustrative positions, to show the trade-off rather than measured values.

Chart

Two routes to a dataset you can work with

With a synthetic copy, analysis code can be written and tested while approvals for the real data are still in progress. The final analysis then runs once on the real data in a secure environment.

Real data only
Request Governance & approvals Secure access Build code & analyse
Synthetic first
Get synthetic Build & test code while approvals run Run on real data

Illustrative only. Real timelines vary widely between data custodians.

03The three pillars

Privacy, fidelity and utility

Every synthetic dataset is judged on three things. Is it safe? Does it look real? Does it do the job? You always need all three, and the right balance depends on what the data is for.

Pillar 1

Privacy

No real person can be identified, or learned about, from the synthetic data.

Clinical example
A sponsor shares a synthetic copy of a rare-disease trial. If one synthetic patient carries the exact unusual combination of age, mutation and trial site of a real participant, that person could be recognised.
If it is weak
Re-identification, breach of consent and data-protection law, and loss of patient trust.
How it is checked
Make sure no synthetic record is suspiciously close to a real one (distance to closest record), test whether an attacker could tell if a person was in the source data (membership inference), and use formal guarantees such as differential privacy [4].
Pillar 2

Fidelity

How closely the synthetic data resembles the real data.

Clinical example
The synthetic cohort has the same age range, the same share of women, the same link between BMI and blood pressure, and survival curves that overlap with the real ones.
If it is weak
Misleading pictures: for example a synthetic comparator group with far too few elderly patients, which makes a treatment look better than it is.
How it is checked
Compare each variable side by side, compare how variables move together, and see whether a computer can tell real from synthetic records. If it cannot, fidelity is high.
Pillar 3

Utility

Whether the synthetic data gives the same answers as the real data, for the job you need it for.

Clinical example
The hazard ratio from the synthetic trial data is close to the one from the real trial, and a risk model trained on synthetic patients predicts real patients just as well.
If it is weak
Wrong conclusions, wasted analyses, and decisions made on numbers that would not hold on real data.
How it is checked
Run the intended analysis on both datasets and compare the results, or train on synthetic data and test on real data (TSTR).

How they interact

Pulling on one pillar strains the others

P F U
  • More fidelity → more privacy risk. The closer the copy, the more likely it contains near-copies of real people.
  • More privacy → less fidelity. Protection usually means adding noise or smoothing away rare details.
  • Utility depends on fidelity where it matters. Data can look realistic overall yet miss the one relationship your analysis needs.

Interactive

Find the balance for your use case

Drag the dot inside the triangle, or pick a use case, to see what that balance means in practice.

Privacy Fidelity Utility Illustrative
Privacy
Fidelity
Utility
What this means

Try it

Is this record real or synthetic?

Six patient records, some from a (made-up) real dataset and some generated. Decide for each one, then read the lesson at the end.

All records are invented for illustration. None describes a real person.

04How synthetic data is generated

Learn the patterns, then create new records

Whatever the method, the process has the same five steps. No maths needed: think of it as studying a population closely, then describing a brand-new one that follows the same rules.

Five steps

From real data to safe, useful data

  1. Real dataStart from real records, or from expert assumptions if no data exist yet.
  2. Learn patternsThe generator studies the spread of each variable and how variables move together.
  3. GenerateIt creates brand-new records from what it learned. Plausible, but none is a real patient.
  4. Check qualityMeasure privacy, fidelity and utility against the source before anyone relies on it.
  5. Use and shareRelease it for its agreed purpose, with documentation of how it was made and checked.

Interactive

Watch fidelity improve

500 real patients (navy) and 500 synthetic patients (teal). Change the generator quality and watch the synthetic data converge on the real data. Press "Generate" for a fresh sample: the shape stays, every record changes.

Illustrative data
Real patientsSynthetic patients
Mean age–
Age–BP correlation–
Real records copied0
Interpret

Four approaches

From simple rules to generative AI

Rules & simulation

Write down what you believe (event rates, dose–response, dropout) and let the computer generate patients. Used for decades in trial design and in silico testing.

Statistical models

Describe each variable and how variables move together or depend on each other (for example copulas and Bayesian networks), then draw new patients from that description. Transparent and a strong first baseline.

Machine learning

Learn rules from the data, such as decision trees (CART), and build patients step by step.

Generative AI

Neural networks that learn by practice:

  • GANs: a generator and a judge compete until the fakes look real [8].
  • VAEs: compress each patient into a short code, then rebuild new ones [7].
  • Diffusion models: start from noise and refine it into realistic images, guided by text [14].
  • Transformers: learn patterns in sequences; they write text and can treat each table row as a sequence to generate tabular data [21].
  • World models: generate physically realistic simulated video, mostly used outside health today [21].
  • Hybrids: combine a statistical step with a neural network, for example CopulaGAN, which reshapes the data with a copula before training a GAN.

Meet the seven models used in this course →

05History of synthetic data

Thirty years from idea to everyday tool

Synthetic data started with statisticians protecting census and survey respondents. Deep learning then made it far more flexible, and regulators are now writing it into their thinking.

  1. The idea is born

    Donald Rubin proposes releasing fully synthetic data instead of real survey records; Roderick Little proposes partially synthetic data [2][1].

  2. Methods formalised

    Raghunathan, Reiter and Rubin set out how to analyse multiply imputed synthetic data correctly [3].

  3. Differential privacy

    Dwork and colleagues define a mathematical guarantee of privacy, later used to protect synthetic data [4].

  4. First production use

    The US Census Bureau's OnTheMap publishes commuting data as formally private synthetic data [5].

  5. Virtual patients accepted

    The FDA accepts the UVA/Padova simulator of type 1 diabetes patients as a substitute for animal trials in preclinical testing [6].

  6. Deep generative models

    Variational autoencoders (2013) and generative adversarial networks (2014) open the door to learning complex patterns [7][8].

  7. Free toolkits

    synthpop (R) and the Synthetic Data Vault (Python) make synthetic data available to any analyst [9][10].

  8. Synthetic health records

    Synthea generates complete synthetic patient histories, and England's Simulacrum releases synthetic cancer registry data [11][12].

  9. AI for tables

    CTGAN and TVAE adapt deep learning to mixed clinical-style tables [13].

  10. Regulator-built datasets

    The MHRA's CPRD releases synthetic cardiovascular (June) and COVID-19 (November) datasets; diffusion models arrive in AI [15][14].

  11. National overview

    A report commissioned by the Royal Society, written with the Alan Turing Institute, explains synthetic data for non-specialists [16].

  12. Regulators engage

    FDA draft guidance on externally controlled trials (2023) and the EMA reflection paper on AI, which mentions synthetic data (2024) [17][19].

06Synthetic data in the world today

Where synthetic data is already used

From national registries to regulatory science, synthetic data is already part of how health data are shared, tested and taught. Pharma and clinical examples first.

CLINICAL TRIALSOncology

Synthetic trial patients in leukaemia

Generative AI created synthetic patients from 1,606 patients in four acute myeloid leukaemia trials. Survival curves and key relationships closely matched the originals [18].

DRUG DEVELOPMENTComparator

External control arms

When randomising to placebo is not feasible, data from outside the trial can form the comparator. The FDA set out its expectations in 2023 draft guidance [17].

More in Session 4 →
REGULATORY · FDAIn silico trial

Virtual patients with type 1 diabetes

The UVA/Padova simulator's virtual patients were accepted by the FDA as a substitute for animal trials in preclinical testing of insulin control strategies [6].

UK · MHRAPrimary care

CPRD synthetic datasets

The MHRA's Clinical Practice Research Datalink publishes high-fidelity synthetic datasets (cardiovascular disease, COVID-19) for developing and testing AI and code [15].

CPRD synthetic data →
ENGLAND · CANCERRegistry

The Simulacrum

Synthetic national cancer registry data. Analysts write and test their queries on it, then request the real data only for the final run [12].

The Simulacrum →
HEALTH RECORDSSimulation

Synthea

Open-source software that simulates complete patient histories along care pathways, widely used to test health IT systems and to teach [11].

About Synthea →
RARE DISEASESReview

Small cohorts, bigger evidence

A 2025 scoping review found 118 studies using synthetic data or augmentation in rare-disease research, mostly imaging, with deep generative models growing fast since 2021 [20].

NATIONAL STATISTICSUSA · Census

OnTheMap

The US Census Bureau publishes where people live and work as synthetic data with a formal privacy guarantee, in production since 2008 [5].

AI · IMAGINGDeep learning

Synthetic medical images

Generative models create realistic scans to enlarge and balance training sets for diagnostic AI, which must then be validated on real images [20].

How GANs work →

Key takeaways

Five things to remember

  1. Purpose firstThe use case decides how realistic the data must be and how it must be checked.
  2. Three pillarsAlways weigh privacy, fidelity and utility together.
  3. Not automatically privatePrivacy has to be measured. Poor generators can leak near-copies of real patients.
  4. Always evaluateCheck the output against the source before anyone relies on it.
  5. Complements real dataIt speeds up and widens research. It does not replace real evidence or clinical trials.
Session materialsSlides and notes for this part will be added here.
07Test yourself

Check what you have learned

Five short activities to try on your own once you have finished the session. There is no time limit and nothing is recorded or sent anywhere: your answers stay on your own device.

Activity A

Knowledge check

Ten questions covering the whole session. Pick an answer to see whether you were right and why.

Activity B

Sort into the pillars

Which pillar does each check or situation belong to: privacy, fidelity or utility?

Activity C

Order the steps

Tap the five steps of synthetic data generation in the right order, from first to last.

    Activity D

    Myth or fact?

    Decide whether each statement is a myth or a fact.

    Activity E

    Apply it to your work

    There are no right or wrong answers. Write a few lines for each question. Your notes are kept only in this browser, and you can download them to keep or to discuss with colleagues.

    References

    Sources and further reading

    1. Little RJA. 1993. Statistical analysis of masked data. Journal of Official Statistics 9(2):407–426.
    2. Rubin DB. 1993. Discussion: statistical disclosure limitation. Journal of Official Statistics 9(2):461–468.
    3. Raghunathan TE, Reiter JP, Rubin DB. 2003. Multiple imputation for statistical disclosure limitation. Journal of Official Statistics 19(1):1–16.
    4. Dwork C, McSherry F, Nissim K, Smith A. 2006. Calibrating noise to sensitivity in private data analysis. Theory of Cryptography Conference (TCC), LNCS 3876.
    5. Machanavajjhala A, Kifer D, Abowd J, Gehrke J, Vilhuber L. 2008. Privacy: theory meets practice on the map. IEEE International Conference on Data Engineering, 277–286. ieeexplore.ieee.org/document/4497436
    6. Kovatchev BP, Breton M, Dalla Man C, Cobelli C. 2009. In silico preclinical trials: a proof of concept in closed-loop control of type 1 diabetes. Journal of Diabetes Science and Technology 3(1):44–55. doi.org/10.1177/193229680900300106
    7. Kingma DP, Welling M. 2013. Auto-encoding variational Bayes. arXiv 1312.6114. arxiv.org/abs/1312.6114
    8. Goodfellow I, et al. 2014. Generative adversarial nets. Advances in Neural Information Processing Systems 27. arxiv.org/abs/1406.2661
    9. Nowok B, Raab GM, Dibben C. 2016. synthpop: bespoke creation of synthetic data in R. Journal of Statistical Software 74(11). doi.org/10.18637/jss.v074.i11
    10. Patki N, Wedge R, Veeramachaneni K. 2016. The Synthetic Data Vault. IEEE International Conference on Data Science and Advanced Analytics (DSAA).
    11. Walonoski J, et al. 2018. Synthea: an approach, method, and software mechanism for generating synthetic patients and the synthetic electronic health care record. Journal of the American Medical Informatics Association 25(3):230–238. academic.oup.com/jamia/article/25/3/230/4098271
    12. Health Data Insight. 2018. The Simulacrum. healthdatainsight.org.uk/project/the-simulacrum
    13. Xu L, Skoularidou M, Cuesta-Infante A, Veeramachaneni K. 2019. Modeling tabular data using conditional GAN. Advances in Neural Information Processing Systems 32. arxiv.org/abs/1907.00503
    14. Ho J, Jain A, Abbeel P. 2020. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems 33. arxiv.org/abs/2006.11239
    15. Clinical Practice Research Datalink (MHRA). 2020. High-fidelity synthetic datasets: cardiovascular disease (released 29 June 2020) and COVID-19 (released 30 November 2020). cprd.com/data/synthetic-data
    16. Jordon J, Szpruch L, et al. 2022. Synthetic data: what, why and how? Report commissioned by the Royal Society. arXiv 2205.03257. arxiv.org/abs/2205.03257
    17. US Food and Drug Administration. 2023. Considerations for the design and conduct of externally controlled trials for drug and biological products. Draft guidance for industry. federalregister.gov
    18. Eckardt JN, et al. 2024. Mimicking clinical trials with synthetic acute myeloid leukemia patients using generative artificial intelligence. npj Digital Medicine. doi.org/10.1038/s41746-024-01076-x
    19. European Medicines Agency. 2024. Reflection paper on the use of artificial intelligence (AI) in the medicinal product lifecycle. EMA/CHMP/CVMP/83833/2023. ema.europa.eu
    20. Finetti R, Roncaglia B, Visibelli A, Spiga O, Santucci A. 2025. Data augmentation and synthetic data generation in rare disease research: a scoping review. Medical Sciences 13(4):260. doi.org/10.3390/medsci13040260
    21. NVIDIA. What is synthetic data generation (SDG)? Glossary. nvidia.com/en-us/glossary/synthetic-data-generation