Decoding fMRI Data into Captions using Prefix Language Modeling

Vyacheslav Shen, Kassymzhomart Kunanbayev, Dae-Shik Kim
1/5/2025
cs.CVcs.AIcs.CL

No official code found. Best implementation: slavaheroes/brain-captioning-with-gpt2 (2 stars, MIT, last commit 2024-07-25).

Abstract

With the advancements in Large Language and Latent Diffusion models, brain decoding has achieved remarkable results in recent years. The works on the NSD dataset, with stimuli images from the COCO dataset, leverage the embeddings from the CLIP model for image reconstruction and GIT for captioning. However, the current captioning approach introduces the challenge of potential data contamination given that the GIT model was trained on the COCO dataset. In this work, we present an alternative method for decoding brain signals into image captions by predicting a DINOv2 model's embedding of an image from the corresponding fMRI signal and then providing its [CLS] token as the prefix to the GPT-2 language model which decreases computational requirements considerably. Additionally, instead of commonly used Linear Regression, we explore 3D Convolutional Neural Network mapping of fMRI signals to image embedding space for better accounting positional information of voxels.

View on arXivView PDF

Code Implementations(1)

MIT

Decoding of fMRI signals of stimuli images into the captions

20Python, Jupyter NotebookApr 9, 20242 years agoMIT
brain-decoding

Similar Papers

Cite this paper

@article{shen2025decoding,
  title  = {Decoding fMRI Data into Captions using Prefix Language Modeling},
  author = {Vyacheslav Shen and Kassymzhomart Kunanbayev and Dae-Shik Kim},
  year   = {2025},
  eprint = {2501.02570},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02570v1}
}

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/2501.02570.svg)](https://codeofpaper.com/paper/2501.02570)

Discussion