Hale (2001): A Probabilistic Earley Parser as a Psycholinguistic Model #
This file formalizes the linking hypothesis of [Hal01]. Cognitive load is the total probability
of the structural analyses the input so far has disconfirmed (section 4): for a consistent grammar,
the effort spent on a prefix is one minus its prefix probability, disconfirmed, and word-by-word
reading time is proportional to the log of the ratio of the prefix probability before the word to
the one after it, the word's surprisal (surprisal_nextWord_eq_log_div), where the prefix
probability is [Sto95]'s, computed by a probabilistic Earley parser that is
strong-competence, frequency-sensitive, and eager (Principles 1 to 3). The parser computes every
parse, so the theory is one of total parallelism (section 3): garden-pathing needs no reanalysis and
happens exactly at words where the disconfirmed analyses comprise most of the probability mass
(log_le_surprisal_nextWord), which is how the paper reads the spike at fell in the horse raced
past the barn fell, where grammar (1) puts the prefix probability before the word at more than ten
times the one after it (section 6.1), and the subject and object relative asymmetry of grammar (3)
(section 6.3). The two levels of the linking hypothesis agree, since prefix-level load only grows
along a sentence (disconfirmed_mono) and word-level surprisals telescope to the negative log of
the sentence's prefix mass (totalSurprisal_nil_eq).
Implementation notes #
The demonstrations' numerics, grammars (1) to (3) and the reading-time figures, require Stolcke's Earley chart over recursive probabilistic context-free grammars and await an Earley substrate; the theorems here are the grammar-independent content of the linking hypothesis, stated for any probability measure over structures with string yields.
The paper defines a word's surprisal as the log ratio of prefix probabilities. Here it is the
library's surprisal of the word under the law of the next word, Surprisal.nextWord, the
negative log of its conditional probability, and the paper's ratio is a theorem about it.
References #
Prefix-level cognitive load (section 4): the total probability of the analyses the prefix has disconfirmed.
Equations
- Hale2001.disconfirmed P str ws = 1 - P (Surprisal.consistent str ws)
Instances For
Disconfirmed mass grows along a sentence: an extension has disconfirmed at least what its prefix has, so prefix-level load never decreases.
The surprisals of the words of rest, read one by one after the prefix acc.
Equations
- Hale2001.totalSurprisal P str x✝ [] = 0
- Hale2001.totalSurprisal P str x✝ (w :: rest) = InformationTheory.surprisal (Surprisal.nextWord P str x✝) (some w) + Hale2001.totalSurprisal P str (x✝ ++ [w]) rest
Instances For
Word-level cognitive load (section 4): a word's surprisal is the log of the ratio of the prefix probability before the word to the prefix probability after it.
Surprisal in disconfirmation form: the log of one plus the ratio of the mass disconfirmed at the word to the mass surviving it.
Garden-pathing (section 6.1): if the mass disconfirmed at a word is at least k times
the surviving mass, the word's surprisal is at least log (1 + k); difficulty spikes exactly
where the disconfirmable analyses comprise a great amount of probability.
Load along a sentence #
No analysis has been disconfirmed before any input is seen.
Word surprisals telescope: reading rest after acc costs the log of the ratio of the
masses before and after, whenever the whole string has positive mass.
The linking hypothesis at the sentence level (section 4): the total surprisal of a sentence is the negative log of its prefix mass, the whole disconfirmed mass paid out word by word.