mlsanityData to 7 Oct 2026

On the Effect of (Near) Duplicate Subwords in Language Modelling

arXiv 2404.06508 ↗First posted 9 Apr 2024cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Tokenisation is a core part of language models (LMs). It involves splitting a character sequence into subwords which are assigned arbitrary indices before being served to the LM. While typically lossless, however, this process may lead to less sample efficient LM training: as it removes character-level information, it could make it harder for LMs to generalise across similar subwords, such as now and Now. We refer to such subwords as near duplicates. In this paper, we study the impact of near duplicate subwords on LM training efficiency. First, we design an experiment that gives us an upper bound to how much we should expect a model to improve if we could perfectly generalise across near duplicates. We do this by duplicating each subword in our LM's vocabulary, creating perfectly equivalent classes of subwords. Experimentally, we find that LMs need roughly 17% more data when trained in a fully duplicated setting. Second, we investigate the impact of naturally occurring near duplicates on LMs. Here, we see that merging them considerably hurts LM performance. Therefore, although subword duplication negatively impacts LM training efficiency, naturally occurring near duplicates may not be as similar as anticipated, limiting the potential for performance improvements.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 22 of its 39 references that are in the map. First posted on arXiv 9 Apr 2024.

Builds on

22 of 39 references.

References · 22

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  9. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  10. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
  11. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
  12. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 229
10 more
  1. 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
  2. 2019Cross-Lingual Ability of Multilingual BERT: An Empirical Studycited by 182
  3. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  4. 2015Character-Aware Neural Language Modelscited by 129
  5. 2021Frequency Effects on Syntactic Rule Learning in Transformerscited by 59
  6. 2021You should evaluate your language model on marginal likelihood over tokenisationscited by 29
  7. 2021How BPE Affects Memorization in Transformerscited by 29
  8. 2021Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLPcited by 16
  9. 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Computecited by 10
  10. 2022Lexical Generalization Improves with Larger Models and Longer Trainingcited by 9

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 2.

4 papers.