Scaling laws for decoding images from brain activity
Hubert Banville, Yohann Benchetrit, Stéphane d'Ascoli, Jérémy Rapin, Jean-Rémi King
TL;DR
This work investigates how decoding images from brain activity scales with neuroimaging modality and data amount using a unified, single-trial benchmark across eight public datasets. It combines a fixed image embedding (DINOv2) with deep-learning brain modules (M/EEG and fMRI) and diffusion-based reconstruction to compare linear and nonlinear decoders across EEG, MEG, 3T, and 7T fMRI. The authors find that higher-precision devices yield better decoding when data are matched, but deep learning provides the largest gains for noisier recordings; decoding scales log-linearly with data without a plateau and mainly benefits within-subject data, with limited gains from more subjects. They also emphasize that time, cost, and ethical considerations are crucial when planning scalable brain-to-image decoding experiments, guiding optimal data-collection strategies. Overall, the paper lays out practical scaling laws and a rigorous benchmarking framework to advance non-invasive brain decoding toward real-time, resource-aware applications.
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.
