# The Curse of Recursion: Training on Generated Data Makes Models Forget

Models trained on their own generated text lose rare events

Ilia Shumailov, Zakhar Shumaylov, Yiren Zhao, Yarin Gal, Nicolas Papernot, Ross Anderson · arXiv · 2023-5-27

- **Problem** As LLMs write more of the web, future models scraped from it will learn mostly from their predecessors' output. Rare events in the original data can then disappear.
- **Method** The authors refit each generation on samples drawn from the previous generation's fit, a setup they call Learning with Generational Data. They track how the tails disappear.
- **Results** Training OPT-125m on generated data alone cost it 20 to 28 perplexity points.

## Why recursive training worries the authors

Web text is no longer only human-written, because search, editing tools and LLMs now shape much of what gets published. Future models scraped from the web would then learn mostly from their predecessors' output. The authors ask what happens to GPT-{n} as generation n grows, and they call the effect model collapse. The name borrows from mode collapse in GAN research, where generators keep producing a few outputs that fool the discriminator.

Collapse starts with the tails of the original distribution disappearing. The authors stress that this happens even with no shift in the distribution over time and no function estimation error. So access to genuine human data matters most where the tails of the distribution matter.

## How errors compound across generations

The key idea is that every generation learns from a finite sample of the one before, so rare events can be lost at each step. Each generation fits an approximating distribution to the previous generation's data, then draws a new dataset from that fit. This resampling step, which the paper calls Learning with Generational Data, mixes the new model's output with earlier data using weights alpha, beta and gamma that sum to one.

The mathematical models set alpha and gamma to zero, so each step uses data from a single generation.

The primary error is statistical: a finite sample can miss a rare event, and the error does not vanish until the sample is infinite. Even very large samples leave a visible error in the estimated mean, so the drift is not a small-sample artefact. The secondary error is functional, coming from an approximator too weak to match the data, such as one Gaussian fitted to a mixture of two.

An approximator can also be too loose and assign density outside the original support. Without statistical error, functional error only arises at the first generation, because the fitted shape then stays fixed.

The two errors can compound, but better approximation power can also amplify noise instead of cancelling it. More often than not the individual inaccuracies cascade, so the overall error grows.

## Why tails vanish in theory

For discrete distributions with exact fitting, the only source of error is the sampling step. A state whose probability is below 1/M is expected to yield fewer than one sample per generation, so its tail is lost. Each generation depends only on the previous one, so the process forms a Markov chain. Once all samples share one value, the fit becomes a delta function that stays put, so the chain converges with probability one to one of these absorbing states.

The authors conclude that both early and late collapse must arise in this discrete setting.

For a single-dimensional Gaussian, each generation re-estimates the sample mean and variance and draws from the fitted normal. With constant sample size, the variance grows linearly with the generation index, much like a Gaussian random walk. The authors measure the risk with the Wasserstein-2 distance to the true normal. Its expected value scales with the sum of 1/M\_i over generations, so it stays non-zero for any finite sample sizes.

To keep the risk finite, the sample size per generation has to grow superlinearly, perhaps quadratically.

The noisy model adds an extra term to the mean update, and the authors derive a lower bound on the risk for it. The bound keeps the same 1/M\_i structure and adds the expected squared sizes of the extra noise terms. The derivation depends on Assumption 3, that the extra noise carries no first-moment information about the sample mean. The appendix swaps that assumption for a bounded-noise one and recovers a similar bound, up to an error of order 3/2.

## Small models drift in practice

The authors fit a Gaussian mixture model to two artificially generated Gaussians, then refit each generation on samples from the previous fit. The first fit on the original data is close to the truth, but within 50 iterations of resampling the fit already misperceives the distribution. By iteration 2000 the estimate has very little variance.

The L2 distance between the original GMM and its descendants grows over the generations.

Here the VAE trains on the original data, and decoder outputs drawn from Gaussian latents train the next generation. By generation 20 the generated images look like a mix of all the digits. The original encoder places generated data ever closer to the mean, so its confidence in that data grows as the drift continues. The tails of the latent density disappear over time, as they did in the Gaussian case.

