Lune

ICML2025顶会

From Language Models over Tokens to Language Models over Characters

Tim Vieira, Benjamin LeBrun, Mario Giulianelli, Juan Luis Gastaldi, Brian DuSell, John Terilla, Timothy J. O'Donnell, Ryan Cotterell

摘要

Modern language models are internally-and mathematically-distributions over token strings rather than character 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. https://github.com/genlm/genlm-bytes From Language Models over Tokens to Language Models over Characters If we complete the prompt by taking the most likely next token (greedy completion), we generate the following:

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching 引用了 How to Compute the Probability of a Word
  • The Impact of Token Granularity on the Predictive Power of Language Model Surprisal 引用了 How to Compute the Probability of a Word
  • The Impact of Token Granularity on the Predictive Power of Language Model Surprisal 引用了 On the Proper Treatment of Tokenization in Psycholinguistics
  • Sampling from Your Language Model One Byte at a Time 引用了 Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching
  • Sampling from Your Language Model One Byte at a Time 引用了 How to Compute the Probability of a Word
  • Sampling from Your Language Model One Byte at a Time 引用了 You should evaluate your language model on marginal likelihood over tokenisations
  • How to Compute the Probability of a Word 引用了 You should evaluate your language model on marginal likelihood over tokenisations
  • How to Compute the Probability of a Word 引用了 On the Proper Treatment of Tokenization in Psycholinguistics
  • On the Proper Treatment of Tokenization in Psycholinguistics 引用了 How to Compute the Probability of a Word
  • Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations 引用了 Sampling from Your Language Model One Byte at a Time
  • Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations 引用了 You should evaluate your language model on marginal likelihood over tokenisations
  • On the Proper Treatment of Tokenization in Psycholinguistics 引用了 You should evaluate your language model on marginal likelihood over tokenisations
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling 引用了 Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Dynamic Chunking for End-to-End Hierarchical Sequence ModelingSukjun Hwang, Brandon Wang, Albert GuICLR 2026 · 76 次引用
  2. Universal Cross-Tokenizer Distillation via Approximate Likelihood MatchingBenjamin Minixhofer, Ivan Vulic, Edoardo Maria PontiNeurIPS 2025 · 48 次引用
  3. Broken Tokens? Your Language Model can Secretly Handle Non-Canonical TokenizationsBrian Siyuan Zheng, Alisa Liu, Orevaoghene Ahia, Jonathan Hayase 等NeurIPS 2025 · 19 次引用
  4. Sampling from Your Language Model One Byte at a TimeJonathan Hayase, Alisa Liu, Noah Smith, Sewoong OhICML 2026 · 9 次引用
  5. The Impact of Token Granularity on the Predictive Power of Language Model SurprisalByung-Doh Oh, William SchulerACL 2025 · 7 次引用

它引用的 Paper7

  1. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  2. Grammar-Constrained Decoding for Structured NLP Tasks without FinetuningSaibo Geng, Martin Josifoski, Maxime Peyrard, Robert WestEMNLP 2023 · 33 次引用
  3. You should evaluate your language model on marginal likelihood over tokenisationsKris Cao, Laura RimellEMNLP 2021 · 6 次引用
  4. How to Compute the Probability of a WordTiago Pimentel, Clara MeisterEMNLP 2024 · 2 次引用
  5. On the Proper Treatment of Tokenization in PsycholinguisticsMario Giulianelli, Luca Malagutti, Juan Luis Gastaldi, Brian DuSell 等EMNLP 2024 · 2 次引用

相关 Paper

  1. Learn Your Tokens: Word-Pooled Tokenization for Language ModelingAvijit Thawani, Saurabh Ghanekar, Xiaoyuan Zhu, Jay PujaraEMNLP Findings 2023 · 4 次引用
  2. Transducing Language ModelsVésteinn Snæbjarnarson, Samuel Kiegeland, Tianyu Liu, Reda Boumasmoud 等ICLR 2026 · 3 次引用
  3. Proxy Compression for Language ModelingLin Zheng, Li Xinyu, Qian Liu, Xiachong Feng 等ICML 2026 · 3 次引用
  4. CharBench: Evaluating the Role of Tokenization in Character-Level TasksOmri Uzan, Yuval PinterAAAI 2026 · 3 次引用
  5. Language Models over Canonical Byte-Pair EncodingsTim Vieira, Tianyu Liu, Clemente Pasti, Yahya Emara 等ICML 2025
黄昏的海面,两侧是细线勾勒的悬崖