Research Article

Designing Chinese Tokenizers under Data Constraints: A White-Box Empirical Study of Character Fragmentation

Luofu Gong*
Beijing Aidi School

* Corresponding author: [email protected]

Abstract

Chinese text requires substantially more tokens than English in large language models (LLMs), increasing API costs and context-window consumption. Most prior work measures this premium using off-the-shelf tokenizers, but the underlying mechanism—where the additional tokens actually arise—remains poorly understood, particularly under data-constrained training, which is common in domain-specific and small-scale models. We implement BPE, WordPiece, and Unigram from scratch (approximately 1,000 lines of standard-library code), train them on 20,000 Chinese news documents, and quantify per-character tokenization across vocabulary sizes from 8K to 128K. Characters are grouped by frequency, and evaluation uses a held-out test set with clustered-bootstrap confidence intervals. The central result is a low-frequency fragmentation effect: at an 8K vocabulary, byte-level BPE splits characters appearing fewer than 100 times in training into an average of 2.04 tokens per character, compared with 1.00 for high-frequency characters; enlarging the vocabulary 16-fold reduces this value to 1.10 at a fixed training scale. Comparison with production tokenizers reveals a spectrum from 2.24 (OpenAI's cl100k) and 2.04 (our 8K implementation) to 1.02 (DeepSeek's Chinese-optimized 128K vocabulary), indicating that the effect depends on vocabulary allocation and training scale rather than being an inherent property of Chinese. A semantic-equivalence experiment further supports this conclusion: for equivalent Chinese-English sentence pairs, an English-centric tokenizer uses 65% more tokens for Chinese, whereas a balanced byte-level BPE trained on 20,000 documents (10K Chinese + 10K English) uses 27% fewer. The paper concludes with configuration guidance for Chinese-focused tokenizers under data constraints.

Keywords: Chinese Tokenization; Byte Pair Encoding; Character Fragmentation; Data-Constrained Training
Published: October 13, 2026
DOI: 10.54254/2755-2721/2026.37609
Volume: ACE Vol.266
pp. 91-105
Download PDF

References

  1. Ahia, O., Kumar, S., Gonen, H., Kasai, J.,et al.(2023). Do all languages cost the same? Tokenization in the era of commercial language models. InEMNLP.
  2. Gage, P. (1994). A new algorithm for data compression.C Users Journal, 12(2), 23–38.
  3. Sennrich, R., Haddow, B., & Birch, A. (2016). Neural machine translation of rare words with subword units. InACL.
  4. Lee, K. S. J. W., Qorib, M. R., Soegeng, A. I., & Ng, H. T. (2026). Equity with efficiency: An empirical study of tokenizers for multilingual large language models.
  5. Bostrom, K., & Durrett, G. (2020). Byte pair encoding is suboptimal for language model pretraining. InFindings of EMNLP.
  6. Sun, Y., Yang, H., Lin, Z., & Zhang, M. (2026). LiteToken: Removing intermediate merge residues from BPE tokenizers.
  7. Chizhov, P., Arnett, C., Korotkova, E., & Yamshchikov, I. P. (2024). BPE gets picky: Efficient vocabulary refinement during tokenizer training. InEMNLP.
  8. Shao, K. (2026). Pruned BPE: Post-training visibility pruning and token reallocation for byte pair encoding.
  9. Schuster, M., & Nakajima, K. (2012). Japanese and Korean voice search. InICASSP.
  10. Wu, Y., Schuster, M., Chen, Z.,et al.(2016). Google's neural machine translation system.
  11. Kudo, T., & Richardson, J. (2018). SentencePiece: A simple and language independent subword tokenizer. InEMNLP (system demonstrations).
  12. Kudo, T. (2018). Subword regularization: Improving neural network translation models with multiple subword candidates. InACL.
  13. Rust, P., Pfeiffer, J., Vulić, I., Ruder, S., & Gurevych, I. (2021). How good is your tokenizer? On the monolingual performance of multilingual language models.
  14. Mielke, S. J., Alyafeai, Z., Salesky, E.,et al.(2021). Between words and characters: A brief history of open-vocabulary modeling and tokenization in NLP.Computational Linguistics.
  15. Cui, Y., Yang, Z., & Yao, X. (2023). Efficient and effective text encoding for Chinese LLaMA and Alpaca.
  16. Si, C., Zhang, Z., Chen, Y.,et al.(2021). Sub-character tokenization for Chinese pretrained language models.
  17. Ren, S., Shen, X., Zhou, Y., Ng, D., & Raj, A. (2026). Chinese language is not more efficient than English in vibe coding.
  18. Won, I., Yoo, H., Cho, M., Park, J., Song, H., & Lim, K. (2026). TREX: Tokenizer regression for optimal data mixture.
  19. Clark, J. H., Garrette, D., Turc, I., & Wieting, J. (2022). CANINE: Pre-training an efficient tokenization-free encoder for language representation.TACL, 10, 73–91.
  20. Xue, L.,et al.(2022). ByT5: Towards a token-free future with pre-trained byte-to-byte models.TACL, 10, 291–306.
  21. Yu, L., Simig, D., Flaherty, C., Aghajanyan, A., Zettlemoyer, L., & Lewis, M. (2023). MEGABYTE: Predicting million-byte sequences with multiscale transformers. InNeurIPS.
  22. Wang, J., Gangavarapu, T., Yan, J. N., & Rush, A. M. (2024). MambaByte: Token-free selective state space model.
  23. Pagnoni, A., Pasunuru, R., Rodriguez, P.,et al.(2024). Byte latent transformer: Patches scale better than tokens.
  24. Moryossef, A., Meister, C., Stepachev, P., & Elliott, D. (2025). Back to bytes: Revisiting tokenization through UTF-8.
  25. Delétang, G., Ruoss, A., Duquenne, P.-A.,et al.(2023). Language modeling is compression.
  26. Hu, Y.,et al.(2025). Entropy-driven pre-tokenization for byte-pair encoding. InICML 2025 Tokenization Workshop.
  27. Wang, C., Cho, K., & Gu, J. (2020). Neural machine translation with byte-level subwords. InAAAI.
  28. Petrov, A., Torr, P. H. S., & Bibi, A. (2024). Tokenization is more than compression.
  29. Nayeem, M. T., Alqahtani, S., Laskar, M. T. R., Mohiuddin, T., & Bari, M. S. (2025). Beyond fertility: Analyzing STRR as a metric for multilingual tokenization evaluation.
  30. Sun, M.,et al.(2016). THUCTC: An efficient Chinese text classifier.
  31. Barrault, L., et al. (2019). Findings of the 2019 conference on machine translation (WMT19). InProceedings of the Fourth Conference on Machine Translation (Volume 2: Shared Task Papers, Day 1)(pp. 1–61).
  32. Merity, S., Xiong, C., Bradbury, J., & Socher, R. (2016). Pointer sentinel mixture models.