Modeling Human Sentence Processing with Left-Corner Recurrent Neural Network Grammars

Ryo Yoshida, Hiroshi Noji, Yohei Oseki

Introduction

A central question in computational linguistics is whether artificial intelligence processes language in a manner analogous to the human brain. A prominent theory suggests that humans do not merely process words as flat sequences but instead construct hierarchical "trees" in real-time. While previous research has shown that hierarchical models like Recurrent Neural Network Grammars (RNNGs) better predict human brain activity and reading times than sequential models like LSTMs, most of this evidence comes from English—a "head-initial" and "right-branching" language.

This study addresses a critical gap by examining Japanese, a "head-final" and "left-branching" language. The researchers investigate whether the specific parsing strategy—how a model builds these hierarchical trees—affects its ability to mimic human cognitive patterns.

Parsing Strategies and Cognitive Plausibility

The study compares three distinct modeling approaches:

  1. LSTM (Long Short-Term Memory): A standard sequential model that ignores explicit hierarchy.
  2. Top-Down RNNG: A hierarchical model that predicts the "mother" node of a phrase before its "children" (words).
  3. Left-Corner RNNG: A hierarchical model that starts with a "child" node and then builds the "mother" node.
Illustration of parsing strategies: (a) top-down, which predicts structure before words, and (b) left-corner, which builds structure incrementally as words appear.

In left-branching languages like Japanese, a top-down parser must hypothesize numerous "ancestor" nodes before encountering the first word. Conversely, a left-corner parser is more incremental; it processes the word first and then infers the necessary structure, potentially offering a more cognitively plausible mechanism for human sentence processing.

Methodology

Models were trained on the NPCMJ (NINJAL Parsed Corpus of Modern Japanese), containing approximately 67,000 annotated sentences. To evaluate human-likeness, the researchers employed Surprisal Theory, which correlates the statistical improbability of a word (surprisal) with human reading effort. These surprisal values were compared against the BCCWJ-EyeTrack dataset, which contains eye-tracking data for humans reading Japanese text. The primary metric was "psychometric predictive power," measuring how well a model's surprisal values explained actual human reading times.

Key Results

The experimental results strongly favor hierarchical models over sequential ones, with the left-corner strategy emerging as the most effective for Japanese.

Psychometric predictive power versus perplexity. Left-corner RNNGs (green triangles) consistently outperform Top-down RNNGs (blue circles) and LSTMs (red squares) in predicting human reading patterns.
  • Superior Predictive Power: Left-corner RNNGs achieved the highest psychometric predictive power ($\Delta D \approx 306$), significantly outperforming Top-down RNNGs ($\Delta D \approx 299$) and LSTMs ($\Delta D \approx 260$).
  • Efficiency and Accuracy: Left-corner models remained effective even with smaller "beam sizes" (the number of active structural hypotheses), suggesting they are more computationally efficient. They also achieved higher parsing accuracy (F1 scores) than their top-down counterparts.
  • Statistical Significance: Nested model comparisons confirmed that the advantage of the left-corner strategy over the top-down strategy was statistically significant ($p < 0.001$).

Conclusion

The findings suggest that human language processing is fundamentally structural and that the brain likely employs an incremental, bottom-up parsing strategy for left-branching languages. While hierarchical models generally become more human-like as they improve at word prediction (lower perplexity), this relationship does not hold for sequential LSTMs, which can achieve high predictive accuracy without reflecting human-like processing effort.

Future work aims to extend these findings to Transformer-based architectures and include broader baseline comparisons to further isolate the cognitive benefits of explicit hierarchical modeling.

Summary updated

BibTeX
@inproceedings{yoshida2021modeling,
  author = {Ryo Yoshida and Hiroshi Noji and Yohei Oseki},
  title = {{Modeling Human Sentence Processing with Left-Corner Recurrent Neural Network Grammars}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.235},
}
Figure