Human Sentence Processing: Recurrence or Attention?

Danny Merkx, Stefan L. Frank
5/19/2020
cs.CL
transformer-attention

Official code: DannyMerkx/next_word_prediction (28 stars, Python, last commit 2021-06-30).

Abstract

Recurrent neural networks (RNNs) have long been an architecture of interest for computational models of human sentence processing. The recently introduced Transformer architecture outperforms RNNs on many natural language processing tasks but little is known about its ability to model human language processing.

Show full abstract

We compare Transformer- and RNN-based language models' ability to account for measures of human reading effort. Our analysis shows Transformers to outperform RNNs in explaining self-paced reading times and neural activity during reading English sentences, challenging the widely held idea that human sentence processing involves recurrent and immediate processing and provides evidence for cue-based retrieval.

View on arXivView PDF

Code Implementations(1)

Pytorch implementation of next word prediction. Includes my own implementation of Google AI's Transformer architecture

2812Python, JuliaJan 15, 20195 years ago

Similar Papers

Cite this paper

@article{merkx2020human,
  title  = {Human Sentence Processing: Recurrence or Attention?},
  author = {Danny Merkx and Stefan L. Frank},
  year   = {2020},
  eprint = {2005.09471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.09471}
}

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/2005.09471.svg)](https://codeofpaper.com/paper/2005.09471)

Discussion