Decoding natural image stimuli from fMRI data with a surface-based convolutional network

Zijin Gu, Keith Jamison, Amy Kuceyeski, Mert R. Sabuncu

Abstract

Due to the low signal-to-noise ratio and limited resolution of functional MRI (fMRI) data, and the high complexity of natural images, reconstructing a visual stimulus from human brain measurements is a challenging task. We propose Cortex2Image, a novel framework to decode visual stimuli with high semantic fidelity and rich fine-grained detail. We train a surface-based convolutional network (Cortex2Semantic) that maps brain responses to semantic image features. We then combine this with a high-quality image generator (Instance-Conditioned GAN) and a variational mapping for fine-grained features (Cortex2Detail). Our method achieves state-of-the-art semantic fidelity while yielding high similarity with ground-truth stimuli.

Introduction

Reconstructing visual stimuli from fMRI data—often called "neural decoding"—is notoriously difficult. fMRI signals are noisy and represent a complex mapping of how the brain processes information. Historically, researchers have relied on selecting specific "Regions of Interest" (ROIs) and flattening that data into 1D vectors. This approach suffers from subjectivity in ROI definition and, more importantly, a loss of the brain's natural topology. By ignoring the spatial relationships between neurons on the folded cortical surface, traditional models miss critical information.

Methodology

The Cortex2Image framework leverages the geometric structure of the human cortex through surface-based convolutional networks. This approach treats the brain as a 3D mesh rather than a simple vector, allowing the model to exploit spatial neighborhood information that mimics the brain's own retinotopic organization.

The Cortex2Image framework (a) and the detailed architecture of the Cortex2Semantic model (b).

The system consists of three main components:

  1. Cortex2Semantic: A surface-based CNN that maps brain activity to high-level semantic features. It uses spherical kernels on a standardized icosahedral mesh to predict features extracted by the SwAV self-supervised vision model.
  2. Cortex2Detail: A model that focuses on fine-grained details like color and texture. It uses a variational approach to account for fMRI noise, predicting a distribution of possible details rather than a single point.
  3. IC-GAN (Instance-Conditioned GAN): A pre-trained generator that takes the decoded semantic and detailed features to synthesize the final reconstructed image.

Experimental Results

The study utilized the Natural Scenes Dataset (NSD), a massive 7T fMRI dataset where participants viewed up to 10,000 natural images. Cortex2Image was evaluated on four participants who completed the full protocol.

Qualitative results showing well-decoded and poorly-decoded examples across four subjects compared to the original stimuli and upper bound.

Key Findings

  • State-of-the-Art Performance: Cortex2Image outperformed linear ridge regression baselines in both semantic fidelity (measured via SwAV latent distances) and fine-grained similarity (pixel-wise correlation).
  • Qualitative Accuracy: Reconstructions are strikingly similar to original stimuli, often capturing the correct object category, orientation, and background context.
  • Efficiency: The end-to-end training approach is significantly faster than previous iterative optimization methods, which required nearly a minute per image during reconstruction.

Limitations and Future Work

While highly effective, the model occasionally struggles with images containing multiple distinct objects or heavy occlusion, sometimes reconstructing only the most dominant element. Additionally, because cortical geometry is unique to each individual, models currently require subject-specific training. Future research will explore cross-subject generalization and the integration of eye-tracking data to better understand attentional focus during decoding.

Summary updated

BibTeX
@inproceedings{gu2023decoding,
  author = {Zijin Gu and Keith Jamison and Amy Kuceyeski and Mert R. Sabuncu},
  title = {{Decoding natural image stimuli from fMRI data with a surface-based convolutional network}},
  booktitle = {MIDL},
  year = {2023},
  url = {https://openreview.net/forum?id=V5vvti2Y9PA},
}
Figure