Character, word, and subword tokenization each have a dominant failure mode. Match them.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Character-level explodes sequence length. Word-level hits closed vocabulary, so unseen words become [UNK]. Subword is the Pareto winner modern LLMs use; byte-level still has a Latin-script bias.
Imagine three ways to pack a backpack for a trip. The first packer (character) puts each item in its own tiny zip-loc bag. Nothing is missing, but the backpack is now full of bags, and it takes forever to find anything. The second packer (word) only packs items from a fixed packing list. The list does not include the new pair of shoes you just bought, so the shoes get left at home. The third packer (subword) packs in medium chunks: a 'shoe' bag, a 'lace' bag, a 'sole' bag. Anything new can be assembled out of those chunks, and the backpack stays a reasonable size. Modern LLMs use packer three. Packer one is too slow and bulky; packer two cannot handle anything new. Even packer three has a quirk: when working with non-English scripts, each character can take several bytes, so the chunks for those languages end up costing more.
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: walk through the three classic families, name each dominant failure mode, explain why subword won, note the Latin-script bias that even byte-level subword still has, and place the entire question in the 2026 stack where the family-level choice is no longer live.
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.
Claiming subword tokenization has no failure mode at all. Byte-level subword has a real, measurable Latin-script bias because non-Latin code points often encode to multiple bytes, inflating token counts for those languages.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.