Synthetic Data & Model Collapse
Training on generated data, and what happens when models learn from their own output.
More and more training data is generated rather than collected: rendered by simulators, written by language models, painted by diffusion models. Used well, synthetic data fills the gaps real data leaves. Used in a loop, where models train on their predecessors' output, it erodes the distribution itself: rare events vanish first, then the variety goes. This lesson derives that collapse in its simplest form, and the conditions under which it does not happen.
What you’ll learn
- Classify uses of synthetic data (simulation and domain randomization, generated inputs, generated instructions and documents, distillation) by what is synthetic and what anchors it to reality.
- Derive model collapse for a Gaussian refitted each generation: expected variance under maximum likelihood, and almost-sure collapse with a wandering mean even under unbiased refitting (Shumailov et al., 2024).
- Explain why tails vanish first, and how cutting the tail changes scaling laws (Dohmatob et al., 2024).
- Compare replacing data with accumulating it (Gerstgrasser et al., 2024) and adding fresh real data (Alemohammad et al., 2024; Bertrand et al., 2024), and apply practical safeguards.
Why train on generated data?
| Use | What is synthetic | What anchors it to reality |
|---|---|---|
| Simulation and domain randomization: Tobin et al. (2017) trained an object detector only on simulated images with random, unrealistic textures and transferred it to a real robot, which they described as the first such transfer for robotic control | Inputs and labels | A physics and rendering model, randomized so that reality looks like one more variation |
| Generated images: Azizi et al. (2023) fine-tuned a text-to-image diffusion model into a class-conditional ImageNet generator; adding its samples to the real training images improved ResNet and vision-transformer accuracy, while a ResNet-50 trained on generated images alone reached about 65% top-1 at , well below what real data give | Inputs (images), labeled by the class prompt | A generator trained on real images, and the real training set kept in the mix |
| Back-translation (Sennrich, Haddow & Birch, 2016) | Inputs (source sentences) | Real human-written targets |
| Self-Instruct (Wang et al., 2023): GPT-3 generated about 52,000 instructions with about 82,000 input–output instances; fine-tuning GPT-3 on them gave a 33% absolute improvement on Super-NaturalInstructions | Instructions, inputs and outputs | 175 human-written seed tasks and filtering |
| "Textbook-quality" data: phi-1 (Gunasekar et al., 2023), a 1.3-billion-parameter code model trained on about 6 billion tokens of filtered web code and about 1 billion tokens of textbooks and exercises generated by GPT-3.5, reached 50.6% pass@1 on HumanEval | Documents and exercises | A stronger generator, real code and quality filters |
| Distillation (Hinton, Vinyals & Dean, 2015): a student trained on a teacher's soft predictions | Labels | Real inputs and a teacher trained on real data |
Which of these setups lacks an anchor to real data?
- A translation model trained on back-translated sources paired with real target sentences
- A student network distilled from a teacher that was trained on real images
- An image generator trained only on images produced by the previous version of itself, generation after generation
- A detector trained on simulated scenes, then evaluated on real photos
Show the answer
C. An image generator trained only on images produced by the previous version of itself, generation after generation
Each generation sees only the previous model's output, so its errors become the next model's data, with nothing real to correct them. The other three keep real targets, a teacher fitted to real data, or a simulator built from physics.
Model collapse in one dimension
Shumailov, Shumaylov, Zhao, Papernot, Anderson and Gal (2024) studied recursive training: generation is fitted to samples drawn from generation 's model, and nothing else. The simplest case already shows model collapse: a Gaussian, refitted to of its own samples each generation.
Generation draws samples from and fits them by maximum likelihood. The fitted variance is a scaled chi-squared variable, , so
Use the unbiased variance (dividing by ) instead, and for every . Yet the variance is a product of independent random factors:
By Jensen's inequality each term has negative mean, about , so by the law of large numbers : almost surely, while its mean stays , held up by ever rarer chains with ever larger variance. Meanwhile the mean performs a random walk, :
Shumailov et al. prove the general statement: for original data from any distribution with nonzero variance, refitted recursively with the unbiased mean and covariance estimators at a fixed sample size, the covariance tends to zero almost surely and the expected squared Wasserstein-2 distance to the original distribution tends to infinity. The model ends up both narrower and elsewhere.
Each generation refits a Gaussian by maximum likelihood to samples from the previous one. After generations, what percentage of the original variance remains, in expectation?
Show the answer
60.5 %
. The half-life is generations. With the unbiased estimator the expected variance stays at 100%, but the typical chain still shrinks at almost the same rate: after 500 generations the median is of the original, which a simulation of 2,000 chains reproduces.
Think first How can the variance have a constant expectation and still go to zero almost surely?
Because almost sure convergence and convergence of the mean are different things. is a nonnegative martingale: it converges almost surely, here to zero, but the mean is preserved by a shrinking set of chains whose variance becomes enormous. Averaged over many imaginary runs, the variance looks stable; in essentially every actual run, it collapses. Statements about averages across runs can hide what happens in each run.
Tails vanish first
For a discrete distribution the mechanism is even starker. A category with probability is missing from samples with probability , and once a generation's sample misses it, a model fitted by counting assigns it probability zero, so it can never come back. With and , that happens with probability in a single generation. Rare events go first, which Shumailov et al. call early model collapse; late collapse is the convergence to a narrow distribution bearing little resemblance to the original.
They trace collapse to three sources of error: statistical approximation (finite samples, the primary source), functional expressivity (the model family cannot represent the true distribution) and functional approximation (the learning procedure, such as SGD, is imperfect). In language models fine-tuned on their own generations over several rounds (OPT-125m on wikitext2), performance on the original data degraded and the generated text drifted toward sequences the original model found highly probable, while also introducing improbable sequences of its own; keeping a random 10% of the original data in every generation reduced the degradation to a minor one.
Dohmatob, Feng, Yang, Charton and Kempe (2024) translated tail loss into the language of scaling laws. Suppose the data follow a heavy-tailed, Zipf-like law , and generated data cut the tail at rank , through top- or nucleus sampling, or because the generating model was fitted to too few samples to represent the rare items. In their model, training on such samples gives
Why do rare events disappear first when models are trained recursively on their own samples?
- A finite sample often contains no instance of a rare event, and a model fitted to that sample then gives it (near) zero probability, so it is never generated again
- Generators deliberately suppress rare events to save capacity
- Rare events have larger gradients and are overwritten by later updates
- Only the most frequent event can be represented by a neural network
Show the answer
A. A finite sample often contains no instance of a rare event, and a model fitted to that sample then gives it (near) zero probability, so it is never generated again
An event with probability is absent from samples with probability , which is large for . Losing it is an absorbing state: no later generation sees it. Sampling tricks such as top- truncation cut the tail deliberately and speed this up.
Replace, accumulate or refresh
Alemohammad et al. (2024) studied "self-consuming" loops of image generators, which differ in whether the real training data stay fixed or are refreshed each generation, and in whether samples are biased toward quality at the expense of diversity. Their conclusion: without enough fresh real data in each generation, quality (precision) or diversity (recall) progressively declines. They called it Model Autophagy Disorder. But the collapse theorems above assume each generation replaces its data. What if data accumulate instead?
Bertrand, Bose, Duplessis, Jiralerspong and Gidel (2024) proved a complementary stability result for generative models retrained on a mixture of real data and their own samples: if the initial model is close enough to the data distribution and the share of real data is large enough, iterative retraining stays stable. Their condition is sufficient, not necessary, and they supported it with normalizing flows and diffusion models on CIFAR-10 and FFHQ. The picture that emerges: collapse is what happens when real data are thrown away or swamped; keeping them anchors the loop.
In the linear-regression model of Gerstgrasser et al., how does test error behave over many iterations when synthetic data are added to the pool instead of replacing it?
- It grows linearly, as with replacement, only more slowly
- It falls to zero, because the pool keeps growing
- It oscillates without settling
- It stays bounded, below times the first model's error
Show the answer
D. It stays bounded, below times the first model's error
The error is , an increasing sequence with finite limit . Replacement gives times the first error instead.
Using synthetic data well
The theory and experiments point to a short list of safeguards:
- Keep the anchor. Keep real data in every training mix, and add synthetic data to it rather than replacing it.
- Verify when you can. Synthetic data are most valuable when they can be checked: code that must pass tests, mathematics with checkable answers, simulators with known physics. Where they cannot, filter them with quality classifiers or reward models (Data Quality, Filtering & Mixtures); training on verified outcomes is the idea behind Reinforcement Learning for Reasoning.
- Protect diversity. Vary prompts, seeds and generators, deduplicate, and remember that low temperatures and truncated sampling cut the tail.
- Target the gaps. Synthetic data help most where real data are scarce: rare classes, edge cases, simulated situations too dangerous or expensive to record.
- Track provenance. Web crawls made after generative models became widespread contain machine-written text in proportions that are hard to measure. Knowing where each training example came from is what makes filtering, mixing ratios and audits possible later.
Key takeaways
- Synthetic data works when something real anchors it: physics in simulators, real targets in back-translation, human seeds and filters in Self-Instruct, a teacher trained on real data in distillation.
- Recursive refitting collapses: for a Gaussian with samples per generation, under maximum likelihood, and even with unbiased estimates almost surely while the mean wanders off, so the Wasserstein distance to the original diverges (Shumailov et al., 2024).
- Rare events vanish first, since a finite sample often misses them and they never return; in scaling-law terms, a cut tail puts a floor under the test error (Dohmatob et al., 2024).
- Replacing data with model output makes error grow without bound; accumulating keeps it below times the first model's error in linear regression (Gerstgrasser et al., 2024), and enough real data in the mix keeps retraining stable (Bertrand et al., 2024).
- Use synthetic data with an anchor: keep and accumulate real data, verify or filter what is generated, protect diversity, target gaps, and track provenance.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
A Gaussian is refitted by maximum likelihood to of its own samples, generation after generation. What happens to the expected variance?
- It stays constant, because maximum likelihood is consistent
- It decays geometrically, by the factor per generation
- It grows, because sampling noise adds variance each generation
- It drops to zero after exactly generations
Show the answer
B. It decays geometrically, by the factor per generation
The maximum-likelihood variance has expectation times the true variance, so . Consistency is a statement about with one generation, not about a fixed over many generations.
With the unbiased variance estimator, for every generation . Does the variance collapse?
- No: an unbiased estimator cannot drift
- Only if is smaller than the number of generations
- Yes: is a random walk with negative drift, so almost surely, while rare large chains keep the mean at
- Only if the original data were not Gaussian
Show the answer
C. Yes: is a random walk with negative drift, so almost surely, while rare large chains keep the mean at
Each step multiplies the variance by , whose logarithm has negative mean by Jensen's inequality. The product goes to zero almost surely even though its expectation is constant.
In the scaling-law model of Dohmatob et al. (2024), a model is trained on samples from a Zipf-like distribution whose tail was cut at rank . What happens as grows?
- The test error keeps falling as a power law, as with real data
- The test error rises with , because the model memorizes the synthetic data
- The test error drops to zero once
- The test error plateaus at a floor of order once : more synthetic data stops helping
Show the answer
D. The test error plateaus at a floor of order once : more synthetic data stops helping
: the first term shrinks with data, the second is the price of the missing tail. Mixing in a fraction of real data restores the clean law once exceeds about .
You plan to retrain a model every month on a web crawl that increasingly contains its own outputs. Which practice best guards against collapse?
- Keep accumulating data, retain the original human-written corpus in the mix, and track which examples are machine-generated
- Replace last month's data with the new crawl each time, to stay current
- Lower the sampling temperature of the model, so its outputs in the crawl are of higher quality
- Train for more epochs on each month's crawl
Show the answer
A. Keep accumulating data, retain the original human-written corpus in the mix, and track which examples are machine-generated
Collapse results assume each generation replaces its data with model output. Accumulating, keeping real data and knowing the provenance of examples (so they can be filtered or reweighted) keep the loop anchored; in the linear model accumulation bounds the error at times its first-generation value.
Further reading
- I. Shumailov, Z. Shumaylov, Y. Zhao, N. Papernot, R. Anderson & Y. Gal, "AI models collapse when trained on recursively generated data," Nature 631, 755–759 (2024).
- E. Dohmatob, Y. Feng, P. Yang, F. Charton & J. Kempe, "A tale of tails: model collapse as a change of scaling laws," ICML (2024).
- M. Gerstgrasser, R. Schaeffer, A. Dey, R. Rafailov, D. Pai, H. Sleight, J. Hughes, T. Korbak, R. Agrawal, A. Gromov, D. A. Roberts, D. Yang, D. Donoho & S. Koyejo, "Is model collapse inevitable? Breaking the curse of recursion by accumulating real and synthetic data," arXiv:2404.01413 (2024).
- S. Alemohammad, J. Casco-Rodriguez, L. Luzi, A. I. Humayun, H. Babaei, D. LeJeune, A. Siahkoohi & R. G. Baraniuk, "Self-consuming generative models go MAD," ICLR (2024).
- Q. Bertrand, A. J. Bose, A. Duplessis, M. Jiralerspong & G. Gidel, "On the stability of iterative retraining of generative models on their own data," ICLR (2024).