Recursive Training and Model Collapse › The Token-Level View

Michael BrenndoerferNovember 26, 20267 min read
Language AI HandbookAll chapters
Part 21 of 67Data Governance, Provenance, and Synthetic Ecosystems
Chapter 153Recursive Training and Model Collapse › The Token-Level View
Reading section 7 of 12 · The Token-Level View · 7 minSection 7 of 12 · 7 min

Section 7 of 12 · 7 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The Gaussian case isolates the statistical channel. It has no notion of a vocabulary, so it cannot show tail loss in the sense that matters for language models: the disappearance of rare types.

We now switch to a discrete toy distribution: 2,000 types with Zipf exponent 1.07. We designate ranks 501 through 2,000, the bottom 75% by type count, as the tail and track their probability mass. These ranks and exponent define this experiment; they are not a fitted description of every natural-language vocabulary.

The loop adds one ingredient that the Gaussian case lacked: the synthetic corpus is generated at a decoding temperature TT, with 0<T<∞0<T<\infty. Sampling at temperature TT means drawing from

pT(i)∝p(i)1/T.p_T(i) \propto p(i)^{1/T}.

For 0<T<10<T<1, unequal positive-probability ratios are amplified: a nonuniform law concentrates, while a uniform law on its support remains unchanged. In the infinite-corpus limit, unsmoothed counting recovers pTp_T, so the deterministic recursion becomes

pt+1∝pt1/T.p_{t+1} \propto p_t^{1/T} .

Iterating gives pt∝p0T−tp_t \propto p_0^{T^{-t}}. This deterministic sharpening map has no corpus-size parameter. Finite corpora add sampling noise and, in the smoothed simulation below, a corpus-dependent probability floor.

This is worth spelling out because it is easy to underestimate. A temperature of 0.95 looks almost neutral. But a 0.950.95 temperature applied forty times raises each probability to the power 0.95−400.95^{-40}, which is about 7.87.8. Before renormalization, a type that started with probability 10−310^{-3} has weight 10−3×7.7814≈4.5×10−2410^{-3 \times 7.7814}\approx4.5\times10^{-24}, which is smaller by many orders of magnitude. The exponent does the damage, not the base.

ConsoleOut [11]
CollapseExpand
tail types: 1500 of 2000 (75.0% of the vocabulary)
tail mass in the true distribution: 13.2%

We run three temperatures over forty generations: the neutral control at T=1.0T = 1.0, mild sharpening at T=0.95T = 0.95, and moderate sharpening at T=0.90T = 0.90. The simulation runs here, so every figure below simply renders the stored histories.

PythonIn [13]
CollapseExpand
CAT_GENERATIONS = 40
TEMPERATURES = [1.0, 0.95, 0.90]

token_runs = {T: simulate_token_loop(T, CAT_GENERATIONS) for T in TEMPERATURES}
real_perplexity = {T: np.exp(token_runs[T]["ce_real"]) for T in TEMPERATURES}
cat_gen = np.arange(CAT_GENERATIONS + 1)

The histories at row tt measure the current fitted law ptp_t: reference cross-entropy is H(preal,pt)H(p_{\mathrm{real}},p_t) and self-perplexity is exp⁡H(pt)\exp H(p_t). The displayed type count instead comes from a new corpus decoded from qt(i)∝pt(i)1/Tq_t(i)\propto p_t(i)^{1/T}; its counts fit pt+1p_{t+1}. The code records states zero through forty and also draws a final corpus at state forty; that last fitted successor is not included in the histories. The table uses the recorded model index throughout.

ConsoleOut [14]
CollapseExpand
    T  gen   tail mass   entropy   ppl(real)   ppl(self)   types
----------------------------------------------------------------
 1.00    0   1.319e-01     5.231       186.9       186.9    1287
 1.00   10   1.144e-01     4.694      2645.1       109.3     449
 1.00   20   9.700e-02     4.443      6530.9        85.0     297
 1.00   40   1.116e-01     4.194     20420.3        66.3     193

 0.95    0   1.319e-01     5.231       186.9       186.9    1168
 0.95   10   1.100e-02     2.179     16981.2         8.8     148
 0.95   20   7.001e-04     0.694    761998.0         2.0      21
 0.95   40   1.500e-07     0.029  27555393.3         1.0       4

 0.90    0   1.319e-01     5.231       186.9       186.9    1035
 0.90   10   3.001e-04     0.693    447599.6         2.0      23
 0.90   20   1.500e-07     0.016  25557392.6         1.0       3
 0.90   40   1.500e-07     0.000 285783310.5         1.0       1

