bioRxivNeurosciencePreprint
Correspondence between the layered structure of deep language models and temporal structure of natural language processing in the human brain
Ariel GoldsteiniD, Eric Ham, Samuel A. NastaseiD, Zaid ZadaiD, Avigail Grinstein-Dabush, Bobbi Aubrey, Mariano Schain, Harshvardhan GazulaiD, Amir FederiD, Werner DoyleiD, Sasha DevoreiD, Patricia C. DuganiD, Daniel J. FriedmaniD, Michael P. BrenneriD, Avinatan HassidimiD, Orrin DevinskyiD, Adeen FlinkeriD, Omer LevyiD, Uri HassoniD
Abstract
Deep language models (DLMs) provide a novel computational paradigm for how the brain processes natural language. Unlike symbolic, rule-based models described in psycholinguistics, DLMs encode words and their context as continuous numerical vectors. These "embeddings" are constructed by a sequence of computations organized in "layers" to ultimately capture surprisingly sophisticated representations of linguistic structures. How does this layered hierarchy map onto the human brain during natural language comprehension? In this study, we used electrocorticography (ECoG) to record neural activity in language areas along the superior temporal gyrus and inferior frontal gyrus while human participants listened to a 30-minute spoken narrative. We supplied this same narrative to a high-performing DLM (GPT2-XL) and extracted the contextual embeddings for each word in the story across all 48 layers of the model. We next trained a set of linear encoding models to predict the temporally-evolving neural activity from the embeddings at each layer. We found a striking correspondence between the layer-by-layer sequence of embeddings from GPT2-XL and the temporal sequence of neural activity in language areas. In addition, we found evidence for the gradual accumulation of recurrent information along the linguistic processing hierarchy. However, we also noticed additional neural processes in the brain, but not in DLMs, during the processing of surprising (unpredictable) words. These findings point to a connection between human language processing and DLMs where the layer-by-layer accumulation of contextual information in DLM embeddings matches the temporal dynamics of neural activity in high-order language areas.
- organism: human
- assay: electronic health records
- research focus: benchmarking
- approach: statistical model
- Citations
- 22
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Brain embeddings with shared geometry to artificial contextual embeddings, as a code for representing language in the human brain
Ariel Goldstein, Avigail Grinstein-Dabush, … Uri Hasson·bioRxiv·Mar 1, 2022
- Language processing in brains and deep neural networks: computational convergence and its limits
Charlotte Caucheteux, Jean-Rémi King·bioRxiv·Jul 3, 2020
- A unifying computational account of temporal context effects in language across the human cortex
Vy A. Vo, Shailee Jain, … Alexander G. Huth·bioRxiv·Aug 3, 2023
- Natural language processing models reveal neural dynamics of human conversation
Jing Cai, Alex E. Hadjinicolaou, … Sydney S. Cash·Nature CommunicationsPeer-reviewed·Apr 9, 2025
- Deep speech-to-text models capture the neural basis of spontaneous speech in everyday conversations
Ariel Goldstein, Haocheng Wang, … Uri Hasson·bioRxiv·Jun 26, 2023
- Thinking ahead: prediction in context as a keystone of language in humans and machines
Ariel Goldstein, Zaid Zada, … Uri Hasson·bioRxiv·Dec 2, 2020