Skip to main content
QUICK REVIEW

[Paper Review] Long-range and hierarchical language predictions in brains and algorithms

Charlotte Caucheteux, Alexandre Gramfort|arXiv (Cornell University)|Nov 28, 2021
Neurobiology of Language and BilingualismNeuroscience11 citations
TL;DR

This study reveals that the human brain outperforms state-of-the-art deep language models in predicting distant, hierarchical linguistic structures during naturalistic speech comprehension. Using fMRI data from 304 subjects, the authors demonstrate that brain activity encodes long-range syntactic and semantic forecasts up to 8 words ahead, while GPT-2 models fail to capture such long-range dependencies despite linearly mapping onto brain activations.

ABSTRACT

Deep learning has recently made remarkable progress in natural language processing. Yet, the resulting algorithms remain far from competing with the language abilities of the human brain. Predictive coding theory offers a potential explanation to this discrepancy: while deep language algorithms are optimized to predict adjacent words, the human brain would be tuned to make long-range and hierarchical predictions. To test this hypothesis, we analyze the fMRI brain signals of 304 subjects each listening to 70min of short stories. After confirming that the activations of deep language algorithms linearly map onto those of the brain, we show that enhancing these models with long-range forecast representations improves their brain-mapping. The results further reveal a hierarchy of predictions in the brain, whereby the fronto-parietal cortices forecast more abstract and more distant representations than the temporal cortices. Overall, this study strengthens predictive coding theory and suggests a critical role of long-range and hierarchical predictions in natural language processing.

Motivation & Objective

  • To investigate whether the human brain makes long-range and hierarchical language predictions beyond immediate context, unlike current deep learning models.
  • To test the hypothesis that predictive coding in the brain supports distant, structured forecasts, while language models are limited to short-range predictions.
  • To quantify and compare the depth and distance of linguistic forecasts in the human brain versus deep neural networks using fMRI and model activation analysis.
  • To decompose brain predictions into syntactic and semantic components and assess their respective contributions to long-range forecasting.
  • To evaluate whether enhancing language models with long-range forecast representations improves alignment with human brain activity.

Proposed method

  • Collected fMRI data from 304 subjects listening to ~70-minute short stories to capture neural responses during natural language processing.
  • Used linear mapping between GPT-2 activations and fMRI signals to compare model and brain representations across subjects and voxels.
  • Defined forecast score as the increase in brain prediction accuracy when concatenating future word sequences (of varying distances d) to current context, using a linear regression model.
  • Computed forecast distance as the distance d that maximizes the forecast score across subjects and voxels, focusing on regions with significant non-flat forecast curves.
  • Introduced forecast depth by identifying the network layer (k) in GPT-2 that maximizes forecast performance, revealing hierarchical processing depth.
  • Decomposed GPT-2 activations into syntactic and semantic components using a perturbation method: generating 10 random semantic futures with same syntax, then averaging to isolate syntactic content.

Experimental results

Research questions

  • RQ1Does the human brain predict linguistic content beyond the immediate next word, and if so, how far ahead?
  • RQ2How do the long-range predictive capacities of the brain compare to those of state-of-the-art deep language models like GPT-2?
  • RQ3Are long-range predictions in the brain driven more by syntactic or semantic structure, and how do they differ across cortical regions?
  • RQ4Can the depth of representation in neural networks predict the depth of brain-based forecasts, and is this alignment preserved across hierarchical processing levels?
  • RQ5Can enhancing language models with long-range forecast representations improve their alignment with human brain activity?

Key findings

  • The human brain predicts linguistic content up to 8 words ahead with significant accuracy, as evidenced by a peak forecast score at d=8, while GPT-2 models fail to achieve comparable long-range forecasting performance.
  • Brain regions such as the anterior and mid-superior temporal sulcus (aSTS/mSTS) and the inferior frontal gyrus (IFG) show significant long-range forecast scores, particularly for syntactic and semantic content.
  • The forecast depth in the brain corresponds to higher cortical layers (around layer 8 of GPT-2), indicating that long-range predictions are processed in deeper, more abstract representations.
  • Syntactic forecasts in the brain are stronger than semantic forecasts, as shown by higher forecast scores for syntactic components compared to semantic components at distance d=8.
  • The forecast score difference between d=8 and d=0 is statistically significant (p < 0.01) across subjects in key language regions, confirming non-flat, meaningful long-range predictions.
  • Despite a strong linear mapping between GPT-2 activations and fMRI signals, the model’s inability to predict distant content results in a fundamental mismatch with brain-level long-range forecasting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.