In the world of computational psycholinguistics, two metrics reign supreme for predicting how long it takes a human to read a word: contextual surprisal (how unexpected a word is given the preceding text) and unigram surprisal (how rare a word is in general, often called frequency).
While researchers typically get contextual surprisal from state-of-the-art neural language models (LMs), they usually pull unigram surprisal from separate, static corpus counts. This paper argues that this "mix-and-match" approach is a fundamental mistake that breaks the probabilistic link between the two measures.
TL;DR
This paper demonstrates that using different sources for word frequency and contextual predictability introduces significant estimation errors in psycholinguistic models. The authors propose a new, highly efficient "Marginalized Monte Carlo" estimator to derive both values from the same language model, leading to more consistent and theoretically sound predictions of human reading behavior.
What Problem Does This Paper Address?
Mathematically, contextual and unigram surprisal are two sides of the same coin—they are both derived from a single underlying probability distribution of a language. One is a conditional probability, and the other is a marginal probability.
However, current research practice treats them as independent. We use a "brain" (a neural LM) to tell us how surprising a word is in context, but we use a "dictionary" (like the wordfreq database) to tell us how common that word is overall. This mismatch means the two predictors are summarizing different probabilistic systems. As shown in the table below, the difference between these two sources can be substantial, especially when calculating derived metrics like Pointwise Mutual Information (PMI).
Methods
The authors propose three guiding principles for frequency estimation:
- Best Estimate Principle: Estimates should approximate the true distribution of the corpus.
- Cognitive Plausibility Principle: Estimates should reflect the human "internal" language model.
- Consistent Distribution Principle: Both surprisal types must come from the same underlying LM.
To satisfy the third principle, they introduce two ways to estimate frequency directly from an autoregressive LM:
- Naive Monte Carlo (NMC): Simply sample thousands of sentences from the LM and count how often a word appears.
- Marginalized Monte Carlo (MMC): A more sophisticated approach that, at every single step of generating a sentence, calculates the probability that the next tokens will complete the target word. By "marginalizing" over the next-token distribution, it extracts much more information from every sample.
Datasets
- Language Model: mGPT, a 1.3B parameter multilingual model trained on 61 languages.
- Reading Time Data: The Multilingual Eye-movement Corpus (MECO), which contains eye-tracking data from humans reading in 11 different languages.
- Baseline: The wordfreq lexical database, a standard resource for corpus-based word frequencies.
Key Insights and Ideas
- The Efficiency of Marginalization: The MMC estimator is a game-changer for variance. By looking at the model's internal probabilities instead of just its raw outputs, researchers can get stable frequency estimates with far fewer samples.
- Frequency is King: The study confirms that unigram surprisal (frequency) is often a stronger predictor of reading time than contextual surprisal. This underscores why getting the frequency estimate "right" is so critical.
- The PMI Shift: When frequency and context are derived from the same model, the predictive power of Pointwise Mutual Information (PMI)—a measure of how much a specific context "pulls" on a word—changes significantly. This suggests that previous findings using mismatched sources may have misattributed the influence of different linguistic factors.
Key Results
- Variance Reduction: The MMC estimator achieved 10x to 13x lower variance than the naive sampling method across different sample sizes.
- Model Fit: Models using the MMC-derived frequency showed a significant increase in predictive power (measured by delta log-likelihood) for reading times compared to models using traditional corpus-based frequencies, particularly when modeling the interaction between frequency and context.
- Coverage Issues: The authors found that naive sampling (NMC) often fails to even "see" rarer words in a corpus, whereas the MMC approach can still assign them a principled probability.
Limitations and Future Work
The primary drawback of the MMC method is computational cost. It requires multiple forward passes through the language model for every word being estimated, making it much slower than simply looking up a value in a database.
Additionally, the authors noted that multilingual models like mGPT can be "skewed" toward certain languages during sampling, which might affect the cognitive plausibility of the estimates for less-represented languages. Future work could involve refining these estimators for even larger models and exploring how different "unit parsers" (like characters vs. subwords) impact the results.
Summary updated