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.
Introduction
Recent advancements in generative AI have enabled researchers to reconstruct visual stimuli directly from neural activity. However, the field has lacked a standardized comparison across different neuroimaging modalities. Studies often vary significantly in subject count and data resolution, making it difficult to determine the optimal device or the volume of data required for high-fidelity reconstruction. Researchers from Meta AI have addressed this gap by establishing the first systematic scaling laws for "brain-to-image" decoding, analyzing 2.3 million brain responses across EEG, MEG, and fMRI.
Methodology and Data
To ensure a rigorous comparison, a unified decoding pipeline was implemented. Rather than predicting raw pixels, models were trained to predict latent embeddings of images using DINOv2-giant. These predicted embeddings were then fed into a diffusion-based image generator to reconstruct the visual stimulus.
The study utilized a massive benchmark consisting of 8 public datasets, totaling 84 volunteers and 498 hours of recordings across four modalities: EEG, MEG, 3T fMRI, and 7T fMRI. A key methodological focus was single-trial decoding, which avoids averaging signals over multiple viewings to better simulate real-world, real-time applications.
Key Findings
Log-Linear Scaling
A primary discovery is that decoding performance scales log-linearly with the amount of training data. Notably, no performance plateau was observed within the limits of the current datasets, suggesting that further increases in data volume will continue to yield improvements in decoding accuracy.
Data Depth vs. Breadth
The scaling laws are primarily driven by the amount of data collected per subject. The researchers found that adding more subjects to a model provided negligible gains for decoding a specific individual's brain activity. This underscores the significant inter-individual variability in neural visual representations.
Modality Performance and Deep Learning
While 7T fMRI remains the gold standard for raw accuracy, achieving a Pearson correlation of approximately 0.37, the relative benefit of deep learning architectures (CNNs with spatial and temporal attention) was most pronounced for noisier sensors. Deep learning improved EEG decoding by 1.9–2.4x compared to linear models, whereas the improvement for 7T fMRI was only ~1.2x.
Conclusion and Future Directions
This work provides a roadmap for scaling brain-to-image decoding. While 7T fMRI offers the highest precision, MEG shows a steeper scaling slope relative to recording time (0.064 vs 0.048 for 3T fMRI), potentially offering a more efficient path for large-scale data acquisition. Future research will likely focus on scaling model parameters alongside data volume and implementing these decoders in true real-time, closed-loop systems. As these technologies advance, the authors highlight the growing importance of establishing ethical frameworks to protect mental privacy.
Summary updated