Recursive Training and Model Collapse › Breaking the Loop

Michael BrenndoerferNovember 26, 202613 min read
Language AI HandbookAll chapters
Part 21 of 67Data Governance, Provenance, and Synthetic Ecosystems
Chapter 153Recursive Training and Model Collapse › Breaking the Loop
Reading section 8 of 12 · Breaking the Loop · 13 minSection 8 of 12 · 13 min

Section 8 of 12 · 13 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The interventions target different parts of the update. More representative samples reduce statistical uncertainty; generation settings change the sampled law; retained data or an external reference can constrain drift. Their effects depend on the learner and the objective.

Accumulate, Don't Replace

One structural intervention is to retain earlier data rather than replace the entire corpus:

Dt+1=Dt∥Sn(pt).\mathcal{D}_{t+1} = \mathcal{D}_t \mathbin{\|} S_n(p_t).

Here ∥\mathbin{\|} denotes corpus concatenation, preserving every occurrence and its order.

Gerstgrasser and colleagues analyze ridgeless regression with reused isotropic Gaussian covariates, dimension dd, and T≥d+2T\geq d+2 samples per round. Their Theorem 2 gives expected excess test MSE [σ2d/(T−d−1)]∑i=1ni−2[\sigma^2 d/(T-d-1)]\sum_{i=1}^{n} i^{-2}, bounded above by [σ2d/(T−d−1)]π2/6[\sigma^2 d/(T-d-1)]\pi^2/6 for any number of rounds nn. The expectation averages over training data and an independent test point and subtracts the irreducible label-noise variance σ2\sigma^2. Here the Gaussian example measures fitted variance, a different quantity. Their language-model experiment starts from TinyStories, generated by GPT-3.5 and GPT-4. Its held-out cross-entropy stayed level or fell under accumulation over the tested rounds. Accumulation grows the training pool and uses more optimizer steps per epoch than fixed-size replacement (Figure 3). The growing synthetic replacement control matches pool sizes and still shows rising evaluation loss (Appendix C, Table 2). That control requires generating more new examples, so it does not match total compute. Their diffusion-model experiment showed stable test loss over the studied horizon. In their VAE experiments, accumulation slowed test-error growth compared with replacement, but test error still increased and some minor visual details were lost. Retention changes the dependence between generations. A nonzero weight on the original data at each finite round does not establish stability by itself.

For the Gaussian implementation below, start from the true parameters, retain nn real samples, and draw the first nn synthetic samples from the true Gaussian before fitting their combined pool. Thus the first fitted pool contains 2n2n iid points. Write vt=σt2v_t=\sigma_t^2 for its fitted variance after tt synthetic batches. For t≥1t\ge1, its size is Mt=n(t+1)M_t=n(t+1) and its fitted mean is exactly the retained pool's mean.

Let yˉ\bar y and w=n−1∑j=1n(yj−yˉ)2w=n^{-1}\sum_{j=1}^n(y_j-\bar y)^2 be the new batch mean and MLE variance. With retained pool mean μt\mu_t, the within/between decomposition gives

vt+1=MtMt+nvt+nMt+nw+Mtn(Mt+n)2(yˉ−μt)2.v_{t+1}=\frac{M_t}{M_t+n}v_t+\frac{n}{M_t+n}w +\frac{M_t n}{(M_t+n)^2}(\bar y-\mu_t)^2.

Conditional on the pool, E[w]=(n−1)vt/n\mathbb E[w]=(n-1)v_t/n and E[(yˉ−μt)2]=vt/n\mathbb E[(\bar y-\mu_t)^2]=v_t/n. Taking the conditional expectation therefore gives

E[vt+1∣Dt]=(1−n(Mt+n)2)vt=(1−1n(t+2)2)vt.\mathbb{E}[v_{t+1}\mid\mathcal D_t] =\left(1-\frac{n}{(M_t+n)^2}\right)v_t =\left(1-\frac{1}{n(t+2)^2}\right)v_t.

where Dt\mathcal D_t is the entire retained pool, MtM_t is its size, and the expectation is over the new synthetic batch. It would be incorrect to treat the retained points as a fresh iid sample from a mixture of earlier models.

The initial fit has E[v1]=σ02(1−1/(2n))\mathbb{E}[v_1]=\sigma_0^2(1-1/(2n)). Iterating the conditional expectation gives

E[vt]σ02=(1−12n)∏j=3t+1(1−1nj2)  →t→∞  Rn>0.\frac{\mathbb{E}[v_t]}{\sigma_0^2} =\left(1-\frac1{2n}\right)\prod_{j=3}^{t+1}\left(1-\frac1{nj^2}\right) \;\xrightarrow[t\to\infty]{}\;R_n>0.

