Synthetic Data and Data Simulation

When and how synthetic data can supplement real clinical data. Generative approaches, simulation-based data, and the limitations of synthetic datasets for regulatory submissions.


Real medical data is scarce, expensive to label and wrapped in privacy rules. Synthetic data, meaning data produced by a program instead of a patient, promises to get around all three. Need more examples of a rare tumor? Generate them. Can't share your scans? Share artificial ones.

Some of that promise is real, and a good deal of the enthusiasm skips over one awkward fact: a generator can only reproduce what it learned from real data. This article covers the two main ways of making synthetic data, what each is good for, and where the limits are.

Two kinds of synthetic data

They work on different principles and have different weaknesses, so keep them apart.

Simulation: from a model of the physics

Simulation starts from knowledge of how things work. You build a digital model of anatomy, called a phantom, and a model of how the scanner forms an image, and compute what the scanner would see. Because you built the anatomy, you know the truth exactly: where the lesion is, how big, what it is made of.

A simple and widely used example is the digitally reconstructed radiograph. Take a CT volume, compute what an X-ray beam passing through it would project, and you have a synthetic radiograph from any angle you like, with labels carried over from the 3D data. More elaborate simulators model the whole imaging chain for CT, MRI, ultrasound or nuclear medicine, using computational phantoms such as the XCAT family developed at Duke.

A related technique is lesion insertion: a real or simulated lesion is blended into a real scan of a patient who didn't have one, so that size, location and contrast are known and controllable.

The most ambitious example is the FDA's own. In the VICTRE project, published in 2018, Aldo Badano and colleagues ran an entire imaging trial in software. They simulated about 3,000 virtual patients with computational breast models, imaged them with simulated digital mammography and digital breast tomosynthesis systems, and read the images with a computer model of an observer. The simulated trial reached the same conclusion as a real clinical trial that had compared the two technologies.

Simulation's weakness is realism. The images are as good as the physics and anatomy models, and those are simpler than nature. A network trained only on simulated images often stumbles on real ones, a problem known as the sim-to-real gap.

Generative models: from a model of the data

Generative models start from the data. They are trained on a collection of real images and learn to produce new ones that resemble the collection.

The first family to make convincing images was the generative adversarial network, or GAN, introduced by Ian Goodfellow and colleagues in 2014. Two networks are trained against each other, one producing fakes and one trying to tell fakes from real images, until the fakes pass. Since about 2021 GANs have largely been overtaken by diffusion models, which learn to turn random noise into an image in small steps and are the technology behind the well-known text-to-image generators. Diffusion models have been trained to produce chest radiographs from a text description of the findings and brain MRI volumes conditioned on age and sex.

Generative models are also used to translate images: MRI into synthetic CT for radiotherapy planning, one stain into another, one scanner's style into another's.

Their images look much more real than simulated ones. Their weakness is that there is no ground truth behind the picture. You asked for "a chest radiograph with a left pleural effusion" and got something. Whether it shows an effusion, on the left, with correct anatomy everywhere else, is a matter of how well the generator learned. The label on a generated image is a request. It was never measured.

What it's good for

Topping up a rare class. This is the most common use. In 2018 Maayan Frid-Adar and colleagues trained GANs on a small set of liver lesions in CT and added the generated lesions to the training data of a classifier. Its sensitivity and specificity both improved compared with ordinary augmentation alone. Results like this are common in the literature on small datasets. The gains are usually modest, they shrink as the real dataset grows, and they are not guaranteed (see 2.4 Class Imbalance).

Controlled experiments. With simulation and lesion insertion you can ask questions that real data can't answer cleanly. How small a nodule does the model detect? Does it still find the lesion at half the dose? You vary one thing and hold everything else fixed. This is stress testing, and it supplements the main evaluation.

Pretraining. A network can learn general features from a large synthetic set before being fine-tuned on a small real one. Errors in the synthetic data matter less here because the real data gets the last word.

Engineering and teaching. Synthetic data with no patient in it is handy for building and testing a pipeline before the ethics approval arrives, for software tests, and for demonstrations.

Sharing. An institution that can't release its scans might release a generator's output instead. This is the most talked-about use and the one with the biggest catch, described below.

Where it fools you

It contains nothing new

A generative model trained on 200 tumors has learned about those 200 tumors. It can recombine and interpolate them into thousands of images, and the thousands hold no more information about tumors than the 200 did. If a subtype was missing from the real data, it will be missing from the synthetic data. If the real data came from one scanner, so does the synthetic.

