Improving Tokenisation by Alternative Treatment of Spaces
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
13 more
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 189
- 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 130
- 2019StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understandingcited by 108
- 2021Superbizarre Is Not Superb: Derivational Morphology Improves BERT's Interpretation of Complex Wordscited by 63
- 2019Rare Words: A Major Problem for Contextualized Embeddings And How to Fix it by Attentive Mimickingcited by 40
- 2019NEZHA: Neural Contextualized Representation for Chinese Language Understandingcited by 39
- 2020Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translationcited by 38
- 2021Training Multilingual Pre-trained Language Model with Byte-level Subwordscited by 16
- 2020Morfessor EM+Prune: Improved Subword Segmentation with Expectation Maximization and Pruningcited by 11
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 10; 2025: 4; 2026: 1.
19 papers.
Sort:
- 2024Tokenization Is More Than Compressioncited by 87
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
- 2022Language Modelling with Pixelscited by 53
- 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methodscited by 34
- 2022The SIGMORPHON 2022 Shared Task on Morpheme Segmentationcited by 25
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
- 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 20
- 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inferencecited by 18
- 2025Tokenization is Sensitive to Language Variationcited by 12
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 11
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challengecited by 8
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
7 more
- 2024Enhancing Idiomatic Representation in Multiple Languages via an Adaptive Contrastive Triplet Losscited by 7
- 2023Construction Grammar and Language Modelscited by 2
- 2024Word Boundary Information Isn't Useful for Encoder Language Modelscited by 2
- 2024Investigating Idiomaticity in Word Representationscited by 1
- 2025ByteSpan: Information-Driven Subword Tokenisationcited by 1
- 2025PrahokBART: A Pre-trained Sequence-to-Sequence Model for Khmer Natural Language Generationcited by 1
- 2026Explicit Boundary Markers for Subword Vocabulariescited by 0
- 2026Explicit Boundary Markers for Subword Vocabularies9 Aug 2026
- 2025PrahokBART: A Pre-trained Sequence-to-Sequence Model for Khmer Natural Language Generation15 Dec 2025
- 2025ByteSpan: Information-Driven Subword Tokenisation23 Jun 2025
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizers12 Jun 2025
- 2025Tokenization is Sensitive to Language Variation21 Feb 2025
- 2024Investigating Idiomaticity in Word Representations4 Nov 2024
- 2024The Foundations of Tokenization: Statistical and Computational Concerns16 Jul 2024
- 2024Enhancing Idiomatic Representation in Multiple Languages via an Adaptive Contrastive Triplet Loss21 Jun 2024
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge20 Apr 2024
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translation30 Mar 2024
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performance10 Mar 2024
- 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methods2 Mar 2024
7 more
- 2024Tokenization Is More Than Compression28 Feb 2024
- 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference16 Feb 2024
- 2024Word Boundary Information Isn't Useful for Encoder Language Models15 Jan 2024
- 2023Construction Grammar and Language Models25 Aug 2023
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanese16 Jun 2023
- 2022Language Modelling with Pixels14 Jul 2022
- 2022The SIGMORPHON 2022 Shared Task on Morpheme Segmentation15 Jun 2022
- 2024Tokenization Is More Than Compressioncited by 87
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
- 2022Language Modelling with Pixelscited by 53
- 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methodscited by 34
- 2022The SIGMORPHON 2022 Shared Task on Morpheme Segmentationcited by 25
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
- 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 20
- 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inferencecited by 18
- 2025Tokenization is Sensitive to Language Variationcited by 12
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 11
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challengecited by 8
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
12 most cited of 19 All 19 (JSON)
- 2026Explicit Boundary Markers for Subword Vocabularies9 Aug 2026
- 2025PrahokBART: A Pre-trained Sequence-to-Sequence Model for Khmer Natural Language Generation15 Dec 2025
- 2025ByteSpan: Information-Driven Subword Tokenisation23 Jun 2025
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizers12 Jun 2025
- 2025Tokenization is Sensitive to Language Variation21 Feb 2025
- 2024Investigating Idiomaticity in Word Representations4 Nov 2024
- 2024The Foundations of Tokenization: Statistical and Computational Concerns16 Jul 2024
- 2024Enhancing Idiomatic Representation in Multiple Languages via an Adaptive Contrastive Triplet Loss21 Jun 2024
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge20 Apr 2024
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translation30 Mar 2024
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performance10 Mar 2024
- 2024Greed is All You Need: An Evaluation of Tokenizer Inference Methods2 Mar 2024
12 newest of 19 All 19 (JSON)