where jj indexes successive pool sizes in units of nn, t≥1t\ge1, and RnR_n is the limiting expected retained-variance fraction. The loss factors are summable, so the product has a positive limit. Using the sine-product identity gives

Rn=(1−12n)sin⁡(π/n)/(π/n)(1−1/n)(1−1/(4n)),1−Rn=π2/6−3/4n+O(n−2).R_n=\left(1-\frac1{2n}\right) \frac{\sin(\pi/\sqrt n)/(\pi/\sqrt n)}{(1-1/n)(1-1/(4n))}, \qquad 1-R_n=\frac{\pi^2/6-3/4}{n}+O(n^{-2}).

where n≥2n\ge2. The leading coefficient is about 0.8950.895, and at n=50n=50 the exact limiting expected loss is about 1.78%, compared with 70.24% after sixty replacement generations. Here RnR_n is retention and 1−Rn1-R_n is loss. The retained fraction depends on this initialization and the pooled maximum-likelihood fit.

These are statements about expected fitted variance. Individual runs can fluctuate, and retaining data does not guarantee that every fitted variance stays at its initial value. The broader lesson is that accumulation changes a vanishing expected variance into a positive limiting expectation under this specified model.

The accumulation bound depends on sample size, and the contrast with replacement is easiest to see across a range of corpus sizes.

PythonIn [17]
CollapseExpand
import numpy as np

n_vals = np.logspace(np.log10(5), np.log10(5000), 200)


def accumulation_retention(n):
    """Exact limiting E[variance]/sigma0**2 for run_accumulation below."""
    return (
        (1 - 1 / (2 * n))
        * np.sinc(1 / np.sqrt(n))
        / ((1 - 1 / n) * (1 - 1 / (4 * n)))
    )


loss_accum = 1 - accumulation_retention(n_vals)
loss_replace_60 = 1 - (1 - 1 / n_vals) ** 60
VisualizationOut [18]
CollapseExpand
Log-x plot of replacement loss versus accumulation bound by sample size.
Expected variance loss after sixty replacement generations versus the exact limiting expected loss for the accumulation process used below. Replacement loss is 0.70 at n=50, 0.11 at n=500, and 0.012 at n=5000. Accumulation loss is about 0.018 at n=50 and falls approximately as 0.895/n. The curves compare a finite horizon with an infinite-horizon limit.

Keep an Open Channel to Real Data

The second fix is to maintain a fixed fresh-data fraction λ\lambda. Let each corpus contain exactly nλn\lambda real samples and n(1−λ)n(1-\lambda) synthetic samples, with both counts integers. Fresh samples come from N(μ0,σ02)\mathcal N(\mu_0,\sigma_0^2), and synthetic samples come from the current fitted Gaussian. Conditional on the current fitted Gaussian, all fresh and synthetic samples are drawn independently.

Define Vt=E[σt2]V_t=\mathbb{E}[\sigma_t^2] and Dt=E[(μt−μ0)2]D_t=\mathbb{E}[(\mu_t-\mu_0)^2]. Expected mean displacement is zero from the common initialization. Fixed-count mixing obeys the coupled recursions

Vt+1=(1−1n)[(1−λ)Vt+λσ02]+λ(1−λ)Dt,Dt+1=(1−λ)2Dt+(1−λ)Vt+λσ02n.\begin{aligned} V_{t+1}&=\left(1-\frac1n\right)\big[(1-\lambda)V_t+\lambda\sigma_0^2\big]+\lambda(1-\lambda)D_t,\\ D_{t+1}&=(1-\lambda)^2D_t+\frac{(1-\lambda)V_t+\lambda\sigma_0^2}{n}. \end{aligned}

where nn is total corpus size, λ\lambda is the realized fresh fraction, and V0=σ02V_0=\sigma_0^2, D0=0D_0=0. The extra term in the variance recursion measures separation between the real and synthetic means. Omitting it produces a different approximation.

From this initialization, Vt+Dt=σ02V_t+D_t=\sigma_0^2 at every step. Substituting Dt=σ02−VtD_t=\sigma_0^2-V_t gives a scalar recurrence with multiplier (1−λ)(1−λ−1/n)(1-\lambda)(1-\lambda-1/n). For n≥2n\ge2 and 0<λ≤10<\lambda\le1 its magnitude is below one, so the fixed point is approached. Solving the fixed-point equations gives

V⋆σ02=λ[n(2−λ)−1]nλ(2−λ)+1−λ.\frac{V_\star}{\sigma_0^2} =\frac{\lambda[n(2-\lambda)-1]}{n\lambda(2-\lambda)+1-\lambda}.

