Skip to main content
QUICK REVIEW

[Paper Review] Scaling laws for decoding images from brain activity

Hubert Banville, Yohann Benchetrit|ArXiv.org|Jan 25, 2025
Neural Networks and ApplicationsComputer Science3 citations
TL;DR

The paper systematically compares single-trial image decoding from four non-invasive neuroimaging modalities (EEG, MEG, 3T fMRI, 7T fMRI) across 8 public datasets to derive scaling laws for data quantity and subject count.

ABSTRACT

Generative AI has recently propelled the decoding of images from brain activity. How do these approaches scale with the amount and type of neural recordings? Here, we systematically compare image decoding from four types of non-invasive devices: electroencephalography (EEG), magnetoencephalography (MEG), high-field functional Magnetic Resonance Imaging (3T fMRI) and ultra-high field (7T) fMRI. For this, we evaluate decoding models on the largest benchmark to date, encompassing 8 public datasets, 84 volunteers, 498 hours of brain recording and 2.3 million brain responses to natural images. Unlike previous work, we focus on single-trial decoding performance to simulate real-time settings. This systematic comparison reveals three main findings. First, the most precise neuroimaging devices tend to yield the best decoding performances, when the size of the training sets are similar. However, the gain enabled by deep learning - in comparison to linear models - is obtained with the noisiest devices. Second, we do not observe any plateau of decoding performance as the amount of training data increases. Rather, decoding performance scales log-linearly with the amount of brain recording. Third, this scaling law primarily depends on the amount of data per subject. However, little decoding gain is observed by increasing the number of subjects. Overall, these findings delineate the path most suitable to scale the decoding of images from non-invasive brain recordings.

Motivation & Objective

  • Assess how decoding image embeddings from brain activity scales with data quantity and device type.
  • Compare single-trial decoding performance across EEG, MEG, 3T fMRI, and 7T fMRI using a unified benchmark.
  • Determine the impact of training data size, number of subjects, and test-time averaging on decoding performance.
  • Evaluate decoding performance using latent image embeddings and assess reconstruction and retrieval capabilities.

Proposed method

  • Use two brain-to-image architectures (M/EEG and fMRI deep learning modules) and a ridge-linear baseline to predict image embeddings from brain activity.
  • Train with a combined CLIP-like retrieval loss and reconstruction loss to map brain signals to image embeddings.
  • Evaluate on eight public datasets with single-trial performance measured by Pearson correlation across embeddings.
  • Analyze scaling laws by varying the number of training trials and the number of subjects, plus recording time and test-time averaging.
  • Implement image reconstruction by feeding decoded embeddings into a pretrained diffusion-based generator to produce images.

Experimental results

Research questions

  • RQ1How does single-trial image decoding performance scale with the amount of brain data across EEG, MEG, 3T fMRI, and 7T fMRI?
  • RQ2Which neuroimaging modality yields the best decoding performance given similar training data, and how does deep learning amplify or attenuate this?
  • RQ3What is the effect of increasing the number of subjects on decoding performance, and is there a point of diminishing returns?
  • RQ4How does test-time averaging influence decoding performance across devices?
  • RQ5Can decoded image embeddings support image retrieval and reconstruction, and how do these capabilities vary by device?

Key findings

  • Decoding performance peaks earlier for EEG and MEG and later for fMRI due to hemodynamic response timing.
  • Deep learning decoders provide substantial gains over linear baselines, especially for noisier devices like EEG and MEG.
  • Decoding performance scales log-linearly with the amount of brain recording data, with 7T fMRI showing the strongest scaling and overall best performance.
  • Most gains from increasing data come from the per-subject data, with limited improvements from adding more subjects.
  • Test-time averaging yields consistent performance gains but exhibits diminishing returns as repetitions increase.
  • Image retrieval and reconstruction are feasible across devices, with reconstructions improving when averaging embeddings across repetitions and subjects, and 7T fMRI delivering the best reconstructions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.