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.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Fertility is the metric everyone reaches for when discussing tokenizer fairness, because it maps straight to per-token billing. The problem is that an average can be held down by a tiny, frequently-used head while the rest of the vocabulary quietly fragments. STRR exists to make that hidden fragmentation visible.
This question asks you to do three things: define STRR precisely, construct a scenario where it disagrees with fertility, and argue why you need both. The disagreement is the whole point. A candidate who can build the 50-common-words case and explain why the tail matters demonstrates that they understand tokenizer fairness as a distribution problem, not a single number. We will define the metrics, build the case with real arithmetic, explain what lives in the tail, and connect it to production decisions and the stickiness constraint.
Defining STRR against fertility
STRR, the single-token retention rate, is the fraction of a language's distinct vocabulary that the tokenizer represents as one token. STRR of 1 means every word is a single token; STRR of 0.3 means 70 percent of words fragment.
Fertility is the average tokens per word over a representative corpus. The defining contrast is weighting. Fertility is frequency-weighted, because words that appear often contribute more to a corpus average. STRR is unweighted, because it counts each distinct word once regardless of how often it is used.
That single difference, weighted mean versus unweighted coverage, is why the two can disagree and why their disagreement is informative. Fertility reports the cost of typical text; STRR reports how much of the language got first-class single-token treatment.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- Tokenizer fairness audits of OpenAI's o200k_base report fertility and a coverage rate together per language to check whether multilingual gains reach the rare-word tail.
- The BLOOM and Aya multilingual projects evaluated coverage breadth alongside average fertility when designing balanced tokenizers for low-resource languages.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you compute STRR reproducibly for a language without a clean canonical word list?
Define a segmentation convention, derive distinct words from a representative corpus, then count single-token words over distinct words; document the convention so numbers are comparable.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases 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.
60 second bullets to scan on the way to the call.
STRR as fraction of distinct vocabulary that is single tokens
Fertility as a frequency-weighted average over a corpus
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.