AdaptBPE: From General Purpose to Specialized Tokenizers
Not on the map. Why?
Abstract (arXiv)
Subword tokenization methods, such as Byte-Pair Encoding (BPE), significantly impact the performance and efficiency of large language models (LLMs). The standard approach involves training a general-purpose tokenizer that uniformly processes all textual data during both training and inference. However, the use of a generic set of tokens can incur inefficiencies when applying the model to specific domains or languages. To address this limitation, we propose a post-training adaptation strategy that selectively replaces low-utility tokens with more relevant ones based on their frequency in an adaptation corpus. Our algorithm identifies the token inventory that most effectively encodes the adaptation corpus for a given target vocabulary size. Extensive experiments on generation and classification tasks across multiple languages demonstrate that our adapted tokenizers compress test corpora more effectively than baselines using the same vocabulary size. This method serves as a lightweight adaptation mechanism, akin to a vocabulary fine-tuning process, enabling optimized tokenization for specific domains or tasks. Our code and data are available at https://github.com/vijini/Adapt-BPE.git.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 29 of its 50 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
29 of 50 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 189
- 2023SIB-200: A Simple, Inclusive, and Big Evaluation Dataset for Topic Classification in 200+ Languages and Dialectscited by 149
- 2023Glot500: Scaling Multilingual Corpora and Language Models to 500 Languagescited by 116
- 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
17 more
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
- 2024Fast Vocabulary Transfer for Language Model Compressioncited by 42
- 2023A Formal Perspective on Byte-Pair Encodingcited by 35
- 2024Trans-Tokenization and Cross-lingual Vocabulary Transfers: Language Adaptation of LLMs for Low-Resource NLPcited by 35
- 2021Efficient Domain Adaptation of Language Models via Adaptive Tokenizationcited by 34
- 2024BPE Gets Picky: Efficient Vocabulary Refinement During Tokenizer Trainingcited by 30
- 2024Glitch Tokens in Large Language Models: Categorization Taxonomy and Effective Detectioncited by 27
- 2023Task-Adaptive Tokenization: Enhancing Long-Form Text Generation Efficacy in Mental Health and Beyondcited by 22
- 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimmingcited by 19
- 2024Multi-word Tokenization for Sequence Compressioncited by 16
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 16
- 2022BPE vs. Morphological Segmentation: A Case Study on Machine Translation of Four Polysynthetic Languagescited by 14
- 2017From Characters to Words to in Between: Do We Capture Morphology?cited by 13
- 2023Effects of sub-word segmentation on performance of transformer language modelscited by 12
- 2024Gold Panning in Vocabulary: An Adaptive Method for Vocabulary Expansion of Domain-Specific LLMscited by 11
- 2023The Ups and Downs of Large Language Model Inference with Vocabulary Trimming by Language Heuristicscited by 3
- 2024Adapting Language Models via Token Translationcited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Emergent retokenization symmetry in large language models: phenomenology and applicationscited by 0
- 2026Dynamic-Programming-Guided Hierarchical BPE and Empirical Analysis of Vocabulary Pruningcited by 0
- 2026To Each Language Its Tokenizer: Modular Tokenizers for Efficient Multilingual LLMscited by 0
- 2026To Each Language Its Tokenizer: Modular Tokenizers for Efficient Multilingual LLMs14 Sep 2026
- 2026Dynamic-Programming-Guided Hierarchical BPE and Empirical Analysis of Vocabulary Pruning7 Sep 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026