mlsanityData to 14 Oct 2026

Zero-Shot Tokenizer Transfer

arXiv 2405.07883 ↗First posted 13 May 2024cs.CLcited by 31

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2020Scaling Laws for Neural Language Modelscited by 6,586
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  8. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  10. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  2. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  3. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  4. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  5. 2022Editing Models with Task Arithmeticcited by 1,120
  6. 2019Cross-lingual Language Model Pretrainingcited by 1,090
  7. 2016HyperNetworkscited by 1,027
  8. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
  9. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  10. 2023StarCoder: may the source be with you!cited by 799
  11. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  12. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  13. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  14. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  15. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  16. 2019On the Cross-lingual Transferability of Monolingual Representationscited by 578
  17. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  18. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  19. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
  20. 2020XCOPA: A Multilingual Dataset for Causal Commonsense Reasoningcited by 333
  21. 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 318
  22. 2021Few-shot Learning with Multilingual Language Modelscited by 278
  23. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  24. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 214
  25. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
  26. 2023Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedbackcited by 190
  27. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
  28. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  29. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
  30. 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 132
  31. 2020Rethinking embedding coupling in pre-trained language modelscited by 103
  32. 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
  33. 2022Efficient Transformers with Dynamic Token Poolingcited by 76
  34. 2020As Good as New. How to Successfully Recycle English GPT-2 to Make Models for Other Languagescited by 54
  35. 2023Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learningcited by 53
  36. 2021AmericasNLI: Evaluating Zero-shot Natural Language Understanding of Pretrained Multilingual Models in Truly Low-resource Languagescited by 50
  37. 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 46
  38. 2023Improving Language Plasticity via Pretraining with Active Forgettingcited by 43

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 8; 2025: 15; 2026: 8.

31 papers.

Sort:

By area:

  1. 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
  2. 2025SuperBPE: Space Travel for Language Modelscited by 63
  3. 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 41
  4. 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
  5. 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
  6. 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 12
  7. 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?cited by 9
  8. 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 9
  9. 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalizationcited by 8
  10. 2025Sampling from Your Language Model One Byte at a Timecited by 7
  11. 2024Adapting Chat Language Models Using Only Target Unlabeled Language Datacited by 6
  12. 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
19 more
  1. 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
  2. 2025Model-Aware Tokenizer Transfercited by 6
  3. 2024Representation Learning of Structured Data for Medical Foundation Modelscited by 5
  4. 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compressioncited by 5
  5. 2025Is Extending Modality The Right Path Towards Omni-Modality?cited by 5
  6. 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillationcited by 5
  7. 2024Transducer-Llama: Integrating LLMs into Streamable Transducer-based Speech Recognitioncited by 4
  8. 2025Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learningcited by 4
  9. 2025OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decodingcited by 4
  10. 2024Language Adaptation on a Tight Academic Compute Budget: Tokenizer Swapping Works and Pure bfloat16 Is Enoughcited by 2
  11. 2024Visual-Word Tokenizer: Beyond Fixed Sets of Tokens in Vision Transformerscited by 2
  12. 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansioncited by 2
  13. 2026X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillationcited by 2
  14. 2024Unsupervised Data Validation Methods for Efficient Model Trainingcited by 1
  15. 2024Arabic Stable LM: Adapting Stable LM 2 1.6B to Arabiccited by 1
  16. 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMscited by 1
  17. 2026In-Place Tokenizer Expansion for Pre-trained LLMscited by 1
  18. 2026Turning the TIDE: Cross-Architecture Distillation for Diffusion Large Language Modelscited by 0
  19. 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Losscited by 0