Deep Recurrent Encoder: A scalable end-to-end network to model brain signals

Omar Chehab, Alexandre Défossez, Jean-Christophe Loiseau, Alexandre Gramfort, Jean-Remi King

Introduction

Magnetoencephalography (MEG) provides a high-resolution window into neuronal activity, yet modeling the brain's response to complex stimuli like language remains a significant challenge. Traditional approaches, such as Temporal Receptive Fields (TRF), rely on linear assumptions that fail to capture the high-dimensional, non-linear, and state-dependent nature of brain signals. To address these limitations, researchers have developed the Deep Recurrent Encoder (DRE), an end-to-end deep learning architecture designed to model brain responses with unprecedented accuracy.

The Deep Recurrent Encoder Architecture

The DRE departs from linear modeling by integrating convolutional layers with recurrent neural networks to capture both spatial and temporal dependencies in MEG data.

The Deep Recurrent Encoder (DRE) architecture, featuring convolutional layers for dimensionality reduction and stacked LSTMs to maintain temporal state.

The model consists of several key components:

  • Convolutional Autoencoder: 1D convolutional layers compress high-dimensional MEG sensor data into a latent space, while transpose convolutions decode these representations to predict sensor readings.
  • Stacked LSTMs: Two layers of Long Short-Term Memory (LSTM) units allow the network to maintain an internal state. This "memory" is crucial for capturing how the brain's current response is influenced by previous activity and the preceding stimulus context.
  • Subject-Specific Embeddings: To handle inter-subject variability, the DRE learns a unique embedding vector for each participant. This allows a single model to be trained across a large cohort (99 subjects in this study) while accounting for individual anatomical and physiological differences.
  • Pre-stimulus Initialization: The model incorporates the 333ms of brain activity immediately preceding a stimulus. This enables the DRE to account for the brain's baseline state, such as alpha-band power, which significantly modulates subsequent responses.

Experimental Evaluation

The DRE was evaluated using the Mother Of Unification Studies (MOUS) dataset, comprising 273-channel MEG recordings from 99 subjects performing a reading task. The model was tasked with predicting brain responses to approximately 2,700 words based on linguistic features such as word length, frequency, and sentence position.

Key Results

The DRE demonstrated a substantial performance improvement over traditional methods:

  • Predictive Accuracy: The model achieved a mean Pearson correlation ($R$) of approximately 0.20, a three-fold increase over the 0.06 achieved by the standard linear TRF model.
  • Ablation Studies: Performance dropped significantly when subject embeddings or pre-stimulus initialization were removed, confirming that both individual identity and immediate brain state are critical for accurate prediction.
  • Biological Plausibility: Using permutation feature importance, the researchers found that the DRE learns patterns consistent with known neuroscience. For instance, word length primarily affects early responses in the visual cortex, while word frequency influences later activity in the temporal cortex.

Discussion and Future Work

The success of the DRE highlights the power of recurrence and large-scale training in cognitive neuroscience. By leveraging "big data" through subject embeddings, the model learns a shared representation of human brain activity while respecting individual variance.

However, limitations remain. The current model focuses on "evoked" responses (phase-locked signals) and does not yet capture "induced" rhythmic changes. Future research aims to integrate the DRE with Large Language Models (LLMs) to explore more complex semantic and syntactic processing, potentially bridging the gap between deep learning architectures and human cognitive processes.

Summary updated

BibTeX
@inproceedings{chehab2022deep,
  author = {Omar Chehab and Alexandre Défossez and Jean-Christophe Loiseau and Alexandre Gramfort and Jean-Remi King},
  title = {{Deep Recurrent Encoder: A scalable end-to-end network to model brain signals}},
  booktitle = {Neurons},
  year = {2022},
  doi = {10.51628/001c.38668},
}
Figure