## OPT-125m fine-tuned on generated text

The authors fine-tune OPT-125m on wikitext2, then generate a new dataset of the same size with 5-way beam-search. Each training sequence is cut into 64-token blocks, and the model predicts the next 64 tokens for each block. The real-data baseline reaches a mean perplexity of 34, compared to a zero-shot score of 115, over five runs. The authors use the best model on the original task as the base for later generations, so collapse may look more pronounced in practice.

In the first setting, five epochs on generated data with no original data cost OPT-125m 20 to 28 perplexity points. The model still learns the task, so generated data remains usable for adaptation, but with some loss. In the second setting, keeping a random 10% of the original data for ten epochs leaves only minor degradation. The authors expected only moderate change, because training stays near the pre-trained model and generated points give small gradients.

Scored by the first real-data model, later generations produce sequences it finds more likely, but also a much longer tail of improbable ones. The authors read those tail sequences as errors that accumulate across generations. To rule out repetition, the models were forced to avoid repeats with a repeating penalty of 2.0. That doubled perplexity relative to the original, and the models stayed as susceptible to collapse.

## Limits of the evidence

Language results cover only OPT-125m on wikitext2, with five runs per experiment. The authors did not run a language-model version of the small-model experiment, because training a large model has a heavy carbon cost. For fine-tuned language models they saw only early signs of collapse, compared to models trained from scratch. The Gaussian sampling figure reports a single run, and the authors note that re-runs change the initial performance.

Whether the fine-tuning results carry over to other models or corpora was not tested in this paper.

## What it means for web data

The authors argue that keeping the original data source accessible is what sustains learning over a long period. They also note that data crawled before the spread of generated text may become scarce, and tracing LLM output at scale is hard. They suggest a first-mover advantage for models trained before generated text spread widely.

Preserving low-probability events also matters for fairness, because such events often concern marginalised groups.

## Paper info

- **Authors**: Ilia Shumailov, Zakhar Shumaylov, Yiren Zhao, Yarin Gal, Nicolas Papernot, Ross Anderson
- **Venue**: arXiv · Preprint
- **First published**: 2023-5-27
- **Added**: 2026-11-12
- **Updated**: 2024-4-14
- **Version**: v3
- **arXiv**: 2305.17493
- **Category**: cs.LG · cs.AI · cs.CL · cs.CR · cs.CV
- **Original paper terms**: [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2305.17493v3) · [PDF ↗](https://arxiv.org/pdf/2305.17493v3)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Ilia Shumailov, Zakhar Shumaylov, Yiren Zhao, Yarin Gal, Nicolas Papernot, Ross Anderson (2023). The Curse of Recursion: Training on Generated Data Makes Models Forget. arXiv:2305.17493v3. https://arxiv.org/abs/2305.17493v3

**BibTeX**

```
@misc{shumailov2023curse,
  title = {{The Curse of Recursion: Training on Generated Data Makes Models Forget}},
  author = {Ilia Shumailov and Zakhar Shumaylov and Yiren Zhao and Yarin Gal and Nicolas Papernot and Ross Anderson},
  year = {2023},
  eprint = {2305.17493},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.17493v3}
}
```

## Terms in this paper

- [perplexity](https://refivu.com/en/terms/2b204e513801-perplexity)
- [catastrophic forgetting](https://refivu.com/en/terms/0039a430b4e3-catastrophic-forgetting)
- [data poisoning](https://refivu.com/en/terms/e12c3f950c0e-data-poisoning)
- [Model Collapse](https://refivu.com/en/terms/2158f161033a-model-collapse)
- [variational autoencoders](https://refivu.com/en/terms/4e570b65e841-variational-autoencoders)
- [WikiText2](https://refivu.com/en/terms/d68c6ead5039-wikitext2)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/010f8cc1-a37a-4c78-86e1-999f2cb2a9eb-the-curse-of-recursion-training-on-generated-data)
