Brain decoding: toward real-time reconstruction of visual perception

Yohann Benchetrit, Hubert J. Banville, Jean-Rémi King
2/12/2026

No official code found. Best implementation: SeanNobel/image-decoding (4 stars, last commit 2024-02-15). 1 more below.

Abstract

In the past five years, the use of generative and foundational AI systems has greatly improved the decoding of brain activity. Visual perception, in particular, can now be decoded from functional Magnetic Resonance Imaging (fMRI) with remarkable fidelity. This neuroimaging technique, however, suffers from a limited temporal resolution ($\approx$0.5 Hz) and thus fundamentally constrains its real-time usage. Here, we propose an alternative approach based on magnetoencephalography (MEG), a neuroimaging device capable of measuring brain activity with high temporal resolution ($\approx$5,000 Hz). For this, we develop an MEG decoding model trained with both contrastive and regression objectives and consisting of three modules: i) pretrained embeddings obtained from the image, ii) an MEG module trained end-to-end and iii) a pretrained image generator. Our results are threefold: Firstly, our MEG decoder shows a 7X improvement of image-retrieval over classic linear decoders. Second, late brain responses to images are best decoded with DINOv2, a recent foundational image model. Third, image retrievals and generations both suggest that high-level visual features can be decoded from MEG signals, although the same approach applied to 7T fMRI also recovers better low-level features. Overall, these results, while preliminary, provide an important step towards the decoding -- in real-time -- of the visual processes continuously unfolding within the human brain.

View on arXivView PDF

Code Implementations(2)

Implementing "Brain decoding: toward real-time reconstruction of visual perception" Benchetrit et al. (2024) pipeline: a deep ConvNet decoding MEG signals into visual embeddings (CLIP, AutoKL) for real-time image retrieval and latent diffusion generation. Features 7X improvement over linear baselines on the THINGS-MEG dataset

20Shell, MATLABFeb 26, 20267 months ago

Unofficial minimal re-implementation of the paper "Brain Decoding: Toward Real-Time Reconstruction of Visual Perception" from FAIR, Meta

44PythonFeb 13, 20242 years ago

Similar Papers

Cite this paper

@article{benchetrit2026brain,
  title  = {Brain decoding: toward real-time reconstruction of visual perception},
  author = {Yohann Benchetrit and Hubert J. Banville and Jean-Rémi King},
  year   = {2026},
  eprint = {2310.19812},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.19812},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.19812.svg)](https://codeofpaper.com/paper/2310.19812)

Discussion