Modeling human sentence processing can help us both better understand how the brain processes language and improve user interfaces. For example, our systems could compare different (computer-generated) sentences and produce the ones that are easiest to understand.
Speaker: Vera Demberg
At the time of this talk, Vera Demberg was a Ph.D. student in Computational Linguistics at the University of Edinburgh, Scotland. Her research focuses on building computational models of human sentence processing. She later became a professor of computer science and computational linguistics at Saarland University in Germany.
Vera obtained a Diplom (MSc) in Computational Linguistics from Stuttgart University and an MSc in Artificial Intelligence from the University of Edinburgh. She has published papers in a number of top venues for language processing and psycholinguistic research, including ACL, EACL, CogSci and Cognition.
For her PhD research, she was awarded the AMLaP Young Scientist Award for the best platform presentation by a junior scientist. She was a finalist for the Google Europe Anita Borg Memorial Scholarship in 2007.
Vera Demberg: Modeling human sentence-processing
Background: we read word by word, and we predict
When we read or listen, we do not wait for the end of a sentence to understand it. We build an interpretation word by word (incremental processing) and constantly predict what will come next. When a prediction fails, we slow down.
Garden-path sentences show this clearly. Each of these sentences is grammatical, but most readers stumble:
- The horse raced past the barn fell. (= The horse that was raced past the barn fell.)
- The old man the boat. (= The old people operate the boat; man is a verb.)
- While the man hunted the deer ran into the woods. (A comma after hunted would prevent the problem.)
Readers first take the most likely analysis (raced as the main verb), reach a word that does not fit (fell), and have to go back and reanalyze.
Surprisal: measuring how unexpected a word is
Surprisal theory (Hale, 2001; Levy, 2008) proposes that the effort needed to process a word depends on how predictable it is in its context. A word that a reader strongly expects is read quickly; an unexpected word takes longer.
| Context | Next word | Predictability | Reading |
|---|---|---|---|
| She drank a cup of… | coffee | high | fast |
| She drank a cup of… | soup | lower | a little slower |
| She drank a cup of… | ideas | very low | slow; often a re-read |
Demberg and Keller (2008) tested such measures on a large eye-tracking corpus, recordings of where and how long people’s eyes rest on each word while reading newspaper texts, and found that surprisal helps predict reading times. They also proposed models that combine prediction with the cost of keeping unfinished structures in memory.
How researchers measure sentence processing
| Method | What it records |
|---|---|
| Eye tracking | How long the eyes stay on each word, and when they jump back |
| Self-paced reading | How long a reader takes before pressing a key for the next word |
| EEG / ERPs | Electrical brain responses; the N400 grows with unexpected meanings, the P600 with difficult syntax |
| Computational models | Programs that assign each word a difficulty score, compared with human data |
Today, the probabilities from large language models are often used to calculate surprisal, linking research on human reading with modern AI.
Questions to think about while you watch
- Why do garden-path sentences feel “wrong” even though they are grammatical?
- How could a model of reading difficulty help writers, teachers or designers of user interfaces?
- If computers can predict the next word well, does that mean they process language the way humans do?
Further reading
As an Amazon Associate, Language Avenue earns from qualifying purchases.
- Demberg, V., & Keller, F. (2008). Data from eye-tracking corpora as evidence for theories of syntactic processing complexity. Cognition, 109(2), 193–210.
- Hale, J. (2001). A probabilistic Earley parser as a psycholinguistic model. In Proceedings of the Second Meeting of the North American Chapter of the Association for Computational Linguistics (pp. 159–166).
- Levy, R. (2008). Expectation-based syntactic comprehension. Cognition, 106(3), 1126–1177.
- Traxler, M. J. (2012). Introduction to Psycholinguistics: Understanding Language Science. Malden, MA: Wiley-Blackwell. Find it on Amazon
- Christiansen, M. H., & Chater, N. (2022). The Language Game: How Improvisation Created Language and Changed the World. New York: Basic Books. A readable account of language as learned from use, in the spirit of Elman’s work. Find it on Amazon
What next?
Keep reading





