Deep language algorithms predict semantic comprehension from brain activity

Sci Rep. 2022 Sep 29;12(1):16327. doi: 10.1038/s41598-022-20460-9.

Abstract

Deep language algorithms, like GPT-2, have demonstrated remarkable abilities to process text, and now constitute the backbone of automatic translation, summarization and dialogue. However, whether these models encode information that relates to human comprehension still remains controversial. Here, we show that the representations of GPT-2 not only map onto the brain responses to spoken stories, but they also predict the extent to which subjects understand the corresponding narratives. To this end, we analyze 101 subjects recorded with functional Magnetic Resonance Imaging while listening to 70 min of short stories. We then fit a linear mapping model to predict brain activity from GPT-2's activations. Finally, we show that this mapping reliably correlates ([Formula: see text]) with subjects' comprehension scores as assessed for each story. This effect peaks in the angular, medial temporal and supra-marginal gyri, and is best accounted for by the long-distance dependencies generated in the deep layers of GPT-2. Overall, this study shows how deep language models help clarify the brain computations underlying language comprehension.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Alanine Transaminase
  • Algorithms
  • Brain / diagnostic imaging
  • Comprehension
  • Humans
  • Language*
  • Semantics*

Substances

  • Alanine Transaminase