Lune

ACL Findings2026

From Bytes to Subwords: Challenges of Input Representations in NLP

Rob van der Goot

Abstract

A first decision for any automated natural language processing system is the granularity of the input units.Traditionally, characters or words have been used, but recently, subwords have become the standard.In this paper, we investigate trends in input processing steps and discuss common shortcomings in this foundational first step of model design.We start by providing an overview of currently used tokenizers, showing that there is only minimal variety, with three highly similar designs dominating current models, and many of the tokenizers being exact duplicates.Next, we reconsider Unicode normalization strategies.Previous work has recommended applying consistent normalization; however, we argue that this removes signal and we show how this can harm performance for language classification.Finally, we take a closer look at UTF-8 character encoding, the very first layer of representation used in many language models.We argue that UTF-8 is not optimized for efficiency, nor for fairness across languages, and propose proof of concept alternatives focused on fairness and efficiency.Based on our findings, we recommend future work to 1) put more thought into subword segmentation and explore more diversity, 2) apply normalization only when beneficial 3) consider alternative character encodings for models operating on the byte-level. 1 1 Input Encodings in NLP For building models for the automatic processing of written natural language, one of the first decisions to make is how to represent the input.In this section, we review common input processing steps that are used in Natural Language Processing (NLP) models; we start with the smallest units (bytes, characters), and then look at subword segmentation strategies.1 Code available on: https://bitbucket.org/ robvanderg/inputencodings/ Written natural language is commonly expressed as sequences of characters.To store texts, character encodings are used to represent characters as bytes.UTF-8 is the most commonly used character encoding today, it is used on 98.3% of the websites indexed by W3C. 2 To the best of our knowledge, all text models on HuggingFace use UTF-8.3 It should be noted that there is a stream of work on vision-based language models that render text as an image, and use the pixels as an input (e.g.Rust et al., 2022).These models are not dependent on UTF-8, and do not suffer from the same problems.For our main analyses, we consider these models out-of-scope, but we include a discussion of the relevance of our results for vision-based language models in Section 5.Since the 159,866 characters currently included in Unicode do not fit into a single byte, UTF-8 has a flexible byte-length (1-4).For backwards compatibility to ASCII, it represents the main Latin characters, numbers, and control characters in the first byte, but also an array of continuation bytes, which are a prefix for the higher-indexed characters.To clarify how this leads to differences in representations of text, consider the following examples: Abstract sion for any automated natural lanessing system is the granularity of nits.Traditionally, characters or been used, but recently, subwords e the standard.In this paper, we inends in input processing steps and mon shortcomings in this foundastep of model design.We start by n overview of currently used tokwing that there is only minimal vathree highly similar designs domrent models, and many of the tokg exact duplicates.Next, we reconde normalization strategies.Previas recommended applying consis-ization; however, we argue that this nal and we show how this can harm e for language classification.Fike a closer look at UTF-8 character he very first layer of representation y language models.We argue that ot optimized for efficiency, nor for ross languages, and propose proof alternatives focused on fairness and Based on our findings, we recome work to 1) put more thought into gmentation and explore more diverly normalization only when benefiider alternative character encodings operating on the byte-level. 1 codings in NLP odels for the automatic processing ural language, one of the first deciis how to represent the input.In e review common input processing used in Natural Language Process-dels; we start with the smallest units ters), and then look at subword segtegies.able on: https://bitbucket.org/putencodings/ Written natural language is commonly ex-041 pressed as sequences of characters.To store texts, 042 character encodings are used to represent charac-043 ters as bytes.UTF-8 is the most commonly used 044 character encoding today, it is used on 98.3% of 045 the websites indexed by W3C. 2 To the best of our 046 knowledge, all text models on HuggingFace use 047 UTF-8.3 It should be noted that there is a stream of 048 work on vision-based language models that render 049 text as an image, and use the pixels as an input (e.g.050 Rust et al., 2022).These models are not dependent 051 on UTF-8, and do not suffer from the same prob-052 lems.For our main analyses, we consider these 053 models out-of-scope, but we include a discussion 054 of the relevance of our results for vision-based lan-055 guage models in Section 5. 056 Since the 159,866 characters currently included 057 in Unicode do not fit into a single byte, UTF-8 has 058 a flexible byte-length (1-4).For backwards com-059 patibility to ASCII, it represents the main Latin 060 characters, numbers, and control characters in the 061 first byte, but also an array of continuation bytes, 062 which are a prefix for the higher-indexed charac-063 ters.To clarify how this leads to differences in rep-064 resentations of text, consider the following exam-065 ples

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Models cites Byte Pair Encoding is Suboptimal for Language Model Pretraining
  • Getting the most out of your tokenizer for pre-training and domain adaptation cites XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on14

  1. Byte Pair Encoding is Suboptimal for Language Model PretrainingKaj Bostrom, Greg DurrettEMNLP Findings 2020 · 180 citations
  2. Getting the most out of your tokenizer for pre-training and domain adaptationGautier Dagan, Gabriel Synnaeve, Baptiste RozièreICML 2024 · 68 citations
  3. Robust Open-Vocabulary Translation from Visual Text RepresentationsElizabeth Salesky, David Etter, Matt PostEMNLP 2021 · 33 citations
  4. XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language ModelsDavis Liang, Hila Gonen, Yuning Mao, Rui Hou et al.EMNLP 2023 · 29 citations
  5. Do All Languages Cost the Same? Tokenization in the Era of Commercial Language ModelsOrevaoghene Ahia, Sachin Kumar, Hila Gonen, Jungo Kasai et al.EMNLP 2023 · 24 citations

Related papers

  1. Language Model Tokenizers Introduce Unfairness Between LanguagesAleksandar Petrov, Emanuele La Malfa, Philip H. S. Torr, Adel BibiNeurIPS 2023 · 301 citations
  2. Tokenization is Sensitive to Language VariationAnna Wegmann, Dong Nguyen, David JurgensACL Findings 2025 · 2 citations
  3. Multilingual Tokenization through the Lens of Indian Languages: Challenges and InsightsMaharaj Brahma, Karthika NJ, Rajat Verma, Nagasai Saketh Naidu et al.ACL Findings 2026
  4. Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language ModelsPit Neitemeier, Björn Deiseroth, Constantin Eichenberg, Lukas BallesICLR 2025
  5. Beyond Perplexity: UTF-8 Validity in Byte-aware Language ModelsSangwhan Moon, Daisuke Oba, Youmi Ma, Tatsuya Hiraoka et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines