Deep Recurrent Encoder (DRE) for MEG
An LSTM encoder with subject embeddings that forecasts MEG brain signals from past activity and word features.
Neuroscience signals · 23 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Neuroscience signals
- Parameters
- 7.5M
- Operations
- 23
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2021
- Cited by
- 13 (as of 26 November 2026)
- Authors
- Omar Chehab, Alexandre Defossez, Jean-Christophe Loiseau and others
- License
- CC-BY-NC-4.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15862
- Graph hash
- 2f279b3a0a5054f454af65720b0d5c18160128d3bbd5fd53641831311f3c44ea
- Skeleton hash
- 2c23b8108593aafe10e577d62141565d33fe6bd27382858e3e126dc65b04bdc8
- Architecture hash
- f3cccb4c2af64d4859d0a8884bc09e30f9d0c3548fd3836407f923c56c6f0851
- Diagram SHA-256
- 188e115e32df14c9da22d25ff99633771588a198017ab75b96119391e254356f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
The Deep Recurrent Encoder (DRE) predicts brain activity: given past magnetoencephalography (MEG) signals and the current experimental conditions, here features of the words a person is reading, it forecasts the MEG responses. It is an end-to-end deep learning architecture trained to predict the brain responses of multiple subjects at once.
At its core, two modified LSTM blocks are stacked on top of one another. A mask tells the network whether the real MEG signal is being provided, which is the case only before word onset. A learned subject embedding lets a single model use information across multiple subjects. Around the LSTM sits a convolutional autoencoder, with an encoder of convolutions and a decoder of transposed convolutions that are each two layers deep. The convolutions use a kernel size of 4.
The paper tests the model on 99 subjects who performed a one-hour reading task while being recorded with a 273-channel CTF MEG scanner. It reports a three-fold improvement over classic linear methods in predicting MEG responses to words.
Key idea. The Deep Recurrent Encoder is an end-to-end network of convolutions and LSTMs with subject embeddings that predicts the MEG responses of many subjects at once.
- Deep Recurrent Encoder
- DRE
- Deep Recurrent Encoding
- MEG encoding model
- MEG forecasting
- brain response prediction
- magnetoencephalography
- DeepMEG-Encoding
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chehab2022deeprecurrentencoderscalable,
title={Deep Recurrent Encoder: A scalable end-to-end network to model brain signals},
author={Omar Chehab and Alexandre Defossez and Jean-Christophe Loiseau and Alexandre Gramfort and Jean-Remi King},
year={2022},
eprint={2103.02339},
archivePrefix={arXiv},
primaryClass={q-bio.NC},
url={https://arxiv.org/abs/2103.02339},
}