Zero-Shot Tokenizer Transfer
Not on the map. Why?
Abstract (arXiv)
Language models (LMs) are bound to their tokenizer, which maps raw text to a sequence of vocabulary items (tokens). This restricts their flexibility: for example, LMs trained primarily on English may still perform well in other natural and programming languages, but have vastly decreased efficiency due to their English-centric tokenizer. To mitigate this, we should be able to swap the original LM tokenizer with an arbitrary one, on the fly, without degrading performance. Hence, in this work we define a new problem: Zero-Shot Tokenizer Transfer (ZeTT). The challenge at the core of ZeTT is finding embeddings for the tokens in the vocabulary of the new tokenizer. Since prior heuristics for initializing embeddings often perform at chance level in a ZeTT setting, we propose a new solution: we train a hypernetwork taking a tokenizer as input and predicting the corresponding embeddings. We empirically demonstrate that the hypernetwork generalizes to new tokenizers both with encoder (e.g., XLM-R) and decoder LLMs (e.g., Mistral-7B). Our method comes close to the original models' performance in cross-lingual and coding tasks while markedly reducing the length of the tokenized sequence. We also find that the remaining gap can be quickly closed by continued training on less than 1B tokens. Finally, we show that a ZeTT hypernetwork trained for a base (L)LM can also be applied to fine-tuned variants without extra training. Overall, our results make substantial strides toward detaching LMs from their tokenizer.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 61 of its 73 references that are in the map. First posted on arXiv 13 May 2024.
Builds on
61 of 73 references.
References · 61
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2019Cross-lingual Language Model Pretrainingcited by 1,090
- 2016HyperNetworkscited by 1,027
- 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2023StarCoder: may the source be with you!cited by 799
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2019On the Cross-lingual Transferability of Monolingual Representationscited by 578
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
- 2020XCOPA: A Multilingual Dataset for Causal Commonsense Reasoningcited by 333
- 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 318
- 2021Few-shot Learning with Multilingual Language Modelscited by 278
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
- 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 214
- 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
- 2023Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedbackcited by 190
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
- 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 132
- 2020Rethinking embedding coupling in pre-trained language modelscited by 103
- 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
- 2022Efficient Transformers with Dynamic Token Poolingcited by 76
- 2020As Good as New. How to Successfully Recycle English GPT-2 to Make Models for Other Languagescited by 54
- 2023Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learningcited by 53
- 2021AmericasNLI: Evaluating Zero-shot Natural Language Understanding of Pretrained Multilingual Models in Truly Low-resource Languagescited by 50
- 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 46
- 2023Improving Language Plasticity via Pretraining with Active Forgettingcited by 43
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2024: 8; 2025: 15; 2026: 8.
31 papers.
Sort:
By area:
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025SuperBPE: Space Travel for Language Modelscited by 63
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 41
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 12
- 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?cited by 9
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 9
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalizationcited by 8
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2024Adapting Chat Language Models Using Only Target Unlabeled Language Datacited by 6
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
19 more
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
- 2025Model-Aware Tokenizer Transfercited by 6
- 2024Representation Learning of Structured Data for Medical Foundation Modelscited by 5
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compressioncited by 5
- 2025Is Extending Modality The Right Path Towards Omni-Modality?cited by 5
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillationcited by 5
- 2024Transducer-Llama: Integrating LLMs into Streamable Transducer-based Speech Recognitioncited by 4
- 2025Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learningcited by 4
- 2025OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decodingcited by 4
- 2024Language Adaptation on a Tight Academic Compute Budget: Tokenizer Swapping Works and Pure bfloat16 Is Enoughcited by 2
- 2024Visual-Word Tokenizer: Beyond Fixed Sets of Tokens in Vision Transformerscited by 2
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansioncited by 2
- 2026X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillationcited by 2
- 2024Unsupervised Data Validation Methods for Efficient Model Trainingcited by 1
- 2024Arabic Stable LM: Adapting Stable LM 2 1.6B to Arabiccited by 1
- 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMscited by 1
- 2026In-Place Tokenizer Expansion for Pre-trained LLMscited by 1
- 2026Turning the TIDE: Cross-Architecture Distillation for Diffusion Large Language Modelscited by 0
- 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Losscited by 0
- 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Loss9 Oct 2026
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization24 Jul 2026
- 2026In-Place Tokenizer Expansion for Pre-trained LLMs16 Jul 2026
- 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs7 Jul 2026
- 2026X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillation20 May 2026
- 2026Turning the TIDE: Cross-Architecture Distillation for Diffusion Large Language Models29 Apr 2026
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansion17 Apr 2026
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systems17 Feb 2026
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation16 Dec 2025
- 2025Model-Aware Tokenizer Transfer24 Oct 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modeling10 Jul 2025
- 2025OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decoding3 Jul 2025
19 more
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations23 Jun 2025
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizers12 Jun 2025
- 2025Is Extending Modality The Right Path Towards Omni-Modality?2 Jun 2025
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compression1 Jun 2025
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokens26 May 2025
- 2025Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learning14 May 2025
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallback2 Apr 2025
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar 2025
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptation25 Mar 2025
- 2025SuperBPE: Space Travel for Language Models17 Mar 2025
- 2024Transducer-Llama: Integrating LLMs into Streamable Transducer-based Speech Recognition21 Dec 2024
- 2024Adapting Chat Language Models Using Only Target Unlabeled Language Data16 Dec 2024
- 2024Arabic Stable LM: Adapting Stable LM 2 1.6B to Arabic5 Dec 2024
- 2024Visual-Word Tokenizer: Beyond Fixed Sets of Tokens in Vision Transformers23 Nov 2024
- 2024Representation Learning of Structured Data for Medical Foundation Models17 Oct 2024
- 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?12 Oct 2024
- 2024Unsupervised Data Validation Methods for Efficient Model Training10 Oct 2024
- 2024Language Adaptation on a Tight Academic Compute Budget: Tokenizer Swapping Works and Pure bfloat16 Is Enough28 Aug 2024
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 41
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalizationcited by 8
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillationcited by 5
- 2026X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillationcited by 2
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization24 Jul 2026
- 2026X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillation20 May 2026
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation16 Dec 2025
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025SuperBPE: Space Travel for Language Modelscited by 63
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 12
- 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?cited by 9
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2024Adapting Chat Language Models Using Only Target Unlabeled Language Datacited by 6
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
- 2025Model-Aware Tokenizer Transfercited by 6
- 2024Representation Learning of Structured Data for Medical Foundation Modelscited by 5
12 most cited of 23 All 23 (JSON)
- 2026In-Place Tokenizer Expansion for Pre-trained LLMs16 Jul 2026
- 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs7 Jul 2026
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansion17 Apr 2026
- 2025Model-Aware Tokenizer Transfer24 Oct 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modeling10 Jul 2025
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations23 Jun 2025
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizers12 Jun 2025
- 2025Is Extending Modality The Right Path Towards Omni-Modality?2 Jun 2025
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compression1 Jun 2025
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokens26 May 2025
- 2025Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learning14 May 2025
12 newest of 23 All 23 (JSON)