Neural language models as psycholinguistic subjects: Representations of syntactic state
Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/N19-1004.pdf
Summary
Futrell and colleagues test whether neural language models track incremental syntactic state. This is the information a stack-based parser would hold, such as knowing that an open subordinate clause still needs a main clause. They borrow methods from psycholinguistics and treat per-word surprisal as a stand-in for human reading time. Surprisal is measured on hand-built sentence sets that target subordinate clauses and two garden-path ambiguities: NP/Z and main verb/reduced relative (MV/RR). Condition contrasts are analysed with linear mixed-effects regression.
Four English models are compared. JRNN (One Billion Word Benchmark) and GRNN (Wikipedia) are large LSTMs. An RNNG and a matched TinyLSTM are both trained on about 1 million Penn Treebank tokens. All models show basic evidence of representing syntactic state. Only the large-data models, and in some tests the RNNG, use subtler lexical cues such as verb transitivity or participle morphology. Unlike humans, the models' garden-path effects shrink rather than grow as the ambiguous region lengthens. The work offers a reusable targeted-evaluation framework and shows that both training-data scale and explicit syntactic structure shape what models learn.
Key points
-
Models and training data:
- JRNN: LSTM, about 800M tokens.
- GRNN: LSTM, about 90M tokens.
- RNNG: about 1M Penn Treebank tokens; surprisal estimated with word-synchronous beam search (action beam 100, word beam 10).
- TinyLSTM: about 1M Penn Treebank tokens.
-
Subordinate clauses: the authors define two measures.
- Matrix licensing effect: lower surprisal for a main clause after a subordinator.
- No-matrix penalty: higher surprisal when the main clause is missing.
- Only GRNN and the RNNG showed the penalty.
-
MV/RR garden path (29 items): reducing the relative clause adds the following surprisal at the disambiguating verb:
Model Added surprisal TinyLSTM 0.3 bits JRNN 1.9 bits RNNG 2.8 bits GRNN 3.6 bits An unambiguous participle (e.g., "given") lowers but does not remove this effect, so models treat morphology as only a noisy cue.
-
Fine-grained cues: TinyLSTM failed every fine-grained test. The RNNG missed the verb-transitivity effect in NP/Z sentences.
-
Released materials: items, results and analysis scripts are at github.com/langprocgroup/nn_syntactic_state.
Cited by
- On the Opportunities and Risks of Foundation Models
- Assessing the Agreement Competence of Large Language Models
- Expectations over Unspoken Alternatives Predict Pragmatic Inferences
- A fine-grained comparison of pragmatic language understanding in humans and language models
- Can language models capture syntactic associations without surface cues? A case study of reflexive anaphor licensing in English control constructions
- Harnessing the linguistic signal to predict scalar inferences
- SemEval-2022 Task 3: PreTENS — Evaluating Neural Networks on Presuppositional Semantic Knowledge
Cite
@inproceedings{futrell2019neural,
title = {{Neural language models as psycholinguistic subjects: Representations of syntactic state}},
author = {Futrell, Richard and Wilcox, Ethan and Morita, Takashi and Qian, Peng and Ballesteros, Miguel and Levy, Roger},
booktitle = {Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)},
year = {2019},
doi = {10.18653/v1/n19-1004},
eprint = {1903.03260},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/n19-1004}
}References
- R. Haraald Baayen, D.J. Davidson, and D.M. Bates. 2008. Mixed-effects modeling with crossed random effects for subjects and items. Journal of Memory and Language, 59(4):390–412. find
- Dale J. Barr, Roger P. Levy, Christoph Scheepers, and Harry J Tily. 2013. Random effects structure for confirmatory hypothesis testing: Keep it maximal. Journal of Memory and Language, 68(3):255–278. find
- Jean-Philippe Bernardy and Shalom Lappin. 2017. Using deep neural networks to learn syntactic agreement. Linguistic Issues in Language Technology, 15:1–15. find
- Thomas G. Bever. 1970. The cognitive basis for linguistic structures. In J. R. Hayes, editor, Cognition and the Development of Language. Wiley, New York. find