Seeing Through the Brain: New Insights from Decoding Visual Stimuli with fMRI
Zheng Huang, Enpei Zhang, Weikang Qiu, Yinghao Cai, Carl Yang, Elynn Chen, Xiang Zhang, Rex Ying, Dawei Zhou, Yujun Yan
International Conference on Learning Representations 2026 · Oral
Overview
The presented research, a collaborative effort led by Yujun Yan from Dartmouth, delves into the ambitious and rapidly evolving field of brain decoding, specifically focusing on the reconstruction of visual stimuli directly from human brain activity. The core objective is to translate voxel-level brain signals, acquired via functional Magnetic Resonance Imaging (fMRI) while subjects view images, back into the original perceived images. This capability holds immense promise for groundbreaking applications such as advanced brain-computer interfaces, silent communication methods, and even the visualization of dreams. The talk highlights a two-stage reconstruction pipeline: first, mapping fMRI data into a latent space, and second, utilizing a generative model to synthesize images from this latent representation.

Key moments
- 0:00 Introduction: fMRI to image reconstruction challenges
- 2:00 Systematic study on optimal latent space choice
- 4:00 Key insight: Neural activity aligns best with text space
- 6:00 Structured text generation and prompt optimization
- 8:40 Prism's superior image reconstruction results visualized
- 10:00 Brain regions associated with spatial and functional keywords
- 11:27 Q&A: Rationale for using language latent space
Seeing Through the Brain: New Insights from Decoding Visual Stimuli with fMRI
Speakers: Yujun Yan, Zheng Huang, Enpei Zhang, Weikang Qiu, Yinghao Cai, Carl Yang, Elynn Chen, Xiang Zhang, Rex Ying, Dawei Zhou; Dartmouth and other institutions
Conference: ICLR 2026
YouTube: https://slideslive.com/39062237
Overview
The presented research, a collaborative effort led by Yujun Yan from Dartmouth, delves into the ambitious and rapidly evolving field of brain decoding, specifically focusing on the reconstruction of visual stimuli directly from human brain activity. The core objective is to translate voxel-level brain signals, acquired via functional Magnetic Resonance Imaging (fMRI) while subjects view images, back into the original perceived images. This capability holds immense promise for groundbreaking applications such as advanced brain-computer interfaces, silent communication methods, and even the visualization of dreams. The talk highlights a two-stage reconstruction pipeline: first, mapping fMRI data into a latent space, and second, utilizing a generative model to synthesize images from this latent representation.
Current methodologies in fMRI-to-image reconstruction primarily focus on enhancing the generative model stage, often leveraging sophisticated diffusion models for superior image generation. However, a critical limitation of existing approaches is their reliance on holistic, undifferentiated representations of neural activity. This often leads to confusion between objects and their attributes in reconstructed images – for instance, generating a "gray tiger" when the subject viewed a "gray tiger-striped cat." To overcome this, the authors propose an innovative object-centric generation approach. Furthermore, they challenge the conventional wisdom regarding the choice of latent space, arguing that neural activity patterns might align better with non-visual latent spaces, even for visual reconstruction tasks. This systematic investigation into optimal latent space selection, combined with an object-centric generative strategy, forms the bedrock of their novel Prism framework, leading to significant advancements in the fidelity and interpretability of fMRI-based visual reconstruction.
Background
▶ Watch: Introduction: fMRI to image reconstruction challenges (0:00)
The endeavor to decode visual information from brain activity has been a long-standing goal in neuroscience and artificial intelligence. Prior work in fMRI-to-image reconstruction has made considerable strides, particularly with the advent of powerful generative models like Generative Adversarial Networks (GANs) and, more recently, diffusion models. These models excel at producing high-fidelity images from latent representations. The typical pipeline involves training an encoder to map high-dimensional fMRI signals into a lower-dimensional latent space, which then serves as input to a pre-trained generative model.
Despite these advancements, two major challenges persist. The first is the limitation of holistic representations. Most existing models encode the entire fMRI signal corresponding to a viewed image into a single, undifferentiated latent vector. This approach struggles to disentangle individual objects from their attributes or from the overall scene context. Consequently, reconstructions often contain mixed features, where an object's characteristics (e.g., stripes) might be correctly identified but misattributed to the wrong object (e.g., a tiger instead of a cat). This lack of object-centricity hinders the precise recovery of perceived content, which human visual perception naturally processes in terms of distinct objects and their relationships.
The second, and perhaps more fundamental, challenge lies in the selection of the optimal latent space for mapping fMRI data. The prevailing practice is to utilize latent spaces derived from pre-trained visual models (e.g., CLIP's image encoder, Vision Transformers) or joint text-image models, given that the ultimate goal is image reconstruction. This choice seems intuitive, as these spaces are designed to capture rich visual semantics. However, the authors posit that neural activity patterns, while originating from visual processing regions, might not necessarily align best with these vision-centric representations. The brain's internal processing of visual stimuli might involve a conceptual translation, aligning more closely with abstract semantic spaces rather than purely visual feature spaces. This hypothesis necessitated a systematic re-evaluation of the intermediate latent space, moving beyond the assumptions of prior research to uncover a potentially more neuro-cognitively aligned representation.
Key Findings
▶ Watch: Key insight: Neural activity aligns best with text space (4:00)
The research presented unveils several pivotal findings that fundamentally reshape our understanding of fMRI-based visual decoding and propose a more effective reconstruction framework:
- Surprising Alignment with Text Space: The most significant and counter-intuitive discovery is that neural activity patterns recorded during visual perception align best with pure text space representations, rather than latent spaces derived from visual models or even joint text-image models. Despite the task being visual image reconstruction and the brain activity originating from visual cortices, the study's systematic evaluation using metrics like CKA, CCA, and generalization gap consistently showed superior alignment with representations from Large Language Models (LLMs). This suggests that the brain might implicitly translate visual inputs into conceptual, linguistic-like representations during perception, making text space an ideal intermediate bridge for decoding.
- Object-Centric Generation is Crucial: The study confirms that traditional holistic representations are insufficient for accurate visual reconstruction, especially when distinguishing between objects and their attributes. By adopting an object-centric generation approach that synthesizes images based on individually encoded objects and their spatial relationships, the Prism framework significantly improves the fidelity of reconstructed images, correctly capturing specific objects and their relative arrangements.
- State-of-the-Art Reconstruction Performance: The Prism framework, integrating the insights from text-space alignment and object-centric generation, achieves state-of-the-art (SOTA) performance in fMRI-to-image reconstruction. Across three datasets and five different evaluation metrics, Prism consistently outperforms existing methodologies, demonstrating its superior capability to recover perceived visual content with higher accuracy and semantic coherence. Visualizations provided in the talk clearly illustrate Prism's ability to better capture specific objects and their spatial relationships compared to prior methods.
- Spatial Information Dominates Brain Encoding of Relationships: The novel attribute relationship search module within Prism reveals that the human fMRI data preferentially encodes spatial relationships between objects. Through an iterative prompt optimization process guided by reconstruction error and neural alignment, the search module consistently identified spatial keywords (e.g., "above," "left of") as most effective for structured text generation. This suggests a strong emphasis on spatial context in how the brain represents object interactions.
- Brain Regions Linked to Spatial and Functional Concepts: An interpretability analysis using gradient-based methods provided neuroscientific insights into the brain regions associated with different conceptual keywords. Spatial keywords were found to be strongly associated with the precuneus, a brain region well-known for its role in spatial memory and visual imagery. Conversely, functional keywords (e.g., "running") showed stronger relevance to the V-M-V-1 area, which is involved in early visual processing and motion perception. This finding corroborates the functional specialization of brain areas and provides a biological basis for the model's reliance on structured, conceptual representations.
Technical Deep Dive
▶ Watch: Structured text generation and prompt optimization (6:00)
The technical core of this research revolves around addressing two fundamental challenges in fMRI-to-image reconstruction: the limitations of holistic representations and the optimal choice of latent space. The proposed Prism framework introduces a novel pipeline that leverages a text-based intermediate bridge and an object-centric generative strategy.
Systematic Latent Space Evaluation
To determine the most suitable latent space, the authors conducted a systematic study comparing three categories of pre-trained models:
- Pure Text Models: (e.g., BERT, GPT) which take text captions of images as input to generate representations.
- Joint Space Models: (e.g., CLIP) which learn aligned representations for both images and text.
- Image Space Models: (e.g., ResNet, Vision Transformers) which process images directly to generate representations.
For each model type, the visual stimuli viewed by subjects were embedded into their respective latent spaces. The alignment between these latent spaces and the neural activation space (fMRI voxels) was quantified using three metrics:
- Canonical Correlation Analysis (CCA): Measures the linear relationship between two multidimensional datasets. Higher CCA indicates stronger alignment.
- Centred Kernel Alignment (CKA): A similarity metric that quantifies the similarity of representations learned by neural networks, robust to linear and non-linear transformations. Higher CKA indicates stronger alignment.
- Generalization Gap: Defined as the difference between the test loss and train loss of an MLP (Multi-Layer Perceptron) trained to map fMRI data to the latent space. A smaller generalization gap implies better alignment, as the mapping function is easier to learn and generalize.
The surprising finding was that, across all metrics, the neural activity patterns aligned best with the latent space of pure text models. Even joint text-image spaces showed a drop in alignment compared to pure text spaces. This crucial insight led to the redesign of the entire reconstruction pipeline.
The Prism Framework Pipeline
Based on the finding that text space provides the best alignment, the Prism pipeline is structured as follows:
- fMRI to Text Space Mapping: The raw fMRI voxel data is first mapped to a structured text-based latent space. This involves training an encoder that translates neural activity into a conceptual representation.
- Text Space to Image Generation: From this structured text space, a generative model (implicitly a diffusion model, as mentioned in the general pipeline description) is then used to synthesize the final image.
Object-Centric Structured Text Generation
To overcome the limitations of holistic representations, Prism introduces an object-centric generation approach. This requires providing the generative model not just a single text embedding, but structured text that describes individual objects and their relationships within the image. However, fMRI datasets typically only provide images and corresponding neural activity, not structured text annotations.
To acquire this crucial structured supervision, Prism employs a novel prompt optimization mechanism leveraging Large Language Models (LLMs):
- Candidate Keyword Generation: An LLM is initially prompted to generate a list of candidate keywords that could describe relationships or attributes (e.g., spatial, functional, color).
- Structured Text Generation: For each candidate keyword, the LLM is guided to generate structured text descriptions for the training images. For example, if the keyword is "spatial relationship," the LLM would generate descriptions like "cat is on the mat," specifying object identities and their spatial arrangement.
- Feedback Loop for Keyword Optimization: The quality of these structured texts is evaluated using a feedback loop that measures two quantities:
- Reconstruction Error: How well images are reconstructed when using the structured text generated with a specific keyword.
- Neural Activity Alignment (CKA): How well the structured text representation (derived from the keyword) aligns with the fMRI data.
The LLM then uses these feedback values to propose new, improved keywords, iteratively refining the set of keywords that yield the most effective structured descriptions. This process ensures that the generated structured text is not only semantically rich but also neuro-cognitively aligned. The experiments showed that this module converged on keywords emphasizing "spatial relationships," indicating their importance in brain encoding.
Training and Inference
- Training Stage:
- The fMRI data and corresponding viewed images are used.
- The structured text annotations, generated via the LLM prompt optimization, serve as supervision.
- An encoder is trained to map fMRI signals to the text-based latent space.
- A Large Language Model (acting as the text-to-image bridge or controlling a generative model) is fine-tuned to generate images from these structured text representations.
- Inference Stage:
- Given new fMRI data, the trained encoder first generates the structured text representation.
- This structured text is then processed: individual objects' textual descriptions are encoded separately.
- These individual object embeddings are then combined in a way that reflects their spatial relationships, forming a comprehensive conditional input.
- This combined representation conditions a generative model (e.g., a diffusion model) to synthesize the final image, ensuring object-centricity and accurate spatial context.
Interpretability Analysis
To further understand the neural underpinnings, Prism employs a gradient-based interpretability analysis. By computing the gradients of candidate words with respect to the fMRI signals, the framework identifies brain regions that show stronger relevance to specific conceptual categories. This technique helps to localize where spatial, functional, or other attributes are processed in the brain, providing valuable insights into human visual cognition.
Experimental Setup & Results
▶ Watch: Brain regions associated with spatial and functional keywords (10:00)
The effectiveness of the Prism framework was rigorously evaluated through a series of experiments designed to answer two primary questions: its overall performance in image reconstruction and the efficacy of its attribute relationship search module.
Datasets and Baselines
The study utilized fMRI data collected from human subjects viewing images. While the specific names of the three datasets were not explicitly detailed in the talk, the Q&A section indicated the use of the Natural Scenes Dataset (NSD), a widely used, high-resolution fMRI dataset that includes voxel-level brain signals corresponding to diverse image viewing experiences.
Prism's performance was benchmarked against existing state-of-the-art (SOTA) methods in fMRI-to-image reconstruction. Although the specific names of these baseline methods were not enumerated in the presentation, they represent the leading approaches in the field, likely including those leveraging advanced diffusion models with holistic latent representations.
Metrics
The evaluation of reconstruction quality was comprehensive, employing five different metrics. While these specific metrics were not individually named during the talk, they typically include:
- Perceptual Similarity Metrics: Such as Structural Similarity Index (SSIM), Peak Signal-to-Noise Ratio (PSNR), or Learned Perceptual Image Patch Similarity (LPIPS), which quantify the visual resemblance between reconstructed and ground truth images.
- Semantic Similarity Metrics: Often using pre-trained vision-language models (e.g., CLIP score) to assess how well the semantic content of the reconstruction matches the original.
- Object Recognition/Detection Scores: To measure the accuracy of identifying and localizing objects within the reconstructed images.
Headline Results
The core experimental result unequivocally demonstrated that Prism achieves the best reconstruction performance across all three datasets and five evaluation metrics when compared to SOTA baselines. Although specific numerical values for these metrics were not provided in the presentation, the qualitative claim of "best reconstruction performance" signifies a substantial improvement over prior art.
To illustrate this improvement, the talk included visualizations comparing ground truth images (the images viewed by subjects) with reconstructions generated by Prism. These visual examples clearly highlighted Prism's superior ability to:
- Capture specific objects: Reconstructions more accurately depicted the correct objects (e.g., a cat, a tiger) without confusion.
- Preserve relative spatial relationships: The spatial arrangement of objects within the scene was maintained with higher fidelity (e.g., "cat above mat" was correctly reconstructed, rather than just a cat and a mat appearing separately). This directly addressed the challenge of holistic representations confusing objects and attributes.
Attribute Relationship Search Module Effectiveness
A dedicated experiment assessed the efficacy of Prism's attribute relationship search module. This module, through its iterative prompt optimization process, was shown to effectively identify the most relevant keywords for structured text generation. Over multiple search rounds, spatial-related keywords consistently emerged as dominant, indicating that the human fMRI data, when viewing images, contains rich spatial information regarding object arrangements. This finding supports the design choice of prioritizing spatial relationships in the object-centric generation.
Interpretability Analysis
To delve deeper into the neural underpinnings, an interpretability analysis was conducted. By computing gradients of candidate words with respect to fMRI signals, the researchers identified brain regions strongly associated with different conceptual categories:
- Spatial Keywords: (e.g., "above," "left of") were strongly associated with the precuneus. This finding is biologically congruent, as the precuneus is a known hub for spatial memory, visual imagery, and self-referential processing.
- Functional Keywords: (e.g., "running," "jumping") showed stronger relevance to the V-M-V-1 area (likely referring to parts of the visual cortex, such as V1 or V2/V3, which are involved in processing motion and visual features).
Additionally, the fMRI signals themselves showed higher intensity in regions that were found to be particularly relevant to spatial relationships, further reinforcing the idea that spatial information is robustly encoded in human visual cortex activity.
Practical Implications
▶ Watch: Q&A: Rationale for using language latent space (11:27)
The Prism framework and its underlying findings carry profound practical implications for the development and deployment of brain-computer interfaces (BCIs), advanced neuro-technologies, and our fundamental understanding of human cognition.
For practitioners and researchers in neuro-AI, the most significant implication is the paradigm shift in choosing the intermediate latent space for fMRI decoding. The discovery that pure text space aligns better with neural activity patterns than visual or joint text-image spaces suggests that future fMRI-to-image reconstruction systems should prioritize linguistic or conceptual bridges. This insight could guide the selection of pre-trained models and the design of mapping functions, potentially leading to more robust and generalizable decoders. It challenges the intuitive assumption that visual tasks require visual latent spaces, opening new avenues for incorporating cognitive and semantic understanding into brain decoding.
For infra teams and model builders working on BCI or neuro-imaging applications, the object-centric generation approach provides a clear path to improving the quality and interpretability of reconstructed outputs. Moving away from holistic representations towards structured, object-level descriptions can enable BCIs to generate more precise visual feedback, crucial for applications like silent communication or assistive technologies for individuals with locked-in syndrome. The iterative prompt optimization using LLMs for generating structured text offers a scalable method to acquire rich annotations, reducing reliance on manual labeling which is often time-consuming and expensive for fMRI datasets.
For model deployers, the demonstrated ability to reconstruct images with high fidelity, correctly capturing objects and their spatial relationships, makes the vision of dream visualization or direct neural image generation a step closer to reality. While still in research, the framework's advancements could eventually contribute to tools for artistic expression, memory recall assistance, or even clinical diagnostics by providing a window into subjective visual experiences.
Tradeoffs and Limitations:
One inherent tradeoff is the reliance on Large Language Models for generating structured text annotations. While powerful, LLMs can sometimes produce inaccurate or biased descriptions, which could propagate errors into the reconstruction pipeline. The quality of the generated structured text is critical, and the prompt optimization mechanism helps mitigate this by incorporating neural alignment feedback.
Another limitation, not explicitly stated but implied, is the computational cost associated with training complex generative models and LLMs, as well as the data requirements for fMRI studies. fMRI data acquisition itself is expensive and time-consuming, limiting the scale of available datasets. The framework also implicitly relies on a pre-trained generative model (e.g., diffusion model) which brings its own set of computational demands and potential biases from its training data.
Finally, while the interpretability analysis sheds light on brain regions, the exact neural mechanisms by which visual information is translated into a "text-like" conceptual space remain an active area of research. The current framework provides an effective computational bridge but doesn't fully elucidate the underlying biological processes.
Key Takeaways
- Neural Activity Aligns Best with Text Space: Counter-intuitively, fMRI patterns from visual perception align more strongly with pure text-based latent spaces than with vision-centric or joint text-image spaces.
- Object-Centricity is Critical for Fidelity: Reconstructing images by focusing on individual objects and their spatial relationships, rather than holistic representations, significantly improves the accuracy and interpretability of decoded visual stimuli.
- Prism Achieves SOTA Performance: The Prism framework, combining text-space alignment and object-centric generation, sets a new benchmark for fMRI-to-image reconstruction quality.
- Spatial Information is Key in Brain Encoding: The brain's representation of visual scenes strongly emphasizes spatial relationships between objects, as evidenced by the attribute relationship search module.
- Specific Brain Regions Link to Concepts: The precuneus is strongly associated with spatial concepts, while the V-M-V-1 area is linked to functional concepts, providing neuroscientific validation for the model's approach.
- Potential for Advanced BCIs: These findings pave the way for more precise brain-computer interfaces, silent communication, and tools for visualizing subjective visual experiences like dreams.
About the Speaker(s)
The talk was presented by Yujun Yan, representing a collaborative research effort between Dartmouth and other institutions. While specific titles for all listed speakers (Zheng Huang, Enpei Zhang, Weikang Qiu, Yinghao Cai, Carl Yang, Elynn Chen, Xiang Zhang, Rex Ying, Dawei Zhou, Yujun Yan) were not detailed in the transcript, the presentation highlighted that this was a team-based project. Yujun Yan, as the primary presenter, effectively communicated the complex technical details and significant findings of this cutting-edge research in brain decoding. The collaborative nature of the work underscores the interdisciplinary expertise required to tackle challenges at the intersection of neuroscience and artificial intelligence.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026