where V⋆V_\star is the limiting expected fitted variance, not the square of expected fitted standard deviation. At n=50n=50, realized fractions 4% and 20% give limiting RMS standard-deviation ratios of about 0.892 and 0.973. A nominal 5% request rounds to two fresh points out of fifty in the code, so we use and label the realized 4% directly. At λ=1\lambda=1, fresh finite-sample MLE fitting still has expected variance (1−1/n)σ02(1-1/n)\sigma_0^2. At λ=0\lambda=0, replacement drives expected variance to zero. Both the fraction and the sample size affect these moments.

Let's measure it. We reuse refit_gaussian and add two more training strategies, mixing with a fresh-data fraction and full accumulation. All of the sampling and fitting runs in these computation cells, so the figure cell that follows only draws the averaged paths.

PythonIn [19]
CollapseExpand
def run_mixing(fresh_fraction, n_samples, generations, seed):
    """Each generation trains on fresh real data plus model samples."""
    rng = np.random.default_rng(seed)
    n_real = int(round(fresh_fraction * n_samples))
    n_syn = n_samples - n_real
    mu, sigma = TRUE_MU, TRUE_SIGMA
    path = [(mu, sigma)]
    for _ in range(generations):
        parts = [rng.normal(mu, sigma, size=n_syn)]
        if n_real > 0:
            parts.append(rng.normal(TRUE_MU, TRUE_SIGMA, size=n_real))
        mu, sigma = refit_gaussian(np.concatenate(parts))
        path.append((mu, sigma))
    return np.array(path)


def run_accumulation(n_samples, generations, seed):
    """Never discard data: train on everything seen so far."""
    rng = np.random.default_rng(seed)
    mu, sigma = TRUE_MU, TRUE_SIGMA
    pool = rng.normal(TRUE_MU, TRUE_SIGMA, size=n_samples)
    path = [(mu, sigma)]
    for _ in range(generations):
        batch = rng.normal(mu, sigma, size=n_samples)
        pool = np.concatenate([pool, batch])
        mu, sigma = refit_gaussian(pool)
        path.append((mu, sigma))
    return np.array(path)
PythonIn [20]
CollapseExpand
CONFIGS = [
    ("Closed loop, 0% fresh", "mix", 0.00),
    ("4% fresh real data (2/50)", "mix", 0.04),
    ("20% fresh real data", "mix", 0.20),
    ("Accumulate all data", "accum", None),
]

strategy_runs = {}
mean_paths = {}
rms_paths = {}
for label, mode, frac in CONFIGS:
    runs = []
    for seed in range(20):
        if mode == "mix":
            runs.append(run_mixing(frac, N_SAMPLES, GENERATIONS, seed))
        else:
            runs.append(run_accumulation(N_SAMPLES, GENERATIONS, seed))
    strategy_runs[label] = np.array(runs)  # (20 runs, generations + 1, 2)
    mean_paths[label] = np.mean(strategy_runs[label], axis=0)
    rms_paths[label] = np.sqrt(
        np.mean(strategy_runs[label][:, :, 1] ** 2, axis=0)
    )
VisualizationOut [21]
CollapseExpand
Line plot comparing variance collapse under closed loop, 4 percent fresh, 20 percent fresh, and data accumulation.
RMS fitted standard deviation across twenty runs per strategy, with fifty new samples per generation. Fresh-data fractions are realized counts: two out of fifty (4%) and ten out of fifty (20%). Accumulation retains all earlier samples, so its training pool grows; replacement and mixing refit only the newest fifty. These finite-run RMS curves have Monte Carlo noise and do not by themselves establish the infinite-generation fixed points.

Both fresh-data settings retain much more spread than replacement. Accumulation remains near its initial scale over this horizon. Twenty runs do not precisely resolve small differences between the two strongest strategies, and the finite-horizon curves should not be read as exact fixed points.

ConsoleOut [22]
CollapseExpand
Limiting expected variance loss under accumulation: 1.78%
Mean fitted variance ratio after 60 generations:
  Closed loop, 0% fresh        0.202
  4% fresh real data (2/50)    0.850
  20% fresh real data          1.014
  Accumulate all data          0.929

A finite set of accumulation runs can average above or below the expected retention. The derivation includes the difference between batch means; this contribution does not imply systematic variance inflation. Expected variance declines modestly to a positive limit for this initialization.

Change the Sampler

The power sharpening in the token example is introduced by the sampler. For a real pipeline, treat generation settings as choices to validate against its intended task and reference distribution:

  • Use temperature one as a distribution-preservation control. With no other decoding modifications, p1/1=pp^{1/1}=p avoids power sharpening. It does not repair fitting error or an already distorted corpus. Temperatures above one flatten the law rather than guarantee better data. Lower temperatures can be appropriate for task-directed synthetic data; check their effect before recursive reuse.
  • Match decoding to the goal. If the goal is to represent the model distribution, random sampling is the appropriate baseline; beam search instead searches for high-scoring sequences. For a task that values selected correct outputs over distributional coverage, mode-seeking generation may be useful. See Beam Search for the tradeoffs.
  • Check prompt coverage. The prompt distribution is part of the sampler. A narrow prompt set restricts which conditional behaviors can appear in the corpus. Choose it to cover the intended use cases and measure whether those cases remain represented over successive rounds.

