From Language Models over Tokens to Language Models over Characters
Not on the map. Why?
Abstract (arXiv)
Modern language models are internally -- and mathematically -- distributions over ittoken strings rather than itcharacter strings, posing numerous challenges for programmers building user applications on top of them. For example, if a prompt is specified as a character string, it must be tokenized before passing it to the token-level language model. Thus, the tokenizer and consequent processing are very sensitive to the specification of the prompt (e.g., whether the prompt ends with a space or not). This paper presents algorithms for converting token-level language models to character-level ones. We present both exact and approximate algorithms. In the empirical portion of the paper, we benchmark the practical runtime and approximation quality. Across four publicly available language models, we find that -- even with a small computation budget -- our method is able to accurately approximate the character-level distribution at reasonably fast speeds, and that a significant improvement in the language model's compression rate (bits/byte) is achieved.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 20 of its 37 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
20 of 37 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2023Efficient Guided Generation for Large Language Modelscited by 192
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
8 more
- 2024Automata-based constraints for language model decodingcited by 49
- 2024How to Compute the Probability of a Wordcited by 36
- 2024Leading Whitespaces of Language Models' Subword Vocabulary Pose a Confound for Calculating Word Probabilitiescited by 30
- 2021You should evaluate your language model on marginal likelihood over tokenisationscited by 29
- 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 20
- 2024Understanding and Mitigating Tokenization Bias in Language Modelscited by 18
- 2023Should you marginalize over possible tokenizations?cited by 17
- 2024On the Proper Treatment of Tokenization in Psycholinguisticscited by 12
Built on by
Citing papers per year: 2024: 1; 2025: 17; 2026: 10.
28 papers.
Sort:
By area:
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2025Causal Estimation of Tokenisation Biascited by 16
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 16
- 2025Self-Steering Language Modelscited by 13
- 2025Adversarial Tokenizationcited by 11
- 2025Bolmo: Byteifying the Next Generation of Language Modelscited by 8
- 2025The Harmonic Structure of Information Contourscited by 7
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interfacecited by 6
16 more
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisalcited by 5
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillationcited by 5
- 2025Meeseeks: A Feedback-Driven, Iterative Self-Correction Benchmark evaluating LLMs' Instruction Following Capabilitycited by 3
- 2026Proxy Compression for Language Modelingcited by 3
- 2026Transducing Language Modelscited by 3
- 2025A Spatio-Temporal Point Process for Fine-Grained Modeling of Reading Behaviorcited by 2
- 2025Lossless Vocabulary Reduction for Auto-Regressive Language Modelscited by 2
- 2026Ensembling Language Models with Sequential Monte Carlocited by 2
- 2026On the Proper Treatment of Units in Surprisal Theorycited by 2
- 2025Train It and Forget It: Merge Lists are Unnecessary for BPE Inference in Language Modelscited by 1
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-servicecited by 0
- 2026Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspectivecited by 0
- 2026Probing for Reading Timescited by 0
- 2026surprisal is Not a Theorycited by 0
- 2026Language Models are not Equally Robust to Non-Canonical Tokenization across Languagescited by 0
- 2026Stochastic Estimation of Transduced Language Modelscited by 0
- 2026Stochastic Estimation of Transduced Language Models27 Aug 2026
- 2026Language Models are not Equally Robust to Non-Canonical Tokenization across Languages29 Jul 2026
- 2026surprisal is Not a Theory22 Jul 2026
- 2026On the Proper Treatment of Units in Surprisal Theory30 Apr 2026
- 2026Probing for Reading Times20 Apr 2026
- 2026Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective20 Apr 2026
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interface8 Apr 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2026Transducing Language Models5 Mar 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2025Bolmo: Byteifying the Next Generation of Language Models17 Dec 2025
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation16 Dec 2025
16 more
- 2025Lossless Vocabulary Reduction for Auto-Regressive Language Models9 Oct 2025
- 2025Train It and Forget It: Merge Lists are Unnecessary for BPE Inference in Language Models8 Aug 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modeling10 Jul 2025
- 2025A Spatio-Temporal Point Process for Fine-Grained Modeling of Reading Behavior24 Jun 2025
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations23 Jun 2025
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-service6 Jun 2025
- 2025The Harmonic Structure of Information Contours4 Jun 2025
- 2025Causal Estimation of Tokenisation Bias3 Jun 2025
- 2025Meeseeks: A Feedback-Driven, Iterative Self-Correction Benchmark evaluating LLMs' Instruction Following Capability30 Apr 2025
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo17 Apr 2025
- 2025Self-Steering Language Models9 Apr 2025
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar 2025
- 2025SuperBPE: Space Travel for Language Models17 Mar 2025
- 2025Adversarial Tokenization4 Mar 2025
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisal16 Dec 2024
- 2025Self-Steering Language Modelscited by 13
- 2025Self-Steering Language Models9 Apr 2025
- 2025Adversarial Tokenizationcited by 11
- 2025Adversarial Tokenization4 Mar 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2025Causal Estimation of Tokenisation Biascited by 16
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 16
- 2025Bolmo: Byteifying the Next Generation of Language Modelscited by 8
- 2025The Harmonic Structure of Information Contourscited by 7
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interfacecited by 6
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisalcited by 5
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillationcited by 5
12 most cited of 26 All 26 (JSON)
- 2026Stochastic Estimation of Transduced Language Models27 Aug 2026
- 2026Language Models are not Equally Robust to Non-Canonical Tokenization across Languages29 Jul 2026
- 2026surprisal is Not a Theory22 Jul 2026
- 2026On the Proper Treatment of Units in Surprisal Theory30 Apr 2026
- 2026Probing for Reading Times20 Apr 2026
- 2026Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective20 Apr 2026
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interface8 Apr 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2026Transducing Language Models5 Mar 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2025Bolmo: Byteifying the Next Generation of Language Models17 Dec 2025
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation16 Dec 2025
12 newest of 26 All 26 (JSON)