mlsanityData to 14 Oct 2026

FLEXITOKENS: Flexible Tokenization for Evolving Language Models

arXiv 2507.12720 ↗First posted 17 Jul 2025cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Adapting language models to new data distributions by simple finetuning is challenging. This is due to the rigidity of their subword tokenizers, which typically remain unchanged during adaptation. This inflexibility often leads to inefficient tokenization, causing overfragmentation of text in out-of-distribution domains, unseen languages, or scripts. In this work, we develop byte-level LMs with learnable tokenizers to make tokenization adaptive. Our models include a submodule that learns to predict boundaries given the input byte sequence, encoding it into variable-length segments. Most tokenizer-free methods train this boundary predictor using an auxiliary loss that enforces a fixed compression rate across the training corpus, introducing a new kind of rigidity. We propose FLEXITOKENS, a simplified training objective that enables significantly greater flexibility during adaptation. Evaluating across multiple multilingual benchmarks, morphologically diverse tasks, and domains, we demonstrate that FLEXITOKENS consistently reduces token over-fragmentation and achieves up to 10% point improvements on token classification and generative tasks compared to BPE and other gradient-based tokenizer baselines. We validate our findings using models of varying sizes, and our method demonstrates consistent improvements across scales. Code and data for our experiments will be released at https://github.com/skai-research/flexitokens

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 32 of its 50 references that are in the map. First posted on arXiv 17 Jul 2025.

Builds on

32 of 50 references.

References · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  3. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  4. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  5. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
  6. 2013Generating Sequences With Recurrent Neural Networkscited by 554
  7. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  8. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  9. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 214
  10. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
  11. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  12. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
20 more
  1. 2023SIB-200: A Simple, Inclusive, and Big Evaluation Dataset for Topic Classification in 200+ Languages and Dialectscited by 152
  2. 2022Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuningcited by 149
  3. 2024Byte Latent Transformer: Patches Scale Better Than Tokenscited by 146
  4. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  5. 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
  6. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
  7. 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
  8. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 102
  9. 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
  10. 2024Coercing LLMs to do and reveal (almost) anythingcited by 89
  11. 2022Efficient Transformers with Dynamic Token Poolingcited by 76
  12. 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
  13. 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
  14. 2022Evaluating Unsupervised Text Classification: Zero-shot and Similarity-based Approachescited by 39
  15. 2021Efficient Domain Adaptation of Language Models via Adaptive Tokenizationcited by 34
  16. 2024MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenizationcited by 31
  17. 2023Task-Adaptive Tokenization: Enhancing Long-Form Text Generation Efficacy in Mental Health and Beyondcited by 23
  18. 2023Multilingual Pixel Representations for Translation and Effective Cross-lingual Transfercited by 22
  19. 2023Text Rendering Strategies for Pixel Language Modelscited by 22
  20. 2022A Vocabulary-Free Multilingual Neural Tokenizer for End-to-End Task Learningcited by 12

Built on by

Cited by year (2026 to 14 Oct)

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

8 papers.