A Targeted Assessment of Incremental Processing in Neural LanguageModels and Humans

Ethan Gotlieb Wilcox, Pranali Vani, Roger P. Levy
6/6/2021
cs.CL

Official code: wilcoxeg/targeted-assessment-imaze (7 stars, HTML, last commit 2024-01-10).

Abstract

We present a targeted, scaled-up comparison of incremental processing in humans and neural language models by collecting by-word reaction time data for sixteen different syntactic test suites across a range of structural phenomena. Human reaction time data comes from a novel online experimental paradigm called the Interpolated Maze task.

Show full abstract

We compare human reaction times to by-word probabilities for four contemporary language models, with different architectures and trained on a range of data set sizes. We find that across many phenomena, both humans and language models show increased processing difficulty in ungrammatical sentence regions with human and model `accuracy' scores (a la Marvin and Linzen(2018)) about equal. However, although language model outputs match humans in direction, we show that models systematically under-predict the difference in magnitude of incremental processing difficulty between grammatical and ungrammatical sentences. Specifically, when models encounter syntactic violations they fail to accurately predict the longer reaction times observed in the human data. These results call into question whether contemporary language models are approaching human-like performance for sensitivity to syntactic violations.

View on arXivView PDF

Code Implementations(1)

Public repository for data and analysis of "A Targeted Assessment of Incremental Processing in Neural LanguageModels and Humans"

71HTML, Jupyter NotebookMay 26, 20212 years ago

Similar Papers

Cite this paper

@article{wilcox2021targeted,
  title  = {A Targeted Assessment of Incremental Processing in Neural LanguageModels and Humans},
  author = {Ethan Gotlieb Wilcox and Pranali Vani and Roger P. Levy},
  year   = {2021},
  eprint = {2106.03232},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03232}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.03232.svg)](https://codeofpaper.com/paper/2106.03232)

Discussion