MEG Encoding using Word Context Semantics in Listening Stories

Subba Reddy Oota, Nathan Trouvain, Frédéric Alexandre, Xavier Hinaut

Abstract

This research investigates the temporal dynamics of language processing in the human brain during naturalistic speech perception. By employing a brain encoding framework that maps BERT embeddings to magnetoencephalography (MEG) data, the study reveals that the brain integrates a "sliding window" of approximately five previous words to construct meaning. Significant neural alignment with these contextual representations occurs between 250ms and 750ms after word onset, primarily within classic language hubs in the temporal and frontal lobes.

Introduction

While neuroimaging techniques like fMRI have successfully localized language processing regions, their low temporal resolution limits our understanding of when and how the brain integrates context during rapid, natural speech. Magnetoencephalography (MEG) provides the millisecond-scale precision necessary to study these dynamics. This paper addresses the gap between static linguistic features and complex, contextualized word meanings by investigating how modern transformer-based embeddings (BERT) relate to the brain's real-time response while listening to stories.

Methods and Datasets

The researchers utilized a Brain Encoding framework to predict neural activity from linguistic stimuli. The study used the MEG-MASC dataset, comprising recordings from 8 participants listening to four naturalistic stories (e.g., "The Black Willow") from the Open American National Corpus. Brain data was recorded via 208 MEG sensors at 1000Hz.

Feature Extraction and Modeling

Three categories of word representations were compared:

  1. Basic Syntactic: Word length, frequency, Part-of-Speech (POS), and dependency tags.
  2. Static Semantic: GloVe embeddings (context-independent).
  3. Contextual Semantic: BERT embeddings with varying context lengths and directions (past vs. future).
Schematic of the brain encoding framework using BERT representations, residuals, and lags.

As shown in the figure above, the team used Ridge Regression to map these features to MEG sensor data. To isolate the contribution of context, they performed ablation studies using "Residuals" (subtracting information from the current word) and "Lags" (using representations of previous words to predict current brain activity).

Key Results and Insights

The Superiority of Contextual Embeddings

The primary finding was that context is king. BERT was the only representation that significantly predicted MEG activity. In contrast, basic syntax and static GloVe embeddings failed to correlate significantly with the brain's response, suggesting that the human language engine is fundamentally contextual rather than word-isolated.

Mean predictive power (R²) over time for BERT vs. static and syntactic features.

Temporal and Contextual Dynamics

  • The Five-Word Window: Predictive power improved as BERT's context length increased, but plateaued at approximately five words. This suggests a specific "integration window" for immediate linguistic context.
  • Past vs. Future: The brain is significantly better at encoding based on past context than future context. The study identified a "word encoding center of mass" that trails slightly behind the current word, as the brain waits for context to fully resolve a word's meaning.
  • Temporal Sweet Spot: The highest correlations between BERT and MEG signals occurred between 250ms and 750ms post-stimulus. These effects were localized to the bilateral temporal and frontal lobes, consistent with established neuroscientific models of comprehension.

Discussion and Future Work

While these results provide a high-resolution look at contextual integration, the study's small sample size (8 subjects) suggests a need for broader validation. Future research may involve fine-tuning BERT specifically on brain data to improve correlations or moving from encoding (stimulus to brain) to decoding (reconstructing stories from brain activity). Additionally, integrating low-level acoustic features could further refine the accuracy of these neural models.

Summary updated

BibTeX
@inproceedings{oota2023meg,
  author = {Subba Reddy Oota and Nathan Trouvain and Frédéric Alexandre and Xavier Hinaut},
  title = {{MEG Encoding using Word Context Semantics in Listening Stories}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-282},
}
Figure