Lune

EMNLP2024顶会

How to Compute the Probability of a Word

Tiago Pimentel, Clara Meister

摘要

Language models (LMs) estimate a probability distribution over strings in a natural language; these distributions are crucial for computing perplexity and surprisal in linguistics research. While we are usually concerned with measuring these values for words, most LMs operate over subwords. Despite seemingly straightforward, accurately computing probabilities over one unit given probabilities over the other requires care. Indeed, we show here that many recent linguistic studies have been incorrectly computing these values. This paper derives the correct methods for computing word probabilities, highlighting issues when relying on language models that use beginning-of-word (bow)-marking tokenisers, e.g., the GPT family. Empirically, we show that correcting the widespread bug in probability computations affects measured outcomes in sentence comprehension and lexical optimisation analyses. tpimentelms/probability-of-a-word pip install wordsprobability

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • The Impact of Token Granularity on the Predictive Power of Language Model Surprisal 引用了 Tokenization and the Noiseless Channel
  • 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 引用了 You should evaluate your language model on marginal likelihood over tokenisations
  • Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation 引用了 Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching
  • Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation 引用了 Sampling from Your Language Model One Byte at a Time
  • Tokenisation is NP-Complete 引用了 Tokenization and the Noiseless Channel
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. Universal Cross-Tokenizer Distillation via Approximate Likelihood MatchingBenjamin Minixhofer, Ivan Vulic, Edoardo Maria PontiNeurIPS 2025 · 48 次引用
  2. Sampling from Your Language Model One Byte at a TimeJonathan Hayase, Alisa Liu, Noah Smith, Sewoong OhICML 2026 · 9 次引用
  3. The Impact of Token Granularity on the Predictive Power of Language Model SurprisalByung-Doh Oh, William SchulerACL 2025 · 7 次引用
  4. Tokenisation is NP-CompletePhilip Whittington, Gregor Bachmann, Tiago PimentelACL 2025 · 6 次引用
  5. Cross-Tokenizer Likelihood Scoring Algorithms for Language Model DistillationBuu Phan, Ashish Khisti, Karen UllrichICLR 2026 · 5 次引用

它引用的 Paper6

  1. Transformer-Based Language Model Surprisal Predicts Human Reading Times Best with About Two Billion Training TokensByung-Doh Oh, William SchulerEMNLP Findings 2023 · 21 次引用
  2. Tokenization and the Noiseless ChannelVilém Zouhar, Clara Meister, Juan Luis Gastaldi, Li Du 等ACL 2023 · 10 次引用
  3. A Measure-Theoretic Characterization of Tight Language ModelsLi Du, Lucas Torroba Hennigen, Tiago Pimentel, Clara Meister 等ACL 2023 · 8 次引用
  4. You should evaluate your language model on marginal likelihood over tokenisationsKris Cao, Laura RimellEMNLP 2021 · 6 次引用
  5. Revisiting the Optimality of Word LengthsTiago Pimentel, Clara Meister, Ethan Wilcox, Kyle Mahowald 等EMNLP 2023 · 5 次引用

相关 Paper

  1. Clozing the Gap: Exploring Why Language Model Surprisal Outperforms Cloze SurprisalSathvik Nair, Byung-Doh OhACL 2026 · 1 次引用
  2. Temperature-scaling surprisal estimates improve fit to human reading times - but does it do so for the "right reasons"?Tong Liu, Iza Skrjanec, Vera DembergACL 2024 · 3 次引用
  3. Causal Estimation of Tokenisation BiasPietro Lesci, Clara Meister, Thomas Hofmann, Andreas Vlachos 等ACL 2025
  4. On the Proper Treatment of Tokenization in PsycholinguisticsMario Giulianelli, Luca Malagutti, Juan Luis Gastaldi, Brian DuSell 等EMNLP 2024 · 2 次引用
  5. Are Language Models Any Good at Density Modeling?Sriram Ranga, Sai Shashank Bedampeta, Rui Mao, Anupam ChattopadhyayAAAI 2026
黄昏的海面,两侧是细线勾勒的悬崖