What is STRR and how does it reveal poor tokenizer coverage that fertility alone misses?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Define STRR (Single Token Retention Rate) as a tokenizer fairness metric. Construct a concrete scenario where a language has acceptable average fertility but STRR reveals poor coverage. Explain why both metrics together are necessary for a complete picture of tokenizer fairness.
STRR is the fraction of a language's vocabulary that maps to single tokens; because it is unweighted by frequency, it exposes the fragmented rare-word tail that a corpus-averaged fertility number hides.
Imagine rating a buffet on how many trips it takes to get a full plate. Fertility times an average diner, who mostly grabs the popular dishes parked right by the entrance, so it looks like one easy trip. But most of the menu sits on a far table that takes four trips to reach. STRR counts how many of all the dishes are within one easy reach, not just the popular few. A buffet can feel quick to regulars while burying most of the menu. You need the regular's stopwatch and the full-menu count to know who the buffet really serves well.
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.
4 min: STRR is single-token coverage rate + fertility is frequency-weighted mean + worked 1.7-vs-1% gap + tail carries meaning + both needed + over-maximizing STRR bloats vocab + choice is sticky.
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.
Computing STRR over a text sample rather than the distinct word list, which sneaks the frequency bias back in and makes it just a restatement of fertility.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.