In-Place Tokenizer Expansion for Pre-trained LLMs
Not on the map. Why?
Abstract (arXiv)
A tokenizer fixed at the start of pre-training allocates vocabulary in proportion to the pre-training corpus, reflecting the deployment priorities at that time. When those priorities shift, languages added later are split into many more tokens per word, which can raise latency, compute, and energy consumption for users of those languages. Cloud models can afford a broad vocabulary because the embedding and LM-head matrices are a small fraction of their parameters. On a compact model those matrices are a material share of per-token decode bandwidth, so on-device models ship small vocabularies and accept fragmentation outside a fixed language set. We present tokenizer expansion, an in-place recipe for upgrading a pre-trained model's tokenizer when the model producer controls its design. We continue the existing tokenizer's BPE merges on a multilingual corpus, so most source tokens carry over unchanged as single tokens and every new token has an exact decomposition into source tokens. We copy the carried-over embedding rows unchanged and initialize new rows as the mean of their source sub-token embeddings. A two-stage adaptation, embedding-only training then full-model continued pre-training, recovers source-checkpoint quality. We apply the recipe to a continued pre-trained checkpoint of LFM2-8B-A1B, an 8B-parameter Mixture-of-Experts model, to help produce LFM2.5-8B-A1B with a 128K tokenizer. The expanded tokenizer encodes Hindi and Vietnamese in roughly 2.4× and 2.6× fewer tokens than the source (up to 4.0× on Thai). Combining these reductions with the measured per-token cost of the larger vocabulary, we estimate a 2.2-3.7× per-character decode speedup for these languages across our reference devices. We release the model weights and the expanded tokenizer, and report the negative findings that shaped the recipe.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 44 of its 52 references that are in the map. First posted on arXiv 16 Jul 2026.
Builds on
44 of 52 references.
References · 44
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Let's Verify Step by Stepcited by 3,598
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2025Gemma 3 Technical Reportcited by 1,686
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 518
32 more
- 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 313
- 2023Efficient and Effective Text Encoding for Chinese LLaMA and Alpacacited by 302
- 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 292
- 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 207
- 2024Tower: An Open Multilingual Large Language Model for Translation-Related Taskscited by 205
- 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 186
- 2024Global MMLU: Understanding and Addressing Cultural and Linguistic Biases in Multilingual Evaluationcited by 181
- 2024GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solverscited by 155
- 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 134
- 2024Continual Pre-Training for Cross-Lingual LLM Adaptation: Enhancing Japanese Language Capabilitiescited by 111
- 2024On-Device Language Models: A Comprehensive Reviewcited by 101
- 2024Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Followingcited by 94
- 2022BLOOM+1: Adding Language Support to BLOOM for Zero-Shot Promptingcited by 90
- 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
- 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 65
- 2024Trans-Tokenization and Cross-lingual Vocabulary Transfers: Language Adaptation of LLMs for Low-Resource NLPcited by 35
- 2024Zero-Shot Tokenizer Transfercited by 30
- 2024MaLA-500: Massive Language Adaptation of Large Language Modelscited by 28
- 2023Efficient Language Model Training through Cross-Lingual and Progressive Transfer Learningcited by 26
- 2024How Can We Effectively Expand the Vocabulary of LLMs with 0.01GB of Target Language Text?cited by 22
- 2024An Empirical Comparison of Vocabulary Expansion and Initialization Approaches for Language Modelscited by 20
- 2024Sailor: Open Language Models for South-East Asiacited by 19
- 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inferencecited by 18
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
- 2024Efficient and Effective Vocabulary Expansion Towards Multilingual Large Language Modelscited by 13
- 2025TokAlign: Efficient Vocabulary Adaptation via Token Alignmentcited by 11
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
- 2024ReTok: Replacing Tokenizer to Enhance Representation Efficiency in Large Language Modelcited by 5
- 2025Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learningcited by 4
- 2025Training-Free Tokenizer Transplantation via Orthogonal Matching Pursuitcited by 4
- 2025Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pre-trained Modelscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025The Art of Breaking Words: Rethinking Multilingual Tokenizer Design
- 2026A Family of LLMs Liberated from Static Vocabularies
- 2025Length-MAX Tokenizer for Language Models
- 2024Rethinking Tokenization: Crafting Better Tokenizers for Large Language Models
- 2026TokAlign++: Advancing Vocabulary Adaptation via Better Token Alignment
- 2024Flexibly Scaling Large Language Models Contexts Through Extensible Tokenization
- 2025From Dense to Dynamic: Token-Difficulty Driven MoEfication of Pre-Trained LLMs
- 2026Byte Language Models: Scaling, Emergent Abstractions, and Information Allocation