Metraipolis › archive › dc_a824e373de6f
Universal Byte-Level Encoding: UTF-8/UTF-16 Routing to Reduce Cross-Script Token-Budget Disparities — arXiv:2610.01984
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.01984
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-06T13:56:08.606Z
- SHA-256 of the archived text
e4c4a262d29ccd8161199d0d91795e7fca6fd5038741beb2701c8c0113b054f8- Stable URL of this page
https://metraipolis.com/documento/dc_a824e373de6f
How to cite
Universal Byte-Level Encoding: UTF-8/UTF-16 Routing to Reduce Cross-Script Token-Budget Disparities — arXiv:2610.01984 — arXiv (en), https://arxiv.org/abs/2610.01984 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a824e373de6f (Metraipolis archive dc_a824e373de6f, sha256 e4c4a262d29ccd8161199d0d91795e7fca6fd5038741beb2701c8c0113b054f8)
BibTeX
@misc{dca824e373de6f,
title = {Universal Byte-Level Encoding: UTF-8/UTF-16 Routing to Reduce Cross-Script Token-Budget Disparities — arXiv:2610.01984},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.01984},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a824e373de6f; sha256 e4c4a262d29ccd8161199d0d91795e7fca6fd5038741beb2701c8c0113b054f8},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.01984. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Byte-level byte-pair encoding (BBPE) tokenizers are attractive for multilingual large language models (LLMs) because they cover all Unicode text. In UTF-8-based BBPE, however, many scripts start from a higher fallback cost than English: when no learned merges can be applied, a multibyte character requires multiple byte-derived symbols. We call this worst-case pre-merge cost the encoding floor. A higher floor can increase token counts and per-request cost and shrink usable context. Changing the text encoding can reduce this gap, but a single global encoding can make already-efficient English spans more expensive in mixed-script text. We propose Universal Byte-Level Encoding (UBE), a dual-alphabet tokenizer that keeps 1-2-byte UTF-8 characters on the UTF-8 path while routing 3-4-byte UTF-8 characters through UTF-16. This lowers the encoding floor for 3-byte Basic Multilingual Plane (BMP) characters in scripts with high token premiums (token counts relative to English) without raising it for already-efficient spans in mixed-script text. UBE changes only the byte representation presented to byte-pair encoding (BPE); the merge rule remains standard, and exact decoding is preserved. UBE also composes with alternative boundary policies and morphology-based representations. In a Unicode 17 audit, UBE exactly round-trips all Unicode scalar values and all inputs in the official normalization, grapheme-break, and emoji test suites. Across intrinsic evaluations, UBE lowers dispersion in English-normalized token-count ratios, reducing cross-lingual token-budget disparity. In multilingual language model (LM) experiments, UBE matches BBPE's LM quality. In the main multilingual settings, UBE reduces token counts most for high-premium scripts and slightly lowers English token counts, yielding more usable context under fixed token budgets and faster prompt processing in content-matched benchmarks. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-02 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.01984 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-06T12:15:34.751Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-10-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).