Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modeling for Vision Decoding

Zijiao Chen, Jiaxin Qing, Tiange Xiang, Wan Lin Yue, Juan Helen Zhou

Abstract

Decoding visual stimuli from functional Magnetic Resonance Imaging (fMRI) is a fundamental goal in cognitive neuroscience. This paper introduces MinD-Vis, a novel framework designed to reconstruct high-quality, semantically accurate images from brain activity. By integrating sparse-coded masked brain modeling with a double-conditioned latent diffusion model, MinD-Vis overcomes the challenges of data scarcity and signal noise. Experimental results demonstrate a 66% improvement in semantic decoding and a 41% increase in image quality compared to existing state-of-the-art methods.

Introduction

The ability to decode visual information from fMRI scans—essentially "seeing" what a subject sees—remains a complex task. The primary obstacles include the scarcity of paired fMRI-image datasets, the inherent noise and individual variability of fMRI signals, and the high-dimensional gap between 1D voxel data and 2D images. Previous methods often produced blurry or semantically incoherent reconstructions. MinD-Vis addresses these issues by learning a robust latent representation of brain activity through large-scale self-supervision.

Methodology

The MinD-Vis framework operates in two distinct stages:

Sparse-Coded Masked Brain Modeling (SC-MBM)

In the first stage, the model learns the underlying structure of fMRI signals using a self-supervised approach. Inspired by the sparse coding principles of the primary visual cortex, the authors employed a Masked Autoencoder (MAE) architecture. By masking 75% of the fMRI signal and training the model to reconstruct the missing components in a high-dimensional (1024-D) embedding space, the encoder learns a generalized "brain language" from large amounts of unpaired data.

Double-Conditioned Latent Diffusion Model (DC-LDM)

The pre-trained fMRI encoder is then integrated with a Latent Diffusion Model (LDM). To ensure the generated images are both visually realistic and faithful to the neural signal, a "double conditioning" mechanism is used. The fMRI embeddings guide the diffusion process through cross-attention layers (spatial/semantic layout) and as a time-step condition (denoising guidance).

Experimental Results

The model was evaluated on the Generic Object Decoding (GOD) and BOLD5000 datasets, with pre-training conducted on the Human Connectome Project (HCP) dataset.

MinD-Vis demonstrates high semantic accuracy across diverse categories, including animals and human activities.

MinD-Vis achieved a 66% improvement in 100-way top-1 semantic classification over previous benchmarks. Furthermore, the image quality, measured by Fréchet Inception Distance (FID), improved by 41%. The model successfully reconstructs complex scenes with significant detail and semantic consistency.

Reconstructed images from fMRI data show remarkable detail in complex scenes such as vehicles, architecture, and interiors.

Discussion and Conclusion

MinD-Vis represents a significant leap in neural decoding. By mimicking biological sparse coding and leveraging the generative power of diffusion models, it produces reconstructions that are both semantically meaningful and visually plausible. While challenges remain in achieving exact pixel-level alignment and cross-subject generalization, this work paves the way for advanced brain-computer interfaces and a deeper understanding of human visual perception.

Summary updated

BibTeX
@inproceedings{chen2022seeing,
  author = {Zijiao Chen and Jiaxin Qing and Tiange Xiang and Wan Lin Yue and Juan Helen Zhou},
  title = {{Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modeling for Vision Decoding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure