mlsanityData to 7 Oct 2026

MrT5: Dynamic Token Merging for Efficient Byte-level Language Models

arXiv 2410.20771 ↗First posted 28 Oct 2024cs.CL cs.AI cs.LGcited by 27

On the map: Efficient LLM inference and serving → Visual token pruning in multimodal models

Abstract (arXiv)

Models that rely on subword tokenization have significant drawbacks, such as sensitivity to character-level noise like spelling errors and inconsistent compression rates across different languages and scripts. While character- or byte-level models like ByT5 attempt to address these concerns, they have not gained widespread adoption -- processing raw byte streams without tokenization results in significantly longer sequence lengths, making training and inference inefficient. This work introduces MrT5 (MergeT5), a more efficient variant of ByT5 that integrates a token deletion mechanism in its encoder to dynamically shorten the input sequence length. After processing through a fixed number of encoder layers, a learned delete gate determines which tokens are to be removed and which are to be retained for subsequent layers. MrT5 effectively "merges" critical information from deleted tokens into a more compact sequence, leveraging contextual information from the remaining tokens. In continued pre-training experiments, we find that MrT5 can achieve significant gains in inference runtime with minimal effect on performance, as measured by bits-per-byte. Additionally, with multilingual training, MrT5 adapts to the orthographic characteristics of each language, learning language-specific compression rates. Furthermore, MrT5 shows comparable accuracy to ByT5 on downstream evaluations such as XNLI, TyDi QA, and character-level tasks while reducing sequence lengths by up to 75%. Our approach presents a solution to the practical limitations of existing byte-level models.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Placed in Visual token pruning in multimodal models, one of 12 directions in Efficient LLM inference and serving. Builds on 46 of its 55 references that are in the map. First posted on arXiv 28 Oct 2024.

Builds on

46 of 55 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  6. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  9. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  10. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  11. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  12. 2019Root Mean Square Layer Normalizationcited by 1,425
34 more
  1. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  2. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  3. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
  4. 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 486
  5. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  6. 2022Confident Adaptive Language Modelingcited by 297
  7. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 229
  8. 2019Depth-Adaptive Transformercited by 227
  9. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 207
  10. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 186
  11. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  12. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
  13. 2015Character-Aware Neural Language Modelscited by 129
  14. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
  15. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 99
  16. 2020Are Neural Nets Modular? Inspecting Functional Modularity Through Differentiable Weight Maskscited by 97
  17. 2022Efficient Transformers with Dynamic Token Poolingcited by 75
  18. 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
  19. 2020CharBERT: Character-aware Pre-trained Language Modelcited by 63
  20. 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
  21. 2024MambaByte: Token-free Selective State Space Modelcited by 58
  22. 2022Language Modelling with Pixelscited by 53
  23. 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
  24. 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 39
  25. 2022What do tokens know about their characters and how do they know it?cited by 36
  26. 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 31
  27. 2024MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenizationcited by 31
  28. 2018Revisiting Character-Based Neural Machine Translation with Capacity and Compressioncited by 28
  29. 2015Multilingual Language Processing From Bytescited by 26
  30. 2023Nugget: Neural Agglomerative Embeddings of Textcited by 19
  31. 2022Inducing Character-level Structure in Subword-based Language Models with Type-level Interchange Intervention Trainingcited by 16
  32. 2022A Vocabulary-Free Multilingual Neural Tokenizer for End-to-End Task Learningcited by 12
  33. 2015Improved Transition-Based Parsing by Modeling Characters instead of Words with LSTMscited by 10
  34. 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythiacited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 14; 2026: 13.

27 papers.

Sort:

By area:

  1. 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
  2. 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
  3. 2025Thinking beyond the anthropomorphic paradigm benefits LLM researchcited by 13
  4. 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 12
  5. 2025False Friends Are Not Foes: Investigating Vocabulary Overlap in Multilingual Language Modelscited by 11
  6. 2025Learning to Skip the Middle Layers of Transformerscited by 8
  7. 2025Bolmo: Byteifying the Next Generation of Language Modelscited by 8
  8. 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
  9. 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interfacecited by 6
  10. 2025D3ToM: Decider-Guided Dynamic Token Merging for Accelerating Diffusion MLLMscited by 5
  11. 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Modelscited by 4
  12. 2025Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent Spacecited by 3
15 more
  1. 2026Proxy Compression for Language Modelingcited by 3
  2. 2026Fast Byte Latent Transformercited by 2
  3. 2026Phonemes to the Rescue: Multilingual Tokenization Based on International Phonetic Alphabetcited by 2
  4. 2025StatsMerging: Statistics-Guided Model Merging via Task-Specific Teacher Distillationcited by 1
  5. 2025Vocabulary embeddings organize linguistic structure early in language model trainingcited by 1
  6. 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Modelscited by 1
  7. 2025Synergy: End-to-end Concept Modelcited by 0
  8. 2026You Can Learn Tokenization End-to-End with Reinforcement Learningcited by 0
  9. 2026GeneZip: Region-Aware Compression for Long Context DNA Modelingcited by 0
  10. 2026Beyond Subtokens: A Rich Character Embedding for Low-resource and Morphologically Complex Languagescited by 0
  11. 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizercited by 0
  12. 2026A Family of LLMs Liberated from Static Vocabulariescited by 0
  13. 2026ByteAction: Byte-space Action Recognition Foundation Modelcited by 0
  14. 2026The Functionalizer: Lossless Functional Decomposition for Subword Tokenizationcited by 0
  15. 2026Easy to anticipate, hard to compute: boundary dependence finds the computed outputs that entropy patching missescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Byte Language Models: Scaling, Emergent Abstractions, and Information Allocation
  2. 2024Better & Faster Large Language Models via Multi-token Prediction
  3. 2025Length-MAX Tokenizer for Language Models
  4. 2025Token Pruning in Multimodal Large Language Models: Are We Solving the Right Problem?
  5. 2026Token Merging for Multilingual Speech Recognition: A Systematic Study Across Model Scale and Fine-Tuning
  6. 2026Separate Before You Compress: The WWHO Tokenization Architecture
  7. 2025Learning to Insert [PAUSE] Tokens for Better Reasoning
  8. 2025QuickMerge++: Fast Token Merging with Autoregressive Prior