Lune

EMNLP Findings2023

Learn Your Tokens: Word-Pooled Tokenization for Language Modeling

Avijit Thawani, Saurabh Ghanekar, Xiaoyuan Zhu, Jay Pujara

Abstract

Language models typically tokenize text into subwords, using a deterministic, handengineered 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/characterlevel 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 tokenizers 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. [Github].

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Enhancing Large Language Models through Adaptive Tokenizers cites Charformer: Fast Character Transformers via Gradient-based Subword Tokenization
  • Robust Open-Vocabulary Translation from Visual Text Representations cites BPE-Dropout: Simple and Effective Subword Regularization
  • Charformer: Fast Character Transformers via Gradient-based Subword Tokenization cites BPE-Dropout: Simple and Effective Subword Regularization
  • SpaceByte: Towards Deleting Tokenization from Large Language Modeling cites MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers
  • SpaceByte: Towards Deleting Tokenization from Large Language Modeling cites Charformer: Fast Character Transformers via Gradient-based Subword Tokenization
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites Charformer: Fast Character Transformers via Gradient-based Subword Tokenization
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites SpaceByte: Towards Deleting Tokenization from Large Language Modeling
  • zip2zip: Inference-Time Adaptive Tokenization via Online Compression cites MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers
  • zip2zip: Inference-Time Adaptive Tokenization via Online Compression cites Dynamic Chunking for End-to-End Hierarchical Sequence Modeling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Dynamic Chunking for End-to-End Hierarchical Sequence ModelingSukjun Hwang, Brandon Wang, Albert GuICLR 2026 · 76 citations
  2. SpaceByte: Towards Deleting Tokenization from Large Language ModelingKevin SlagleNeurIPS 2024 · 34 citations
  3. Enhancing Large Language Models through Adaptive TokenizersMengyu Zheng, Hanting Chen, Tianyu Guo, Chong Zhu et al.NeurIPS 2024 · 11 citations
  4. Enhancing Character-Level Understanding in LLMs through Token Internal Structure LearningZhu Xu, Zhiqiang Zhao, Zihan Zhang, Yuchi Liu et al.ACL 2025 · 7 citations
  5. zip2zip: Inference-Time Adaptive Tokenization via Online CompressionSaibo Geng, Nathan Ranchin, Yunzhen Yao, Maxime Peyrard et al.NeurIPS 2025 · 5 citations

Builds on10

  1. Charformer: Fast Character Transformers via Gradient-based Subword TokenizationYi Tay, Vinh Q. Tran, Sebastian Ruder, Jai Prakash Gupta et al.ICLR 2022 · 198 citations
  2. MEGABYTE: Predicting Million-byte Sequences with Multiscale TransformersLili Yu, Daniel Simig, Colin Flaherty, Armen Aghajanyan et al.NeurIPS 2023 · 197 citations
  3. An Empirical Investigation of Contextualized Number PredictionTaylor Berg-Kirkpatrick, Daniel SpokoynyEMNLP 2020 · 34 citations
  4. Robust Open-Vocabulary Translation from Visual Text RepresentationsElizabeth Salesky, David Etter, Matt PostEMNLP 2021 · 33 citations
  5. BPE-Dropout: Simple and Effective Subword RegularizationIvan Provilkov, Dmitrii Emelianenko, Elena VoitaACL 2020 · 17 citations

Related papers

  1. ByteFlow: Language Modeling through Adaptive Byte Compression without a TokenizerChunyuan Deng, Sanket Lokegaonkar, Colin Lockard, Besnik Fetahu et al.ICLR 2026 · 1 citation
  2. Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language ModelsPit Neitemeier, Björn Deiseroth, Constantin Eichenberg, Lukas BallesICLR 2025
  3. FLEXITOKENS: Flexible Tokenization for Evolving Language ModelsAbraham Toluwase Owodunni, Orevaoghene Ahia, Sachin KumarACL Findings 2026
  4. From Bytes to Ideas: Language Modeling with Autoregressive U-NetsMathurin Videau, Badr Youbi Idrissi, Alessandro Ferreira Leite, Marc Schoenauer et al.NeurIPS 2025 · 14 citations
  5. Proxy Compression for Language ModelingLin Zheng, Li Xinyu, Qian Liu, Xiachong Feng et al.ICML 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines