天城文分词器 Ancoda 研究:更少 token 不够,还需保护字母单元并在模型层验证
Fewer Tokens Are Not Enough: A Devanagari Tokenizer with Protected Letter Units, Tested at the Model Level
AI 导读
arXiv 论文提出 Ancoda,一个无损字节级 BPE 分词器,在普通合并表中保护高频天文字母单元。在 4 个词表规模档位下,它对比的 20 个分词器中对天城文文本每词所需 token 最少,但英文在 32k 至 128k 词表下不占优。
正文 · 原文
Abstract: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+.
| Comments: | 18 pages, 4 figures. Code: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2612.03368 [cs.CL] |
| (or arXiv:2612.03368v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03368 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Suryodaya Shahi Mr [view email]
[v1]
Wed, 2 Dec 2026 08:10:39 UTC (946 KB)
来源:arXiv cs.AI · arxiv.org