Tokenization Disparity in Kazakh: Cross-Tokenizer Measurement and Low-Cost Vocabulary Adaptation for Large Language Models
Large language models are billed by the token, and tokens are not distributed evenly across languages. We measure how many tokens ten widely deployed tokenizers require to encode identical content in Kazakh and English, using 900 sentence-aligned pairs from OPUS-100 with bootstrap confidence intervals over 10,000 resamples. Kazakh requires 3.16x more tokens than English under GPT-4's tokenizer and 2.62x under Qwen2.5-7B. We show this is not a property of the Kazakh language. On the same sentences XLM-R needs 1.32x, and GPT-4o — one generation after GPT-4, from the same provider — needs 1.75x rather than 3.16x, a 44% reduction achieved purely by changing the tokenizer. Vocabulary size does not predict the premium: mBERT achieves a lower ratio than Qwen2.5 with a smaller vocabulary. We then test vocabulary extension as a remedy. Adding 5,875 Kazakh tokens to Qwen2.5-0.5B with subword-composition initialisation, and training only the new embeddings, yields 1.718x compression together with a 14.12% improvement in bits per character, at 1.2% additional parameters and 24 minutes on a free-tier GPU. An ablation with random initialisation reaches only 7.38%. However, on out-of-domain Kazakh the compression gain persists (1.591x) while the quality gain reverses (+5.74% BPC), showing the improvement is substantially domain adaptation rather than general gain.
Authors
- Alikhan Akim (ORCID: https://orcid.org/0009-0008-0051-7882)
- Zhibek Sarsen (ORCID: https://orcid.org/0009-0003-4073-4527)
Institutions
- Nazarbayev Intellectual Schools (KZ)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-09-05
- DOI
- https://doi.org/10.5281/zenodo.22387873
- Primary Topic
- Natural Language Processing Techniques
- Type
- preprint