Deep language algorithms predict semantic comprehension from brain activity - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Scientific Reports Year : 2022

Deep language algorithms predict semantic comprehension from brain activity


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 (R=0.50,p<10−15) 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.
Fichier principal
Vignette du fichier
Narratives_Understanding.pdf (1.21 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03361426 , version 1 (01-10-2021)



Charlotte Caucheteux, Alexandre Gramfort, Jean-Rémi King. Deep language algorithms predict semantic comprehension from brain activity. Scientific Reports, 2022, ⟨10.1038/s41598-022-20460-9⟩. ⟨hal-03361426⟩
232 View
256 Download



Gmail Mastodon Facebook X LinkedIn More