Beyond Two Bytes per Letter: Tokenization Overhead in Cyrillic AI Systems
Source
arxiv.org
Author
Ivan Dobrovolskyi
Date
Context
Ukrainian text can consume substantially more ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition → text units, or TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition →, than English in the corpus comparison reported by this study. Across modern tokenizers, the reported overhead was 68–121%. Splitting text into more pieces uses more of a model's input allowance and increases usage where billing counts those pieces. Research abstract.
Changing the alphabet was usually unhelpful: writing Ukrainian in Latin characters increased counts by 2–19% on most tested tokenizers. A tokenizer trained with a more balanced vocabulary instead reduced the held-out Ukrainian-to-English ratio from 2.22 to 1.30. In this study, redesigning the tokenizer reduced the disparity, whereas romanizing the input did not.
Terms in this piece · Glossary
Model — A computational system that uses learned patterns to produce an output from information supplied to it.
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
RAG — Retrieval-augmented generation — fetching relevant documents first and pasting them into the model's context so it answers from your data instead of memory.
Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.