Leading Whitespaces of Language Models' Subword Vocabulary Pose a Confound for Calculating Word Probabilities
Not on the map. Why?
Abstract (arXiv)
Predictions of word-by-word conditional probabilities from Transformer-based language models are often evaluated to model the incremental processing difficulty of human readers. In this paper, we argue that there is a confound posed by the most common method of aggregating subword probabilities of such language models into word probabilities. This is due to the fact that tokens in the subword vocabulary of most language models have leading whitespaces and therefore do not naturally define stop probabilities of words. We first prove that this can result in distributions over word probabilities that sum to more than one, thereby violating the axiom that mathsfP(Omega) = 1. This property results in a misallocation of word-by-word surprisal, where the unacceptability of the end of the current word is incorrectly carried over to the next word. Additionally, this implicit prediction of word boundaries incorrectly models psycholinguistic experiments where human subjects directly observe upcoming word boundaries. We present a simple decoding technique to reaccount the probability of the trailing whitespace into that of the current word, which resolves this confound. Experiments show that this correction reveals lower estimates of garden-path effects in transitive/intransitive sentences and poorer fits to naturalistic reading times.
Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 11 of its 31 references that are in the map. First posted on arXiv 16 Jun 2024.
Builds on
11 of 31 references.
References · 11
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
- 2018Targeted Syntactic Evaluation of Language Modelscited by 242
- 2018Colorless green recurrent networks dream hierarchicallycited by 213
- 2022Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times?cited by 113
- 2023Testing the Predictions of Surprisal Theory in 11 Languagescited by 77
- 2023Transformer-Based Language Model Surprisal Predicts Human Reading Times Best with About Two Billion Training Tokenscited by 41
- 2017The Natural Stories Corpuscited by 40
- 2023Words, Subwords, and Morphemes: What Really Matters in the Surprisal-Reading Time Relationship?cited by 13
- 2023Large GPT-like Models are Bad Babies: A Closer Look at the Relationship between Linguistic Competence and Psycholinguistic Measurescited by 11
Built on by
Citing papers per year: 2024: 9; 2025: 10; 2026: 11.
30 papers.
Sort:
By area:
- 2024How to Compute the Probability of a Wordcited by 36
- 2024From Language Models over Tokens to Language Models over Characterscited by 31
- 2025Large Language Models Are Human-Like Internallycited by 29
- 2024Linear Recency Bias During Training Improves Transformers' Fit to Reading Timescited by 14
- 2024On the Proper Treatment of Tokenization in Psycholinguisticscited by 13
- 2024Towards a Similarity-adjusted Surprisal Theorycited by 9
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Modelscited by 9
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2025Subword models struggle with word learning, but surprisal hides itcited by 6
- 2024Large-scale cloze evaluation reveals that token prediction tasks are neither lexically nor semantically alignedcited by 5
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisalcited by 5
- 2025The Inverse Scaling Effect of Pre-Trained Language Model Surprisal Is Not Due to Data Leakagecited by 5
18 more
- 2026Transducing Language Modelscited by 5
- 2025If Attention Serves as a Cognitive Model of Human Memory Retrieval, What is the Plausible Memory Representation?cited by 4
- 2025How Well Does First-Token Entropy Approximate Word Entropy as a Psycholinguistic Predictor?cited by 4
- 2025Token-level Ensembling of Models with Different Vocabulariescited by 3
- 2024Reverse-Engineering the Readercited by 2
- 2024A Grounded Typology of Word Classescited by 2
- 2026Dual Alignment Between Language Model Layers and Human Sentence Processingcited by 2
- 2026On the Proper Treatment of Units in Surprisal Theorycited by 2
- 2025Lost in Space: Finding the Right Tokens for Structured Outputcited by 1
- 2025Surprisal from Larger Transformer-based Language Models Predicts fMRI Data More Poorlycited by 1
- 2026Surprisal and Metaphor Novelty Judgments: Moderate Correlations and Divergent Scaling Effects Revealed by Corpus-Based and Synthetic Datasetscited by 1
- 2026Clozing the Gap: Exploring Why Language Model Surprisal Outperforms Cloze Surprisalcited by 1
- 2026Information-Theoretic Storage Cost in Sentence Comprehensioncited by 1
- 2026An Existence Proof for Neural Language Models That Can Explain Garden-Path Effects via Surprisalcited by 1
- 2026On the scaling relationship between cloze probabilities and language model next-token predictioncited by 0
- 2026Probing for Reading Timescited by 0
- 2026surprisal is Not a Theorycited by 0
- 2026Using LMs to Model the Effects of Context and Coreference during Sentence Comprehensioncited by 0
- 2026Using LMs to Model the Effects of Context and Coreference during Sentence Comprehension26 Sep 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
- 2026Dual Alignment Between Language Model Layers and Human Sentence Processing20 Apr 2026
- 2026An Existence Proof for Neural Language Models That Can Explain Garden-Path Effects via Surprisal20 Apr 2026
- 2026Transducing Language Models5 Mar 2026
- 2026Information-Theoretic Storage Cost in Sentence Comprehension20 Feb 2026
- 2026On the scaling relationship between cloze probabilities and language model next-token prediction19 Feb 2026
- 2026Clozing the Gap: Exploring Why Language Model Surprisal Outperforms Cloze Surprisal14 Jan 2026
- 2026Surprisal and Metaphor Novelty Judgments: Moderate Correlations and Divergent Scaling Effects Revealed by Corpus-Based and Synthetic Datasets5 Jan 2026
- 2025How Well Does First-Token Entropy Approximate Word Entropy as a Psycholinguistic Predictor?29 Jul 2025
18 more
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2025Surprisal from Larger Transformer-based Language Models Predicts fMRI Data More Poorly12 Jun 2025
- 2025The Inverse Scaling Effect of Pre-Trained Language Model Surprisal Is Not Due to Data Leakage1 Jun 2025
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models29 May 2025
- 2025Token-level Ensembling of Models with Different Vocabularies28 Feb 2025
- 2025Lost in Space: Finding the Right Tokens for Structured Output20 Feb 2025
- 2025Subword models struggle with word learning, but surprisal hides it18 Feb 2025
- 2025If Attention Serves as a Cognitive Model of Human Memory Retrieval, What is the Plausible Memory Representation?17 Feb 2025
- 2025Large Language Models Are Human-Like Internally3 Feb 2025
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisal16 Dec 2024
- 2024A Grounded Typology of Word Classes13 Dec 2024
- 2024From Language Models over Tokens to Language Models over Characters4 Dec 2024
- 2024Towards a Similarity-adjusted Surprisal Theory23 Oct 2024
- 2024Reverse-Engineering the Reader16 Oct 2024
- 2024Large-scale cloze evaluation reveals that token prediction tasks are neither lexically nor semantically aligned15 Oct 2024
- 2024On the Proper Treatment of Tokenization in Psycholinguistics3 Oct 2024
- 2024Linear Recency Bias During Training Improves Transformers' Fit to Reading Times17 Sep 2024
- 2024How to Compute the Probability of a Word20 Jun 2024
- 2025Large Language Models Are Human-Like Internallycited by 29
- 2025Large Language Models Are Human-Like Internally3 Feb 2025
- 2024How to Compute the Probability of a Wordcited by 36
- 2024From Language Models over Tokens to Language Models over Characterscited by 31
- 2024Linear Recency Bias During Training Improves Transformers' Fit to Reading Timescited by 14
- 2024On the Proper Treatment of Tokenization in Psycholinguisticscited by 13
- 2024Towards a Similarity-adjusted Surprisal Theorycited by 9
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Modelscited by 9
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2025Subword models struggle with word learning, but surprisal hides itcited by 6
- 2024Large-scale cloze evaluation reveals that token prediction tasks are neither lexically nor semantically alignedcited by 5
- 2024The Impact of Token Granularity on the Predictive Power of Language Model Surprisalcited by 5
- 2025The Inverse Scaling Effect of Pre-Trained Language Model Surprisal Is Not Due to Data Leakagecited by 5
- 2026Transducing Language Modelscited by 5
12 most cited of 28 All 28 (JSON)
- 2026Using LMs to Model the Effects of Context and Coreference during Sentence Comprehension26 Sep 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
- 2026Dual Alignment Between Language Model Layers and Human Sentence Processing20 Apr 2026
- 2026An Existence Proof for Neural Language Models That Can Explain Garden-Path Effects via Surprisal20 Apr 2026
- 2026Transducing Language Models5 Mar 2026
- 2026Information-Theoretic Storage Cost in Sentence Comprehension20 Feb 2026
- 2026On the scaling relationship between cloze probabilities and language model next-token prediction19 Feb 2026
- 2026Clozing the Gap: Exploring Why Language Model Surprisal Outperforms Cloze Surprisal14 Jan 2026
- 2025How Well Does First-Token Entropy Approximate Word Entropy as a Psycholinguistic Predictor?29 Jul 2025
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
12 newest of 28 All 28 (JSON)