Fewer Tokens Are Not Enough: A Devanagari Tokenizer with Protected Letter Units, Tested at the Model Level
Tokenizers are usually judged by how few tokens they need. We test whether that predicts model quality for Devanagari languages. We build Ancoda, a lossless byte-level BPE tokenizer that keeps frequent Devanagari letter units intact inside an ordinary merge table. In each of four vocabulary-size classes it needs the fewest tokens per word on Devanagari text of the 20 tokenizers we compare, though it loses English at 32k to 128k. We then train 59M-parameter language models that differ only in the tokenizer, three seeds each, under a pre-registered decision rule. Our main finding is that tokens per word on test text, the usual measure, did not predict model quality. A Nepali-only tokenizer needs 6% fewer Nepali tokens, yet Ancoda's model has 4% lower bits per byte. A plain BPE tokenizer trained on the same text as Ancoda needs more Nepali tokens, yet gives an equally good model. And Ancoda's small lead over two Yak tokenizers on held-out text from its own sources disappears on FLORES+. On our held-out set, the best models came from the two tokenizers trained on text like the models' own; our design for keeping letters intact added nothing to bits per byte. Ancoda's models are worse on text with joiners; removing synthetic joiner text from its training helps with ZWJ but not ZWNJ, which it hurts on FLORES+.
