Skip to main content

ETHNOS_APP

Home • Search • Journals • List 0

Memory for prediction

A Transformer-based theory of sentence processing

Bibliographic Data

ID14810679
AuthorsSoo Hyun Ryu (0000-0001-6636-9765, University of Michigan, corresponding author), Richard L Lewis (0000-0001-6403-489X, Center for Applied Linguistics)
Year2025
Volume145
Pages104670
Publication date2025-12-01
Open AccessYes
TypeARTICLE
VenueJournal of Memory and Language (JOURNAL)
Journal identifiersISSN: 0749-596X • E-ISSN: 1096-0821
PublisherElsevier BV (PUBLISHER)
DOI10.1016/j.jml.2025.104670
OpenAlexW4412717590
LanguageEN
Citations received1
References cited68

We demonstrate that Transformer-based neural network language models provide a new foundation for mechanistic theories of sentence processing that seamlessly integrate expectation-based and memory-based accounts. First, we show that the attention mechanism in GPT2-small operates as a kind of cue-based retrieval architecture that is subject to similarity-based interference. Second, we show that it provides accounts of classic memory effects in parsing, including contrasts involving relative clauses and center-embedding. Third, we show that a simple word-by-word entropy metric computed over the internal attention patterns provides an index of memory interference that explains variance in eye-tracking and self-paced reading time measures (independent of surprisal and other predictors) in two natural story reading time corpora. Because the cues and representations are learned, there is no need for the theorist to postulate representational features and cues. Transformers provide practical modeling tools for exploring the effects of memory and experience, given the increasing availability of both pre-trained models and software for training new models, and the ease with which surprisal and attention entropy metrics may be computed

Cognition · Cognitive psychology · Natural language processing · Sentence · Sentence processing · Computer Science · Natural Language Processing Techniques · Neurobiology of Language and Bilingualism · Neuroscience · Psychology · Topic Modeling

  • Semantic Processing and Individual Variation

    Open Access•Shaohua Fang, Yue Li et al.•Languages•2026

  • The Stanford CoreNLP Natural Language Processing Toolkit

    Open Access•Christopher D Manning, Christopher Manning et al.•Proceedings of 52nd Annual…•2014

  • Consequences of the Serial Nature of Linguistic Input for Sentenial Complexity

    Open Access•Daniel Grodner, Edward Gibson et al.•Cognitive Science•2005

  • Contextual effects on word perception and eye movements during reading

    Open Access•Susan F Ehrlich, Keith Rayner•Journal of Verbal Learning and…•1981

  • Making and correcting errors during sentence comprehension

    Open Access•Lyn Frazier, Keith Rayner•Cognitive Psychology•1982

  • The E-Z Reader model of eye-movement control in reading

    Open Access•Erik D Reichle, Keith Rayner et al.•Behavioral and Brain Sciences•2003

  • Linguistic complexity

    Open Access•Edward Gibson•Cognition•1998

  • An Activation‐Based Model of Sentence Processing as Skilled Memory Retrieval

    Open Access•Richard L Lewis, Shravan Vasishth•Cognitive Science•2005

  • Computational principles of working memory in sentence comprehension

    Open Access•Richard L Lewis, Shravan Vasishth et al.•Trends in Cognitive Sciences•2006

  • Swift

    Ralf Engbert, Antje Nuthmann et al.•Psychological Review•2005

  • Toward a Universal Law of Generalization for Psychological Science

    Open Access•Roger N Shepard•Science•1987

  • The sausage machine

    Open Access•Lyn Frazier, Janet Dean Fodor•Cognition•1978

  • Lossy‐Context Surprisal

    Open Access•Richard Futrell, Edward Gibson et al.•Cognitive Science•2020

  • Expectation-based syntactic comprehension

    Open Access•Roger Levy•Cognition•2008

  • BRMS

    Open Access•Paul-Christian Bürkner•Journal of Statistical Software•2017

  • A Mathematical Theory of Communication

    Claude E Shannon•Bell System Technical Journal•1948

  • Individual Differences in Cue Weighting in Sentence Comprehension

    Open Access•Himanshu Yadav, Dario Paape et al.•Open MIND•2022

  • When missing NPs make double center-embedding sentences acceptable

    Open Access•Nick Huang, Colin Phillips•Glossa a journal of general…•2021

  • Large-scale benchmark yields no evidence that language model surprisal explains syntactic disambiguation difficulty

    Open Access•Kuan-Jung Huang, Suhas Arehalli et al.•Journal of Memory and Language•2024

  • Neurocomputational Models of Language Processing

    John Hale, Luca Campanelli et al.•Annual Review of Linguistics•2021

  • A Performance Theory of Order and Constituency

    Open Access•Michael A Covington, John A Hawkins•Performance Theory of Order and…•1995

  • Interference in short-term memory

    Open Access•Richard L Lewis•Journal of Psycholinguistic…•1996

  • A Probabilistic Model of Lexical and Syntactic Access and Disambiguation

    Open Access•Daniel Jurafsky•Cognitive Science•1996

  • Uncertainty About the Rest of the Sentence

    Open Access•John Hale•Cognitive Science•2006

  • Comparisons of Online Reading Paradigms

    Open Access•Naoko Witzel, Jeffrey Witzel et al.•Journal of Psycholinguistic…•2012

  • Information-theoretical Complexity Metrics

    Open Access•John Hale•Language and Linguistics Compass•2016

  • A Usage-Based Approach to Recursion in Sentence Processing

    Open Access•Morten H Christiansen, Maryellen C Macdonald•Language Learning•2009

  • A Theory of Syntactic Recognition for Natural Language

    Michael B Kac, Mitchell P Marcus•Language•1982

Citations per year1
Citation span2026 - 2026 (1)
Highly citedNo

Tools

Open DOIOpen Access
Ethnos_APP • Open Source Project • MIT License • Frontend v2.0.0 • Privacy and Cookies • API Documentation: api.ethnos.app/docs • API Source Code: GitHub • DOI: 10.5281/zenodo.17049435 • Frontend Source Code: GitHub • DOI: 10.5281/zenodo.17050053 • cruz.rio.br • Expectantes Misericordiae