mlsanityData to 7 Oct 2026

Improving Tokenisation by Alternative Treatment of Spaces

arXiv 2204.04058 ↗First posted 8 Apr 2022cs.CLcited by 19

Not on the map. Why?

Abstract (arXiv)

Tokenisation is the first step in almost all NLP tasks, and state-of-the-art transformer-based language models all use subword tokenisation algorithms to process input text. Existing algorithms have problems, often producing tokenisations of limited linguistic validity, and representing equivalent strings differently depending on their position within a word. We hypothesise that these problems hinder the ability of transformer-based models to handle complex words, and suggest that these problems are a result of allowing tokens to include spaces. We thus experiment with an alternative tokenisation approach where spaces are always treated as individual tokens. Specifically, we apply this modification to the BPE and Unigram algorithms. We find that our modified algorithms lead to improved performance on downstream NLP tasks that involve handling complex words, whilst having no detrimental effect on performance in general natural language understanding tasks. Intrinsically, we find our modified algorithms give more morphologically correct tokenisations, in particular when handling prefixes. Given the results of our experiments, we advocate for always treating spaces as individual tokens as an improved tokenisation method.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 25 of its 45 references that are in the map. First posted on arXiv 8 Apr 2022.

Builds on

25 of 45 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  10. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  11. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  12. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
13 more
  1. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  2. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  3. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
  4. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
  5. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 189
  6. 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 130
  7. 2019StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understandingcited by 108
  8. 2021Superbizarre Is Not Superb: Derivational Morphology Improves BERT's Interpretation of Complex Wordscited by 63
  9. 2019Rare Words: A Major Problem for Contextualized Embeddings And How to Fix it by Attentive Mimickingcited by 40
  10. 2019NEZHA: Neural Contextualized Representation for Chinese Language Understandingcited by 39
  11. 2020Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translationcited by 38
  12. 2021Training Multilingual Pre-trained Language Model with Byte-level Subwordscited by 16
  13. 2020Morfessor EM+Prune: Improved Subword Segmentation with Expectation Maximization and Pruningcited by 11

Built on by

Cited by year (2026 to 7 Oct)

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

19 papers.

Sort:

  1. 2024Tokenization Is More Than Compressioncited by 87
  2. 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
  3. 2022Language Modelling with Pixelscited by 53
  4. 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methodscited by 34
  5. 2022The SIGMORPHON 2022 Shared Task on Morpheme Segmentationcited by 25
  6. 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
  7. 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 20
  8. 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inferencecited by 18
  9. 2025Tokenization is Sensitive to Language Variationcited by 12
  10. 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 11
  11. 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challengecited by 8
  12. 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
7 more
  1. 2024Enhancing Idiomatic Representation in Multiple Languages via an Adaptive Contrastive Triplet Losscited by 7
  2. 2023Construction Grammar and Language Modelscited by 2
  3. 2024Word Boundary Information Isn't Useful for Encoder Language Modelscited by 2
  4. 2024Investigating Idiomaticity in Word Representationscited by 1
  5. 2025ByteSpan: Information-Driven Subword Tokenisationcited by 1
  6. 2025PrahokBART: A Pre-trained Sequence-to-Sequence Model for Khmer Natural Language Generationcited by 1
  7. 2026Explicit Boundary Markers for Subword Vocabulariescited by 0