Approximately what fraction of BPE vocabulary tokens does LiteToken identify as 'merge residues'?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
LiteToken found that about 10% of BPE vocabulary slots are merge residues: intermediate tokens created during training that almost never appear in real tokenized text.
Imagine building a giant LEGO castle by gluing small bricks into bigger blocks, step by step. Some of those medium-sized blocks were only ever a stepping stone, because you always glued them into something larger, so the medium block never ends up in the finished castle on its own. BPE training works the same way: it merges character pairs into bigger pieces over and over. A chunk of those mid-size pieces are pure stepping stones that the final tokenizer never actually uses. LiteToken counted them and found roughly one in ten vocabulary slots is this kind of leftover, taking up space in the model without ever doing useful work.
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.
3 min: greedy merge chains + why intermediates die + ~10% residue figure + embedding/lm_head cost + prune and reallocate fix.
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.
Assuming every vocabulary slot is actively used because BPE is greedy: in practice roughly 10% are dead-end merge intermediates that never surface in real text.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.