mlsanityData to 14 Oct 2026

Retrofitting Large Language Models with Dynamic Tokenization

arXiv 2411.18553 ↗First posted 27 Nov 2024cs.CLcited by 16

Not on the map. Why?

Abstract (arXiv)

Current language models (LMs) use a fixed, static subword tokenizer. This default choice typically results in degraded efficiency and language capabilities, especially in languages other than English. To address this issue, we challenge the static design and propose retrofitting LMs with dynamic tokenization: a way to dynamically decide on token boundaries based on the input text via a subword-merging algorithm inspired by byte-pair encoding. We merge frequent subword sequences in a batch, then apply a pre-trained embedding-prediction hypernetwork to compute the token embeddings on-the-fly. For encoder-style models (e.g., XLM-R), this on average reduces token sequence lengths by >20% across 14 languages while degrading performance by less than 2%. The same method applied to pre-filling and scoring in decoder-style models (e.g., Mistral-7B) results in minimal performance degradation at up to 17% reduction in sequence length. Overall, we find that dynamic tokenization can mitigate the limitations of static tokenization by substantially improving inference speed and promoting fairness across languages, enabling more equitable and adaptable LMs.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 27 Nov 2024.

Builds on

38 of 50 references.

References · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  4. 2023Mistral 7Bcited by 3,164
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  6. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  7. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
  8. 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 734
  9. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  10. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  11. 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 318
  12. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
26 more
  1. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
  2. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
  3. 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 181
  4. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  5. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
  6. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 152
  7. 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 132
  8. 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
  9. 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
  10. 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
  11. 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
  12. 2022Efficient Transformers with Dynamic Token Poolingcited by 76
  13. 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
  14. 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 66
  15. 2022Impact of Tokenization on Language Models: An Analysis for Turkishcited by 62
  16. 2024Fast Vocabulary Transfer for Language Model Compressioncited by 42
  17. 2021Multi-view Subword Regularizationcited by 40
  18. 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
  19. 2023OFA: A Framework of Initializing Unseen Subword Embeddings for Efficient Large-scale Multilingual Continued Pretrainingcited by 37
  20. 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methodscited by 34
  21. 2023Why do Nearest Neighbor Language Models Work?cited by 29
  22. 2023Universal NER: A Gold-Standard Multilingual Named Entity Recognition Benchmarkcited by 26
  23. 2024Nearest Neighbor Speculative Decoding for LLM Generation and Attributioncited by 25
  24. 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
  25. 2019BERTRAM: Improved Word Embeddings Have Big Impact on Contextualized Model Performancecited by 19
  26. 2019Attentive Mimicking: Better Word Embeddings by Attending to Informative Contextscited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 10.

16 papers.

Sort:

By area:

  1. 2025Intern-S1: A Scientific Multimodal Foundation Modelcited by 53
  2. 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 41
  3. 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
  4. 2025Bolmo: Byteifying the Next Generation of Language Modelscited by 9
  5. 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 9
  6. 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Modelscited by 6
  7. 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compressioncited by 5
  8. 2025Vocabulary embeddings organize linguistic structure early in language model trainingcited by 2
  9. 2026Phonemes to the Rescue: Multilingual Tokenization Based on International Phonetic Alphabetcited by 2
  10. 2026Universal NER v2: Towards a Massively Multilingual Named Entity Recognition Benchmarkcited by 0
  11. 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
  12. 2026Check Your LLM's Secret Dictionary! Five Lines of Code Reveal What Your LLM Learned (Including What It Shouldn't Have)cited by 0
4 more
  1. 2026Emergent retokenization symmetry in large language models: phenomenology and applicationscited by 0
  2. 2026LangMAP: A Language-Adaptive Approach to Tokenizationcited by 0
  3. 2026When Tokenizers Fail: Byte-Level Chunking for Zero-Shot Transfer to Low-Resource Languagescited by 0
  4. 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Losscited by 0