Recursive Training and Model Collapse › The Token-Level View
Language AI HandbookAll chapters 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 , with . Sampling at temperature means drawing from
For , 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 , so the deterministic recursion becomes
Iterating gives . 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 temperature applied forty times raises each probability to the power , which is about . Before renormalization, a type that started with probability has weight , which is smaller by many orders of magnitude. The exponent does the damage, not the base.
ConsoleOut [11]Expand
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 , mild sharpening at , and moderate sharpening at . The simulation runs here, so every figure below simply renders the stored histories.
PythonIn [13]Expand
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 measure the current fitted law : reference cross-entropy is and self-perplexity is . The displayed type count instead comes from a new corpus decoded from ; its counts fit . 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]Expand
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 , 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 , tail mass reaches about by generation forty. At , it first reaches that floor at recorded model index fourteen in this seeded implementation. The floor for each type is , where is the additive count, is corpus size, and is vocabulary size. For 1,500 tail types with zero counts, their combined mass is about ; 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]Expand

At the smoothing floor, a type has an expected count of about 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]Expand

This figure compares reference perplexity with self-perplexity . Evaluating a successor on a predecessor's independent samples is a different quantity, , where 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!