What is STRR and how does it complement fertility as a tokenizer fairness metric?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
STRR is the fraction of a language's vocabulary that maps to single tokens; it measures coverage breadth across the word space, catching the rare-word fragmentation that a frequency-weighted fertility average hides.
Imagine grading a grocery store on how easy it is to grab what you need in one reach. Fertility is like timing an average shopper, who mostly buys the same ten popular items kept right at the front, so the store looks fast. STRR instead walks every aisle and counts how many of all the products are within easy reach. A store can look fast for the regulars while burying everything else on high shelves. STRR is the full-aisle audit; fertility is the regular-shopper stopwatch. You want both to know who the store really serves.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
2-3 min: STRR is single-token coverage rate + fertility is frequency-weighted mean + weighted vs unweighted + head hides the tail + tail carries meaning + report both per language.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating STRR as just another name for low fertility, when one is a frequency-weighted average cost and the other is unweighted coverage breadth across the whole vocabulary.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.