mlsanityData to 7 Oct 2026

Learn Your Tokens: Word-Pooled Tokenization for Language Modeling

arXiv 2310.11628 ↗First posted 17 Oct 2023cs.CL cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Language models typically tokenize text into subwords, using a deterministic, hand-engineered heuristic of combining characters into longer surface-level strings such as 'ing' or whole words. Recent literature has repeatedly shown the limitations of such a tokenization strategy, particularly for documents not written in English and for representing numbers. On the other extreme, byte/character-level language models are much less restricted but suffer from increased sequence description lengths and a subsequent quadratic expansion in self-attention computation. Recent attempts to compress and limit these context lengths with fixed size convolutions is helpful but completely ignores the word boundary. This paper considers an alternative 'learn your tokens' scheme which utilizes the word boundary to pool bytes/characters into word representations, which are fed to the primary language model, before again decoding individual characters/bytes per word in parallel. We find that our moderately expressive and moderately fast end-to-end tokenizer outperform by over 300% both subwords and byte/character models over the intrinsic language modeling metric of next-word prediction across datasets. It particularly outshines on rare words, outperforming by a factor of 30! We extensively study the language modeling setup for all three categories of tokenizers and theoretically analyze how our end-to-end models can also be a strong trade-off in efficiency and robustness.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 25 of its 34 references that are in the map. First posted on arXiv 17 Oct 2023.

Builds on

25 of 34 references.

References · 25

  1. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  2. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  3. 2018Deep contextualized word representationscited by 2,285
  4. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  5. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  6. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
  7. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
  8. 2022Making the Most of Text Semantics to Improve Biomedical Vision--Language Processingcited by 336
  9. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 229
  10. 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
  11. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  12. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
13 more
  1. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
  2. 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 130
  3. 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
  4. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  5. 2021Robust Open-Vocabulary Translation from Visual Text Representationscited by 47
  6. 2021Multi-view Subword Regularizationcited by 40
  7. 2019SberQuAD -- Russian Reading Comprehension Dataset: Description and Analysiscited by 38
  8. 2022What do tokens know about their characters and how do they know it?cited by 36
  9. 2022A Vocabulary-Free Multilingual Neural Tokenizer for End-to-End Task Learningcited by 12
  10. 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Codecited by 9
  11. 2022On the Usability of Transformers-based models for a French Question-Answering taskcited by 8
  12. 2017Paying Attention to Multi-Word Expressions in Neural Machine Translationcited by 5
  13. 2021Learning to Look Inside: Augmenting Token-Based Encoders with Character-Level Informationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 4; 2026: 1.

7 papers.