At T=1.0T=1.0, tail mass fluctuates from about 13.2% initially to 11.2% at generation forty. This run does not show monotonic aggregate tail-mass loss. Individual rare types still disappear from the sampled corpus, and the number of sampled types falls substantially. Under unsmoothed counting, each type's probability is a martingale: loss in many histories can coexist with preserved probability in expectation. The tiny smoothing floor here permits recovery in principle, although it is unlikely over forty generations.

At T=0.95T=0.95, tail mass reaches about 1.5×10−71.5\times10^{-7} by generation forty. At T=0.90T=0.90, it first reaches that floor at recorded model index fourteen in this seeded implementation. The floor for each type is α/(n+αV)\alpha/(n+\alpha V), where α=10−6\alpha=10^{-6} is the additive count, n=10,000n=10{,}000 is corpus size, and V=2,000V=2{,}000 is vocabulary size. For 1,500 tail types with zero counts, their combined mass is about 1.5×10−71.5\times10^{-7}; a hundredfold larger corpus makes that floor approximately a hundredfold smaller. The first floor index is a seeded simulation result, not a universal collapse time.

Real-distribution cross-entropy rises strongly in these runs as reference types receive very low fitted probabilities. The model's self-perplexity is the exponential of its own entropy and falls toward one under sharpening. Both metrics can fluctuate or plateau: neither has a universal monotonicity guarantee. The real-distribution metric here is calculated exactly under the known reference probabilities, without a sampled held-out corpus.

The tail-mass figure shows how neutral sampling differs from repeated sharpening.

VisualizationOut [15]
CollapseExpand
Log-scale tail-mass plot: the neutral-temperature curve fluctuates near 0.1, while sharpened curves reach a floor near 1.5 times ten to the minus seven.
Fitted-model probability mass on reference ranks 501 through 2000 over recursive refits using 10,000-token corpora. The neutral-temperature control fluctuates near its initial mass; temperatures 0.95 and 0.90 drive the tail toward the smoothing floor. The deterministic sharpening exponent is independent of corpus size, while sampling noise and the floor depend on corpus size.

At the smoothing floor, a type has an expected count of about 10−610^{-6} under neutral sampling of 10,000 tokens, so recovery during this experiment is very unlikely. Its probability is still positive. In the unsmoothed categorical-counting loop, zero is absorbing and support can stay the same or shrink at each round.

The evaluation trap is best seen by putting the two perplexities on the same axes.

VisualizationOut [16]
CollapseExpand
Line plot comparing rising real-data perplexity against falling self-perplexity over forty generations.
Perplexity of each current fitted model measured under the fixed real-reference law and under its own probability law, at decoding temperature 0.90. Exact reference perplexity rises while self-perplexity falls in this run. The latter is exp(H(p_t)); it is not the cross-entropy of the next fitted model on data from its predecessor.

This figure compares reference perplexity exp⁡(H(preal,pt))\exp(H(p_{\mathrm{real}},p_t)) with self-perplexity exp⁡(H(pt))\exp(H(p_t)). Evaluating a successor on a predecessor's independent samples is a different quantity, H(qt,pt+1)H(q_t,p_{t+1}), where qtq_t is that predecessor's decoded sampling law. Neither comparison alone establishes preservation of the original target. Keep a fixed reference independent of the evolving loop; in a real language pipeline, held-out human text is one useful anchor.

The token-level simulation also shows why "just generate more data" is not a universal fix. At temperature 1.0, larger corpora reduce the chance of missing a given rare type; the tiny smoothing floor also depends on corpus size. At temperature 0.90, a larger corpus does not remove the deterministic sharpening mechanism, although it changes sampling noise and the smoothing floor. The two channels have different scaling behavior, and a mitigation that works for one may do nothing for the other.

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