If the distortion is exactly a known temperature transform on a positive probability distribution, applying temperature 1/T1/T to the distorted law undoes it: (p1/T)T∝p\left(p^{1/T}\right)^T\propto p after normalization. This identity does not invert missing finite-sample counts, truncation to zero, or arbitrary filtering. Characterizing a bias is a step toward correction; recoverability also depends on what information remains.

Changing decoding alone leaves the model parameters unchanged, but changes the law used to create its corpus. A successor trained on that corpus can learn the transformation. A later decoder adjustment does not automatically reverse changes already learned by the successor.

Use Validated Checks for Curation

Curation changes which generated examples become training data. Its benefit depends on what the selection signal measures and on the loop in which it is used.

Curation can use external checks: unit tests for code, retrieval against source documents, formal proof checking, or human assessment. A learned reward model is another selection signal; validate its predictions against the intended preference criterion. These signals can add information beyond the generator's self-assessment, but their relevance and reliability must be evaluated on the intended task.

Ungrounded self-checking provides no general guarantee of recovering facts or distributional regions that the pipeline has lost. It can still select among candidates or improve a task result. To test whether it arrests recursive drift, evaluate the resulting model against an independent reference rather than treating another pass of self-assessment as new evidence.

Ferbach, Bertrand, Bose, and Gidel analyze an idealized population loop with exact distributional refitting. They draw K≥2K\geq2 candidates independently from the current model and select candidate ii with probability proportional to exp⁡(r(xi))\exp(r(x_i)), the Luce generalization of Bradley–Terry choice. Under their bounded-reward assumptions, expected exponential reward in the fully synthetic loop is nondecreasing and rises strictly when exponential reward has positive variance. Its limit is the essential supremum under the initial law. The supremum need not be attained. Their KL convergence result additionally requires positive initial mass on the highest essential reward level. Then DKL(p∗∥pt)→0D_{\mathrm{KL}}(p_*\Vert p_t)\to0, where p∗p_* is the initial law conditioned on that level. Their mixed-reference bounds have further assumptions. This supports a precise warning: optimizing a curator's reward can reduce diversity and amplify its biases, rather than preserve the original distribution.

These guarantees do not transfer automatically to interacting generators. Zhang, Wei, and Zhang's 2026 preprint gives stability conditions for a multi-model loop and exhibits cases where cross-model interaction reverses a curation benefit. A useful verifier therefore needs both an appropriate target and validation in the actual training loop.

Track Provenance

Provenance records can reveal recursive feedback and help identify where to intervene.

Record, for each training shard, its source or generator, decoding configuration, prompts, generation time, and any later selection or editing. Such records support estimates of the fresh-reference fraction λ\lambda in a mixed corpus. When lineage is incomplete, report which parts of that estimate are measured and which are inferred.

For open-web data that arrive without those records, treat the missing history as an explicit uncertainty. A synthetic-text detector can provide a noisy signal, but false positives and false negatives both matter. Its flagged fraction can be above or below the actual synthetic fraction, so it is not automatically a lower bound. Validate the detector on comparable data and report uncertainty about the mixture. The next chapter treats this auditing problem.

Limits of Common Interventions

The following interventions can help specific problems, but none by itself guarantees preservation of the original distribution:

  • Generating more synthetic data. At fixed sampler and learner, more samples reduce sampling uncertainty. This slows the Gaussian statistical collapse, but does not remove the ideal temperature transform or reconstruct types excluded by a truncated source.
  • Scaling up the model. A richer model class can reduce expressivity error. It also changes the learner in the update map, so neither the limiting distribution nor the collapse time is generally unchanged. Capacity alone does not ensure that the generated corpus covers the target.
  • Deduplicating the synthetic corpus. Removing duplicates changes example weights and can affect coverage; it does not create examples absent from all available sources. The effect depends on the deduplication rule and domain. See Deduplication.
  • Filtering with a perplexity threshold. A threshold selects examples favored by a particular reference model and can change the represented domains or tail. It is not generally the same operation as temperature scaling. Evaluate the filtered distribution before reuse; see Quality Filtering.

The mechanism determines the remedy. A categorical type assigned an absorbing zero cannot reappear through that same sampler without another source or a changed learner. Other failures can be reduced by using retained information better, changing the estimator, changing the sampler, or adding independent evidence. Test the proposed change against the loss it is meant to address.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy