TL;DR
While traditional brain-decoding methods attempt to reconstruct viewed images by mapping fMRI signals to visual or joint vision-language spaces, this paper reveals that brain activity actually aligns best with the pure text space of language models. Leveraging this insight, the authors introduce PRISM, a framework that decodes fMRI signals into structured, object-centric text descriptions to guide a diffusion model, significantly reducing perceptual errors and outperforming state-of-the-art methods.
What Problem Does This Paper Address?
Reconstructing what a person sees based solely on their functional Magnetic Resonance Imaging (fMRI) brain scans is a fascinating intersection of neuroscience and machine learning. Typically, this is a two-stage process: map the fMRI signals into a latent space, and then feed that latent representation into a generative model (like Stable Diffusion) to output an image.
However, existing approaches suffer from a fundamental mismatch with human visual processing. Most models assume the intermediate latent space should be vision-based (using representations from vision models or joint spaces like CLIP). This holistic approach often conflates objects and their attributes, leading to "attribute binding" errors—for instance, generating a literal tiger when the subject actually viewed a gray, tiger-striped cat. Human perception is naturally object-centric and compositional; we break scenes down into distinct objects, attributes, and relationships. This paper addresses how to design an intermediate representation that faithfully mirrors this structured, compositional nature of human vision.
Methods
The authors first conduct an alignment analysis using metrics like Centered Kernel Alignment (CKA) and Canonical Correlation Analysis (CCA) to determine which latent space naturally aligns best with fMRI data. They compare pure text spaces (T5, LLaMA3), joint vision-language spaces (CLIP), and pure vision spaces (LDM, ResNet50).
Based on their finding that pure text spaces align best, they propose PRISM (Projects fMRI sIgnals into a Structured text space as an interMediate representation), which consists of three core components:
- Attribute/Relationship Search Module: An $\epsilon$-greedy search strategy that uses a Vision-Language Model (VLM) to automatically discover the optimal prompt keywords (such as "Spatial Layout") that yield brain-aligned image descriptions.
- FMRI-to-Text Projection: An encoder architecture that maps 1D fMRI vectors into the text space of a fine-tuned language model (T5) to predict structured, object-level textual descriptions (e.g., separating "Object 1" and "Object 2" along with their locations and attributes).
- Object-Centric Diffusion Module: A modified diffusion inference process that handles each predicted object description independently through distinct cross-attention layers, resizing and spatially concatenating their hidden representations to prevent attribute blending and ensure clean boundaries.
Datasets
The framework was evaluated on three real-world, publicly available fMRI datasets:
- NSD (Natural Scenes Dataset): A large-scale dataset where participants viewed naturalistic images from the COCO dataset.
- BOLD5000: A dataset containing brain views of images sourced from COCO, ImageNet, and SceneUnseen.
- GOD (Generic Object Decoding): A dataset focused on object representations, using images from 200 representative categories in ImageNet.
Key Insights and Ideas
- Meaning Over Pixels: fMRI signals correlate more strongly with pure language model embeddings than with vision-only or joint vision-language embeddings. This suggests that the human brain processes visual stimuli more through the lens of semantic meaning and high-level concepts than low-level pixel configurations.
- The Power of "Spatial Layout": Through automated prompt optimization, the model consistently converged on spatial relationship keywords. A gradient-based interpretability analysis showed that these spatial keywords strongly activate the Presubiculum (PreS)—a brain region heavily linked to spatial memory—explaining why structured spatial text bridges the brain-to-image gap so effectively.
- Compositionality Mitigates Distortion: Treating an image as a collection of isolated, localized text descriptions (and blending them later in the diffusion process) effectively solves the attribute binding problem that plagues holistic models.
Key Results
PRISM consistently outperformed state-of-the-art baselines (including Mindeye2, Mindvis, and Takagi) across all three datasets.
- Perceptual Loss Reduction: PRISM achieved up to a 6% reduction in perceptual loss (LPIPS) compared to previous top-performing models, indicating much higher fidelity to the original images.
- Semantic Consistency: The model scored significantly higher on CLIP and Inception V3 two-way identification metrics, proving that the reconstructed images are semantically accurate.
- Downstream Task Success: When the reconstructed images were fed into a Vision-Language Model for an image question-answering (QA) task, PRISM's reconstructions achieved a 60.54% accuracy rate, substantially higher than Mindeye2's 57.65%.
Limitations and Future Work
While PRISM marks a major step forward, the authors note a few limitations:
- Fixed Object Constraints: The current implementation fixes the number of objects per image (set to two in the primary experiments) to maintain a stable MLP-to-object mapping. Handling complex scenes with an arbitrary number of objects remains an open challenge.
- Neuroscientific Validation: Although the gradient-based analysis pointed to spatial processing regions like the Presubiculum, the authors emphasize that these interpretability findings require deeper, independent validation from the neuroscience community.
Summary updated