BrainSCUBA: Fine-Grained Natural Language Captions of Visual Cortex Selectivity

Andrew F. Luo, Margaret M. Henderson, Michael J. Tarr, Leila Wehbe · DOI

Abstract

BrainSCUBA (Semantic Captioning Using Brain Alignments) is a novel data-driven framework designed to characterize the functional preferences of individual brain voxels using natural language. By aligning fMRI activations from the Natural Scenes Dataset (NSD) with the embedding space of large-scale vision-language models like CLIP, BrainSCUBA generates descriptive captions that reveal fine-grained semantic selectivity across the visual cortex. This approach moves beyond traditional hypothesis-driven category mapping, allowing for the discovery of nuanced functional specializations, such as distinguishing between social interactions and individual actions within the Extrastriate Body Area (EBA).

Introduction

For decades, functional neuroimaging has mapped the visual cortex by observing brain responses to pre-selected categories of stimuli, such as faces, places, or tools. While this hypothesis-driven approach has identified major functional regions, it is inherently limited by the researcher's choice of stimuli. Nuanced preferences—for instance, a region selective for "people interacting in a kitchen" rather than just "faces"—may be overlooked if such specific conditions are not explicitly tested. Furthermore, most decoding methods operate at the level of broad regions of interest (ROIs). There is a critical need for a data-driven method capable of characterizing functional specialization at the level of individual voxels across the entire visual cortex.

Methods

The BrainSCUBA framework operates in three distinct stages to translate neural activity into text:

  1. Image-to-Brain Encoding: A linear model is trained to map image embeddings from a frozen CLIP (Contrastive Language-Image Pre-training) model to fMRI activations. The resulting voxel-wise weights represent the "ideal" feature representation for each 3D brain pixel.
  2. Closing the Modality Gap: Because raw brain encoder weights do not perfectly align with the distribution of natural image embeddings, a training-free projection method is employed. Voxel weights are projected into a "natural image" embedding space using a softmax-weighted sum derived from a large-scale database of 2 million images (LAION-A v2 and Open Images).
  3. Voxel-wise Captioning: The projected embeddings are processed by CLIPCap—a system combining a CLIP prefix with a fine-tuned GPT-2—to generate natural language captions. In this context, BrainSCUBA essentially treats the weight of a single voxel as a "soft prompt" for the language model.
Overview of the BrainSCUBA framework, illustrating the encoding of visual stimuli into brain fMRI, the projection of voxel weights into the CLIP embedding space, and the final generation of natural language captions.

Results

BrainSCUBA successfully recovers known functional topographies while revealing previously undocumented semantic nuances across multiple subjects.

Semantic Alignment and Mapping

The generated captions show high alignment with established functional regions. For example, voxels in the Fusiform Face Area (FFA) were consistently captioned with terms like "man" or "woman," while the Parahippocampal Place Area (PPA) favored "room" or "view." By applying UMAP (Uniform Manifold Approximation and Projection) to the voxel-wise captions, researchers visualized a continuous semantic gradient across the cortex.

Semantic mapping of voxel preferences across the visual cortex. (a) UMAP projection of captions into a 2D semantic space. (b-d) Cortical maps showing the spatial distribution of these semantic preferences across multiple subjects, highlighting regions like the FFA, PPA, and EBA.

Fine-Grained Discovery in the EBA and Social Networks

A key finding involved the Extrastriate Body Area (EBA). While traditionally viewed as a monolithic region for body parts, BrainSCUBA identified two distinct sub-clusters: one selective for social groups and large-scale scenes, and another for single individuals interacting with hand-held objects. Beyond the EBA, the model identified high densities of "person" representations in the Temporoparietal Junction (TPJ) and Precuneus (PCV), providing data-driven evidence for their roles in social cognition and Theory of Mind.

Validation and Efficiency

To validate the captions, the authors synthesized "optimal" stimuli using text-to-image models based on the generated text. These synthesized images produced higher predicted brain activations than 99% of real images in the NSD dataset. Additionally, BrainSCUBA is approximately 10 times faster than previous gradient-based methods, enabling the characterization of tens of thousands of voxels individually without needing human-annotated labels.

Discussion

BrainSCUBA represents a significant step toward an automated, data-driven "lexicon" of the human brain. However, the method is subject to the inherent biases of its underlying models (CLIP and GPT-2). If the language model lacks the vocabulary for specific abstract or structural visual features, the voxel's preference may be inaccurately translated. Future work will explore the use of more advanced, unconstrained large language models to capture even greater nuance and investigate how these fine-grained preferences vary across diverse populations.

Summary updated

BibTeX
@inproceedings{luo2024brainscuba,
  author = {Andrew F. Luo and Margaret M. Henderson and Michael J. Tarr and Leila Wehbe},
  title = {{BrainSCUBA: Fine-Grained Natural Language Captions of Visual Cortex Selectivity}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=mQYHXUUTkU},
}
Figure