Brain Diffusion for Visual Exploration: Cortical Discovery using Large Scale Generative Models

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

Introduction

For decades, the standard paradigm in visual neuroscience has been hypothesis-driven: researchers present subjects with pre-selected categories of images—such as faces, places, or objects—and observe the resulting neural activity. While this approach has successfully mapped the broad functional architecture of the human visual cortex, it is inherently limited by researcher bias. We can only discover functional specializations for categories we think to test. If a cortical region prefers a highly specific sub-type of stimulus or a unique combination of visual features that falls outside our curated sets, those preferences remain hidden.

To overcome these limitations, we present BrainDiVE (Brain Diffusion for Visual Exploration), a data-driven framework that shifts the paradigm from testing what we think the brain likes to letting the brain show us what it likes. By combining large-scale generative diffusion models with high-resolution fMRI encoding, BrainDiVE synthesizes images that are predicted to optimally activate specific regions of the human visual cortex, enabling the discovery of fine-grained functional subdivisions without prior category labels.

Methodology

BrainDiVE treats the search for optimal stimuli as an optimization problem guided by neural activity. The framework consists of three primary components:

1. The Brain Encoder

The foundation of the system is a predictive model ($M_\theta$) trained to map visual stimuli to fMRI voxel responses. This encoder utilizes a frozen CLIP (ViT-B/16) backbone to extract high-level semantic features from an image. These features are then mapped to brain activity via a linear adaptation layer trained on the Natural Scenes Dataset (NSD).

2. The Generative Model

We leverage a pretrained Latent Diffusion Model (Stable Diffusion 2.1) as a powerful prior for natural image statistics. This ensures that the synthesized images remain visually coherent and realistic.

3. Brain-Guided Synthesis

Unlike standard text-to-image generation, BrainDiVE replaces text guidance with brain guidance. During the iterative denoising process of the diffusion model, we calculate the gradient of the predicted brain activation with respect to the image latent. We then perturb the denoising process to move toward the manifold of images that maximize the predicted activation of a target Region of Interest (ROI). In effect, the model "hallucinates" a naturalistic image that is mathematically predicted to drive a specific part of the brain to its maximum output.

Data and Experimental Setup

The study utilizes the Natural Scenes Dataset (NSD), currently the gold standard for training deep encoding models. The dataset includes high-resolution 7T fMRI data from 8 human participants who viewed approximately 10,000 unique natural images from the MS COCO dataset, with each image repeated three times to ensure a high signal-to-noise ratio.

Key Insights and Discovery

Validating Known Functional Areas

BrainDiVE successfully synthesized images for well-established regions like the Fusiform Face Area (FFA) and Parahippocampal Place Area (PPA). The generated images for these regions were highly representative of their known categories, confirming that the model captures established neuroscientific principles.

Hierarchy of Abstraction

The framework revealed subtle functional differences between regions selective for the same broad category. For instance, images generated for the FFA (a high-level face area) tended to be more holistic and abstract, while the OFA (Occipital Face Area) showed a preference for low-level face sub-components and fragmented features. This demonstrates the model's ability to capture the hierarchical nature of visual processing.

Unsupervised Discovery of Sub-ROIs

Perhaps the most significant contribution of BrainDiVE is its ability to discover subdivisions within known ROIs. By applying unsupervised clustering to the brain encoder's weights, the authors identified distinct functional clusters within areas previously thought to be monolithic. For example, a "food-selective" region was found to contain distinct clusters: one preferring processed, bread-like foods and another preferring colorful fruits and vegetables. Similarly, the OPA (a place-selective area) exhibited a clear split between preferences for indoor versus outdoor scenes.

Results and Validation

Quantitative Performance

Using a zero-shot CLIP classifier, the researchers demonstrated that images synthesized for specific ROIs (e.g., "Place regions") were classified into those categories with near-perfect accuracy (up to 100% for some subjects). These synthesized images significantly outperformed the top-activating natural images from the original dataset in terms of predicted neural response.

Human Perceptual Validation

In "blind" behavioral tests, human evaluators were asked to identify the semantic differences in the model-discovered sub-regions. Evaluators consistently and correctly identified the semantic themes (e.g., distinguishing "healthy food" from "processed food" clusters), validating that the subdivisions discovered by BrainDiVE correspond to real-world semantic categories perceived by humans.

Discussion and Future Work

While BrainDiVE represents a major step toward unbiased cortical discovery, it is subject to certain limitations. The quality of synthesis is strictly bounded by the accuracy of the underlying brain encoding model; if the encoder fails to capture a specific neural tuning, the generator cannot reveal it. Additionally, the use of a diffusion model trained on natural images introduces a "natural image prior," which may bias the system against discovering preferences for highly abstract or non-naturalistic stimuli.

The next critical phase of this research involves "closing the loop": presenting these synthesized, "optimal" images back to human subjects in an fMRI scanner to confirm that they indeed produce the record-breaking neural activations predicted by the model. This framework opens new doors for exploring the vast, unmapped territories of the human visual system.

Summary updated

BibTeX
@inproceedings{luo2023brain,
  author = {Andrew F. Luo and Margaret M. Henderson and Leila Wehbe and Michael J. Tarr},
  title = {{Brain Diffusion for Visual Exploration: Cortical Discovery using Large Scale Generative Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=9VqMaSjf7U},
}
Figure