The Art of Breaking Words: Rethinking Multilingual Tokenizer Design

Aamod Thakur, Ajay Nagpal, Atharv Savarkar, kundeshwar Vijayrao pundalik, Siddhesh Dosi, Piyush Sawarkar, Viraj Thakur, Rohit Saluja, Maunendra Sankar Desarkar, Ganesh Ramakrishnan · Submission to ICLR 2026 · Rejected

TL;DR

While model architecture and training recipes receive relentless attention, multilingual tokenizer design is frequently treated as an afterthought. This paper presents a systematic overhaul of multilingual tokenization for linguistically complex Indic scripts, demonstrating that an optimal 128K vocabulary, principled diacritic pre-tokenization, and an adaptive data composition algorithm (AdaptMix) can slash token-to-word ratios by over 40% compared to state-of-the-art multilingual LLMs while substantially boosting model perplexity.

What Problem Does This Paper Address?

Most modern Large Language Model (LLM) tokenizers are predominantly trained on Latin-centric datasets. When applied to non-Latin scripts—such as the Devanagari and Dravidian scripts common across India—they fragment words excessively, resulting in very high token-to-word ratios (fertility). This token bloat wastes context windows, inflates training costs, and significantly degrades inference throughput.

Moreover, conventional multilingual tokenizers construct their training sets either by sampling proportional to raw web availability (heavily favoring English and Hindi) or by applying flat uniform sampling across languages. Neither approach accounts for structural and morphological variations: agglutinative and morphologically fusion-heavy languages require far more subword capacity to reach reasonable tokenization efficiency.

Methods

The authors systematically evaluate the entire tokenizer pipeline on 16 Indian languages plus English, programming code, and LaTeX:

  • Vocabulary Exploration: They test Byte-Pair Encoding (BPE) vs. Unigram models across sizes from 32K to 256K. Byte-level BPE at 128K proved to be the sweet spot, providing low fertility without incurring the prohibitive memory footprint of a 256K embedding table.
  • Pre-Tokenization Rules: The pipeline isolates digits individually, merges whitespace blocks for code syntax, and evaluates diacritic segmentation strategies (keeping diacritics attached vs. separating subsets vs. separating all diacritics).
  • AdaptMix (Adaptive Data Mixture): Rather than using fixed data distributions, the authors introduce a feedback-driven optimization loop. Over multiple tokenizer training iterations, AdaptMix:
  • Measures the fertility deficit $\delta_l$ of each language relative to the best-performing language.
  • Re-weights sampling proportions to assign higher data volume to underperforming, high-fertility languages.
  • Applies an Exponential Moving Average (EMA) to prevent drastic shifts between iterations and maintain training stability.

Datasets

The study trains and evaluates tokenizers on a curated corpus spanning 16 Indian languages:

  • Open-Source Corpora: Over 35 datasets, including Sangraha, Samanantar, NLLB, IndicCorp, WikiLingua, and The Pile.
  • Web-Scraped & OCR Text: Deduplicated, length-filtered, and normalized Indic web data.
  • Synthetic Data: Large-scale synthetic Indic text generated from 100M+ persona profiles across 16 domains, translated via IndicTrans2 and post-corrected using open-source LLMs to bolster historically underrepresented languages such as Maithili and Sindhi.

Key Insights and Ideas

  • The Pre-Tokenization Paradox: Aggressively separating diacritics increases word fragmentation (raising average BPE token-to-word ratio from 1.94 to 3.23). However, when training actual 100M-parameter causal language models, separating diacritics dramatically improved perplexity (dropping from 107.93 down to 49.45). Phonetically noisy user inputs and diacritic misspellings no longer poison word embeddings when diacritics are decoupled from base characters.
  • Uniform Sampling Is Not Equal Representation: Giving equal bytes to every language fails because morphological fusion (Sandhi) and agglutinative suffixes in Dravidian languages (Kannada, Malayalam, Telugu, Tamil) and Sanskrit naturally require much larger subword allocations to avoid over-fragmentation.
  • Preventing Degenerate Equilibria: In preliminary tests, naive deficit minimization simply degraded the representation of "easy" languages (English, Punjabi) to match "hard" ones. AdaptMix’s scaled normalization and EMA ensure high-resource and low-fertility languages remain stable while elevating complex ones.

Key Results

  • Fertility & Parity Gains: AdaptMix achieves an average token-to-word ratio of 1.97 across 16 Indian languages—outperforming SOTA open-weight tokenizers:
  • Qwen: 7.69 (AdaptMix is ~74% more compact)
  • LLaMA 3: 7.89
  • DeepSeek-v3: 4.46
  • Gemma 27B: 2.51
  • Sarvam-M: 4.15
  • Cross-Lingual Parity: Evaluated against an English parity baseline (1.00), AdaptMix stays within 0.96–1.76 across all Indic languages, compared to ratios frequently exceeding 8.0 to 13.0 in LLaMA and Qwen.
  • Downstream Language Modeling: 100M parameter models trained with AdaptMix tokenizers achieved lower overall perplexity on multilingual test splits compared to models trained with uniform, random, or English/Hindi-skewed tokenizers.

Limitations and Future Work

  • Compute Overhead During Tokenizer Training: AdaptMix is an iterative feedback algorithm requiring multiple full training and fertility evaluation rounds (20 iterations in the paper), which is substantially more compute-intensive than standard one-pass tokenizer training.
  • Model Scale: Downstream validation was evaluated on 100M-parameter models via perplexity. Verifying whether these gains persist across multi-billion-parameter LLMs on complex downstream reasoning benchmarks remains for future work.
  • Scope: The empirical study focuses specifically on Indic scripts and English; expanding the adaptive feedback loop to other morphologically rich global language families (e.g., Semitic or Slavic languages) has not yet been tested.

Summary updated

BibTeX
@misc{thakur2025art,
  author = {Aamod Thakur and Ajay Nagpal and Atharv Savarkar and kundeshwar Vijayrao pundalik and Siddhesh Dosi and Piyush Sawarkar and Viraj Thakur and Rohit Saluja and Maunendra Sankar Desarkar and Ganesh Ramakrishnan},
  title = {{The Art of Breaking Words: Rethinking Multilingual Tokenizer Design}},
  year = {2025},
  eprint = {2508.06533},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.06533},
}
Figure