Log inStart free
LESSON 35.08 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Model collapse

Watch a model trained on its own output forget its rare words.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 35.08 · DATA BAYREAL 2.72 BITS · GEN 0 2.65 BITS
01
Stage 1 of 5 · Real data
The real data uses 8 words with a long tail. Generation 0 counts 50 real samples and keeps each word's share.
Explain it simply

The teal bars show the real data: eight words, from the down to yak. The blue bars show generation 0, a model that only counts. It draws 50 real samples and gives each word its share of them. The rare words get only a few samples, so their shares are rough.

Eight word rows. Each row shows the real share and the generation 0 share from 50 samples.

real datamodel sharelost word (count 0)settings
010203040generationthe0.24cat0.22sat0.24on0.10red0.04mat0.04owl0.08yak0.04real data and generation 0realgeneration 0p̂(the) = 12 / 50 = 0.24p̂(yak) = 2 / 50 = 0.04010203040generationthe0.24cat0.22sat0.24on0.10red0.04mat0.04owl0.08yak0.04real data and generation 0realgeneration 0p̂(the) = 12 / 50 = 0.24p̂(yak) = 2 / 50 = 0.04
Toy: 8 words, 40 generations, each fit by counting
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
p^0(w)=c(w) / N\sy{p}{out}{\hat p_0(w)} = \sy{c}{data}{c(w)} \,/\, \sy{n}{param}{N}
p^0(the)=12/50=0.24\hat p_0(\text{the}) = 12 / 50 = 0.24

Each word's share is its count over the sample size.

Common mix-ups

MYTHA lost word can come back in a later generation.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With no real data, do words vanish sooner or later at temperature 0.7?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.