Skip to main content
QUICK REVIEW

[Paper Review] Brain Captioning: Decoding human brain activity into images and text

Matteo Ferrante, Furkan Özçelik|arXiv (Cornell University)|May 19, 2023
Multimodal Machine Learning ApplicationsComputer Science13 citations
TL;DR

The paper presents a method to decode fMRI brain activity into textual captions using a multimodal language model (GIT) and to reconstruct plausible images via a latent-diffusion pipeline guided by predicted text and depth/initial visual cues. It demonstrates improved captioning metrics and competitive image-quality metrics compared with prior work on NSD COCO stimuli.

ABSTRACT

Every day, the human brain processes an immense volume of visual information, relying on intricate neural mechanisms to perceive and interpret these stimuli. Recent breakthroughs in functional magnetic resonance imaging (fMRI) have enabled scientists to extract visual information from human brain activity patterns. In this study, we present an innovative method for decoding brain activity into meaningful images and captions, with a specific focus on brain captioning due to its enhanced flexibility as compared to brain decoding into images. Our approach takes advantage of cutting-edge image captioning models and incorporates a unique image reconstruction pipeline that utilizes latent diffusion models and depth estimation. We utilized the Natural Scenes Dataset, a comprehensive fMRI dataset from eight subjects who viewed images from the COCO dataset. We employed the Generative Image-to-text Transformer (GIT) as our backbone for captioning and propose a new image reconstruction pipeline based on latent diffusion models. The method involves training regularized linear regression models between brain activity and extracted features. Additionally, we incorporated depth maps from the ControlNet model to further guide the reconstruction process. We evaluate our methods using quantitative metrics for both generated captions and images. Our brain captioning approach outperforms existing methods, while our image reconstruction pipeline generates plausible images with improved spatial relationships. In conclusion, we demonstrate significant progress in brain decoding, showcasing the enormous potential of integrating vision and language to better understand human cognition. Our approach provides a flexible platform for future research, with potential applications in various fields, including neural art, style transfer, and portable devices.

Motivation & Objective

  • Motivate shifting brain decoding from reconstructing images to generating captions to capture higher-level scene semantics.
  • Develop a brain-to-features mapping that leverages a multimodal captioning model (GIT) to produce captions from fMRI-derived features.
  • Introduce an image reconstruction pipeline that uses predicted text, initial guesses, and depth maps to generate plausible images via latent diffusion models.
  • Evaluate the approach against baselines using text-based metrics (METEOR, CLIP, SentenceTransformer) and image-based metrics (PixCorr, SSIM, AlexNet/Inception/CLIP, FID).
  • Demonstrate the feasibility and potential applications of brain captioning and multimodal decoding for neuroscience and AI applications.

Proposed method

  • Use NSD data with eight subjects; focus on subj01 and subj02; map fMRI to image features via regularized linear regression with cross-validated regularization (alpha = 50,000).
  • Employ GIT (Generative Image-to-text Transformer) as the captioning backbone to generate captions from predicted image features.
  • Normalize predicted features to match the distribution of image features before decoding captions.
  • Construct an image reconstruction pipeline by first generating an initial guess image via a frozen VDVAE latent representation mapped from brain activity, then estimate depth maps and map them to VDVAE latents;
  • Condition Stable Diffusion v2 with ControlNet using predicted text, initial guess, and depth information to produce final reconstructions with 30 steps and guidance scale 9 (control net weight 0.8).
  • During training, learn ridge regressions from brain activity to latent representations of image features and VDVAE depth/initial latent spaces; use renormalization to align distributions between brain-driven predictions and target latent spaces.
Figure 1: Our model utilizes fMRI measurements to extract features for GIT captioning and VDVAE initial and depth image estimation using linear models. Image captions serve as the primary general result, used in the second stage alongside other conditioning to generate plausible reconstructions with
Figure 1: Our model utilizes fMRI measurements to extract features for GIT captioning and VDVAE initial and depth image estimation using linear models. Image captions serve as the primary general result, used in the second stage alongside other conditioning to generate plausible reconstructions with

Experimental results

Research questions

  • RQ1Can brain activity be decoded to produce meaningful image captions rather than direct image reconstructions?
  • RQ2How well can fMRI-derived features, mapped to a captioning model’s latent space, generate human- or COCO-style captions?
  • RQ3Does incorporating initial guess images and depth information improve the plausibility and spatial relationships of diffusion-based reconstructions?
  • RQ4How do caption-based and image-based metrics compare to baseline brain decoding approaches on NSD-COCO stimuli?
  • RQ5What are the limitations and potential applications of brain captioning for neuroscience and AI domains?

Key findings

  • The proposed brain captioning method outperforms the baseline CNN+LSTM approach on text-based metrics for both subjects (e.g., METEOR, CLIP similarity, SentenceTransformer similarity).
  • Brain-captioned outputs achieve higher CLIP and sentence-based scores for brain captions compared with baselines and prior works.
  • The image reconstruction pipeline with depth maps and an initial VDVAE-based guess yields competitive low-level image metrics (PixCorr, SSIM) and strong performance in early CNN/inception layers, with some trade-offs in high-level metrics due to caption errors propagating through the pipeline.
  • Quantitative results show the proposed method achieving higher scores than baselines across several metrics, indicating effective decoding of brain activity into semantically meaningful captions and plausible reconstructions.
  • Qualitative results indicate captions capture main scene content; remaining errors often involve specific object details or scene phrasing, which may reflect limitations of the captioning model or brain-to-feature mapping.
Figure 2: Comparison of our results (Columns 2-4) with the shown stimuli and reconstructions from other works. The second column displays the caption computed from the brain activity, the third column presents the initial guess image, the fourth column shows the depth estimated images, and the fifth
Figure 2: Comparison of our results (Columns 2-4) with the shown stimuli and reconstructions from other works. The second column displays the caption computed from the brain activity, the third column presents the initial guess image, the fourth column shows the depth estimated images, and the fifth

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.