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

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

Abstract

Reconstructing visual stimuli from functional MRI (fMRI) data remains a significant challenge due to low signal-to-noise ratios and the loss of spatial topology in traditional voxel-to-vector flattening methods. We present Cortex2Image, a deep learning framework that leverages surface-based mesh convolutions to preserve the geometric relationships of the human cortex. By decomposing the reconstruction task into semantic decoding and variational detail prediction, and utilizing a pre-trained Instance-Conditioned GAN (IC-GAN), Cortex2Image achieves state-of-the-art semantic accuracy and high-fidelity image generation. Our results on the Natural Scenes Dataset (NSD) demonstrate that incorporating cortical topology significantly improves the decoding of both high-level categories and fine-grained visual details.

Introduction

Visual decoding—the process of reconstructing what a person sees from their brain activity—is often hampered by the inherent noise of fMRI data. Traditional approaches typically select specific regions of interest (ROIs) and flatten 3D voxel data into 1D vectors for linear regression. This methodology ignores the fundamental 2D sheet-like structure of the human cortex, discarding crucial spatial information. Cortex2Image addresses these limitations by treating the cortex as a 2D surface mesh, allowing for the application of spherical convolutions that respect the brain's natural topology.

Methods

The Cortex2Image framework utilizes a standardized mesh of the brain's surface (approximately 32,000 vertices per hemisphere) and consists of three primary modules:

  1. Cortex2Semantic: Employs spherical convolutions to map fMRI activity to high-level semantic features derived from the SwAV self-supervised visual model.
  2. Cortex2Detail: A variational module that predicts a distribution of "detail" features (e.g., color, pose, lighting) to account for the uncertainty in fMRI signals.
  3. IC-GAN: A frozen image generator that combines semantic and detail vectors to produce the final reconstruction.
The Cortex2Image architecture, showing the parallel semantic and detail decoding paths feeding into an IC-GAN.

The model was trained and evaluated using the Natural Scenes Dataset (NSD), which includes high-quality 7T fMRI responses from participants viewing thousands of natural images from the Microsoft COCO database. The authors used data from four participants who completed the full 30,000 trials.

Results

Cortex2Image demonstrates superior performance in both qualitative and quantitative metrics compared to traditional ridge regression baselines. Qualitatively, the model successfully captures complex features such as animal stripes, object orientation, and scene backgrounds.

Comparison of original stimuli with reconstructions across four subjects, highlighting both successful and challenging cases.

Quantitatively, it achieves state-of-the-art results in semantic fidelity, measured by SwAV and EfficientNet feature distances. The inclusion of the variational detail module was particularly effective in improving the spatial arrangement and orientation of objects within reconstructed scenes. Furthermore, Cortex2Image is significantly more efficient than previous iterative optimization methods, predicting the necessary vectors directly.

Discussion and Limitations

While Cortex2Image represents a significant leap in visual decoding, several challenges remain. The models are currently subject-specific, requiring individual training due to unique functional brain mapping across individuals. Furthermore, the reconstruction of complex scenes with multiple overlapping objects or heavy occlusion remains difficult. Future improvements may involve incorporating eye-tracking data to account for attentional shifts, which significantly influence fMRI signals but are not currently modeled.

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