Skip to main content
QUICK REVIEW

[Paper Review] UniBrain: Unify Image Reconstruction and Captioning All in One Diffusion Model from Human Brain Activity

Weijian Mai, Zhijun Zhang|arXiv (Cornell University)|Aug 14, 2023
Multimodal Machine Learning ApplicationsComputer Science8 citations
TL;DR

UniBrain unifies fMRI-based image reconstruction and captioning using a single latent diffusion model with multi-modal CLIP-guided conditioning, achieving state-of-the-art results on NSD for both tasks without further training.

ABSTRACT

Image reconstruction and captioning from brain activity evoked by visual stimuli allow researchers to further understand the connection between the human brain and the visual perception system. While deep generative models have recently been employed in this field, reconstructing realistic captions and images with both low-level details and high semantic fidelity is still a challenging problem. In this work, we propose UniBrain: Unify Image Reconstruction and Captioning All in One Diffusion Model from Human Brain Activity. For the first time, we unify image reconstruction and captioning from visual-evoked functional magnetic resonance imaging (fMRI) through a latent diffusion model termed Versatile Diffusion. Specifically, we transform fMRI voxels into text and image latent for low-level information and guide the backward diffusion process through fMRI-based image and text conditions derived from CLIP to generate realistic captions and images. UniBrain outperforms current methods both qualitatively and quantitatively in terms of image reconstruction and reports image captioning results for the first time on the Natural Scenes Dataset (NSD) dataset. Moreover, the ablation experiments and functional region-of-interest (ROI) analysis further exhibit the superiority of UniBrain and provide comprehensive insight for visual-evoked brain decoding.

Motivation & Objective

  • Motivate decoding visual stimuli from human brain activity to enhance understanding of brain-vision links.
  • Develop a unified, training-free framework that performs both image reconstruction and captioning from fMRI signals.
  • Leverage a latent diffusion model with multi-modal (text and image) conditioning to improve semantic fidelity.
  • Demonstrate the method on the Natural Scenes Dataset (NSD) and analyze ROI-based brain decoding.

Proposed method

  • Use Versatile Diffusion (a latent diffusion model) as the backbone to enable multi-modal generation (images and text).
  • Map fMRI voxels to four latent representations: Latent-Image Z_I, Latent-Text Z_T, CLIP-Image C_I, and CLIP-Text C_T via tiny regression models.
  • Perform image reconstruction by guiding the reverse diffusion with both C_I and C_T conditions and decoding via a pretrained AutoKL decoder.
  • Perform captioning by guiding the reverse diffusion with C_I and C_T to obtain Z_T, then decoding with a pretrained Optimus GPT-2 to generate captions.
  • Train four ridge regression models (fMRI -> Z_I, fMRI -> Z_T, fMRI -> C_I, fMRI -> C_T) with frozen encoders; no fine-tuning of large networks.
  • Use a mix parameter to blend CLIP-Image and CLIP-Text conditioning during diffusion steps (mix values tuned per task).

Experimental results

Research questions

  • RQ1Can a single diffusion-based model jointly reconstruct images and generate captions from visual-evoked fMRI signals?
  • RQ2How do multi-modal conditions (CLIP-Image and CLIP-Text) influence reconstruction quality and caption semantic fidelity?
  • RQ3What is the impact of ROI-based brain activity and cross-subject consistency on UniBrain’s performance?
  • RQ4Does UniBrain provide qualitative and quantitative gains over existing methods for NSD-based brain decoding?

Key findings

  • UniBrain achieves state-of-the-art quantitative performance on image reconstruction across low-level (PixCorr, SSIM, AlexNet-2, AlexNet-5) and high-level (Inception, CLIP, etc.) metrics compared to prior methods.
  • UniBrain delivers first-time NSD-based image captioning results with competitive low- and high-level text metrics.
  • Ablation studies show CLIP-Image features contribute strongly to low-level visual fidelity, while CLIP-Text features add high-level semantic details, and combining them yields best overall performance.
  • The multi-modal conditioning (C_I and C_T) consistently improves results over single-modality baselines in both reconstruction and captioning tasks.
  • ROI analysis demonstrates that UniBrain can generate content aligned with functionally defined brain regions (Face-ROI, Word-ROI, Place-ROI, Body-ROI), offering insights into region-specific decoding.
  • UniBrain maintains reasonable cross-subject consistency despite training on data from a single subject, suggesting strong generalization of the diffusion-based framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.