Think of it as an elaborate form of augmentation (see 2.5 Data Preprocessing and Augmentation). It can help a model get more out of the data you have. It cannot stand in for patients you never had.

It sharpens the biases in its training data

Generators reproduce common patterns well and rare ones badly, or drop them. A group under-represented in the real data tends to be even more under-represented, and less faithfully rendered, in the output. In 2024 Ilia Shumailov and colleagues described the extreme case, which they called model collapse: when generative models are trained repeatedly on the output of earlier generative models, the rare cases at the tails of the distribution vanish first and the output converges on a narrow, distorted version of the original. In medicine the tails are the rare presentations, which are often the reason you wanted more data.

It makes things up

Translation models are trained to produce output that looks like the target collection, and they will add or remove structures to get there. In 2018 Joseph Paul Cohen and colleagues showed that when the two collections differed in how many patients had tumors, image translation networks would paint tumors into healthy brains or erase them from diseased ones, and the results looked entirely convincing. A synthetic image that looks plausible to a radiologist is not thereby anatomically true.

It is not automatically private

A generator can memorize. In 2023 Nicholas Carlini and colleagues extracted more than a thousand near-exact copies of training images from diffusion models, simply by generating many images and looking for the ones that were reproduced. Memorization is likeliest when the training set is small and when an image is unusual, and small sets of unusual patients are what medical generators are trained on.

So "synthetic" and "de-identified" are separate properties. A synthetic dataset intended for release needs its own check that no generated image is a near-copy of a real patient's, and a privacy office should treat releasing a generator, or its output, as a disclosure decision in its own right (see 2.7 De-Identification, Privacy, and Regulatory Compliance for Research Data).

It can't be the test

A test set is there to tell you how the model does on real patients. Scoring a model on generated images tells you how it does on what a generator thinks patients look like. If the same generator supplied training data, the model may simply have learned the generator's habits, and the score will be flattering and meaningless.

Keep synthetic data out of the test set, and make sure every real image used to train the generator is treated as training data when you split. A generator trained on patients who later appear in the test set has leaked them (see 3.2 Training, Validation, and Test Sets).

How to tell if it helped

Train the model twice, once on the real training data and once on real plus synthetic, and compare the two on the same real test set. That is the whole method. If the second model isn't better on real data, the synthetic data didn't help, however good it looked.

Two other checks are common. One is to train on synthetic data alone and test on real, which shows how much usable signal the synthetic set carries. The other is to ask radiologists to pick the fakes. That is worth doing and proves less than it seems to: realism to the eye and usefulness for training are different things, and images that fool experts can still lack the fine statistical detail a model relies on.

What regulators accept

For a medical device, the performance claims rest on a test of the finished model, and a regulator expects that test to use real clinical data that represents the intended patients and settings. The Good Machine Learning Practice principles agreed by the FDA, Health Canada and the UK's MHRA say as much about representativeness and about keeping test data independent of training data (see 6.7 Good Machine Learning Practice). Synthetic test data doesn't meet that expectation.

In training data, synthetic cases are a design choice like augmentation. Expect to document what was generated, how, from which real data, and what evidence shows it helped. In a paper, say which data was synthetic and in what proportion.

Simulation has a more established regulatory role, as supporting evidence. Phantom studies and computational modeling have long been part of how imaging hardware is evaluated, VICTRE came out of the FDA's own laboratories, and simulated stress tests can usefully supplement a clinical dataset by covering conditions it has few examples of. They supplement it. If you plan to rely on synthetic or simulated data for anything in a submission, raise it with the agency before you build the plan around it.

Key takeaways

  • Simulation builds images from models of anatomy and physics, with exact ground truth and limited realism. Generative models learn from real images, with high realism and no guaranteed ground truth.
  • Synthetic data can improve training on small datasets and rare classes, support controlled stress tests, and help with pretraining and pipeline development.
  • A generator adds no information beyond its training data. It can't supply subtypes, populations or scanners it never saw.
  • Generators under-represent rare cases, can invent or erase pathology, and can memorize and reproduce real patients' images.
  • Synthetic is not the same as private. Check generated data for near-copies before sharing it.
  • Never test on synthetic data, and count the generator's training images as training data.
  • Judge synthetic data by one experiment: does adding it improve performance on real test data?
  • Regulators expect performance to be shown on real, representative clinical data. Simulation can support that evidence and can't replace it.

This article is part of the AI in Clinical Research Knowledge Base.