On the Proper Treatment of Units in Surprisal Theory

Samuel Kiegeland, Vésteinn Snæbjarnarson, Tim Vieira, Ryan Cotterell

TL;DR

This paper introduces a mathematically rigorous framework using finite-state transducers (FSTs) to map token-level language model probabilities to arbitrary linguistic units (such as words or characters). By separating tokenization from the actual unit of analysis, the authors resolve long-standing inconsistencies in psycholinguistic modeling and allow researchers to evaluate surprisal theory without being constrained by a model's native subword vocabulary.

What Problem Does This Paper Address?

Surprisal theory is a cornerstone of psycholinguistics, positing that the cognitive effort required to process a word or linguistic unit is proportional to its unexpectedness (negative log-probability) in context. To test this empirically, researchers compare language model (LM) probabilities with human reading times derived from eye-tracking data.

However, a major mismatch has emerged: modern large language models do not think in terms of linguistically meaningful units like "words." Instead, they use data-driven subword tokenization schemes (like Byte-Pair Encoding) designed for computational efficiency. For example, as shown in the paper's introductory figure, a model might split the contraction "don't" into arbitrary fragments like don and 't.

Alignment mismatch between tokens, characters, and linguistic units

To bridge this gap, researchers typically rely on ad-hoc, post-hoc heuristics—such as summing up subword surprisals to represent a word's total surprisal. The authors demonstrate that these heuristics introduce severe mathematical and linguistic flaws, particularly regarding how whitespace and punctuation are handled, which ultimately muddles the scientific interpretation of psycholinguistic data.

Methods

The authors propose a unified, principled framework that treats tokenization as a mere implementation detail rather than a scientific primitive. Their core approach relies on Pushforward Distributions implemented via Finite-State Transducers (FSTs).

  1. The Unit Parser ($\rho$): They formalize a deterministic mapping from a language model's symbol alphabet ($\Sigma$) to a desired target unit inventory ($U$).
  2. The Transducer Pipeline ($f$): To handle potentially infinite unit inventories (like the open set of all whitespace-delimited words), they introduce a separator symbol (SEP) to mark unit boundaries. They construct an FST that maps token strings to SEP-annotated strings.
  3. Relational Realization: Crucially, unlike prior work that forced the inverse mapping (from units back to tokens) to be a function, this framework treats it as a relation. This elegantly solves the "unit inconsistency" problem, ensuring that a word like "Hale" retains the same identity whether it appears at the very beginning of a sentence or mid-sentence preceded by a whitespace.
The unit parser pipeline mapping symbols to units via an intermediate annotated string

Using this framework, they evaluate four distinct unit inventories: native tokens, individual characters, acontextual words (simple whitespace splitting), and contextual words (linguistically informed splitting following Penn Treebank guidelines).

Datasets

The framework was evaluated using:

  • Language Model: GPT-2 Small, acting as the proxy for human language expectations.
  • Human Reading Data: The English portion of the Multilingual Eye-movement Corpus (MECO), which contains raw eye-tracking scanpaths from 46 readers processing 12 Wikipedia excerpts.

Key Insights and Ideas

  • Tokenization is Not a Primitive: Token boundaries induced by algorithms like BPE are artifacts of corpus frequency, not human cognitive processing. Psycholinguistic analyses should actively choose their unit of analysis based on the scientific question, not the model's architecture.
  • Changing the Unit Changes the Regression: A critical "aha!" moment in the paper is that switching the unit inventory fundamentally alters the underlying statistical regression problem. Different inventories yield different numbers of total observations and entirely different baseline controls (such as word length and unigram frequency). Therefore, absolute log-likelihoods cannot be directly compared across different unit definitions.
  • Context Matters for Boundaries: Simple acontextual rules (e.g., always splitting on commas) fail in practice. For instance, a comma is internal to a unit in the number "1,000" but acts as a structural boundary in the phrase "end, he said". Contextual FSTs are required to handle these nuances correctly.

Key Results

The authors evaluated the predictive power of their target models against baseline models using Generalized Additive Mixed Models (GAMMs), measuring the improvement in held-out log-likelihood ($\Delta_{llh}$).

  • Word-Level Success: For all word-like inventories (tokens, acontextual words, and contextual words), adding contextual surprisal yielded statistically significant improvements ($p < 0.001$) in predicting later reading-time measures like gaze duration and total reading time.
  • Character-Level Failure: Character-level surprisal showed no significant improvement on any reading-time measure. This aligns with cognitive expectations, as readers rarely fixate or process text character-by-character.
  • The Whitespace Confound: For first-fixation durations, results were significant for acontextual words under trailing-whitespace attribution, but not leading-whitespace attribution, validating recent arguments that how whitespace is grouped heavily impacts early eye-tracking metrics.

Limitations and Future Work

  • Language Scope: The empirical evaluation was restricted exclusively to English. Linguistic and orthographic conventions vary wildly across languages (e.g., compounding in German or character segmentation in Chinese), which will require distinct segmentation rules.
  • Computational Cost: Transducing a language model requires marginalizing over all possible source strings that map to a given output. This introduces notable computational overhead, particularly when estimating unigram frequencies, which required extensive parallelization.
  • Expressivity Limits: The framework is bound to finite-state machinery. It assumes the unit parser is deterministic and rational, meaning it cannot currently account for context-free grammar structures or genuinely ambiguous linguistic parsing.

Summary updated

BibTeX
@inproceedings{kiegeland2026proper,
  author = {Samuel Kiegeland and Vésteinn Snæbjarnarson and Tim Vieira and Ryan Cotterell},
  title = {{On the Proper Treatment of Units in Surprisal Theory}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1485},
}
Figure