Contrast, Attend and Diffuse to Decode High-Resolution Images from Brain Activities

Jingyuan Sun, Mingxiao Li, Zijiao Chen, Yunhao Zhang, Shaonan Wang +1 more
2/12/2026

No official code found. Best implementation: soinx0629/vis_dec_neurips (44 stars, last commit 2024-03-11).

Abstract

Decoding visual stimuli from neural responses recorded by functional Magnetic Resonance Imaging (fMRI) presents an intriguing intersection between cognitive neuroscience and machine learning, promising advancements in understanding human visual perception and building non-invasive brain-machine interfaces. However, the task is challenging due to the noisy nature of fMRI signals and the intricate pattern of brain visual representations. To mitigate these challenges, we introduce a two-phase fMRI representation learning framework. The first phase pre-trains an fMRI feature learner with a proposed Double-contrastive Mask Auto-encoder to learn denoised representations. The second phase tunes the feature learner to attend to neural activation patterns most informative for visual reconstruction with guidance from an image auto-encoder. The optimized fMRI feature learner then conditions a latent diffusion model to reconstruct image stimuli from brain activities. Experimental results demonstrate our model's superiority in generating high-resolution and semantically accurate images, substantially exceeding previous state-of-the-art methods by 39.34% in the 50-way-top-1 semantic classification accuracy. Our research invites further exploration of the decoding task's potential and contributes to the development of non-invasive brain-machine interfaces.

View on arXivView PDF

Code Implementations(1)

Official Implementation for NeurIPS'23 paper Contrast, Attend and Diffuse to Decode High-Resolution Images from Brain Activities

447PythonOct 26, 20232 years ago

Similar Papers

Cite this paper

@article{sun2026contrast,
  title  = {Contrast, Attend and Diffuse to Decode High-Resolution Images from Brain Activities},
  author = {Jingyuan Sun and Mingxiao Li and Zijiao Chen and Yunhao Zhang and Shaonan Wang and Marie-Francine Moens},
  year   = {2026},
  eprint = {2305.17214},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.17214},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17214.svg)](https://codeofpaper.com/paper/2305.17214)

Discussion