BrainMCLIP: Brain Image Decoding with Multi-Layer feature Fusion of CLIP

Tian Xia, Zihan Ma, Xinlong Wang, Qing Liu, Xiaowei He, Tianming Liu, Yudan RenarXiv 2025

TL;DR

BrainMCLIP is a parameter-efficient framework that reconstructs images from fMRI brain signals by mimicking the human visual cortex's functional hierarchy. By mapping distinct brain regions to both intermediate and final layers of the CLIP vision model, it eliminates the need for complex, parameter-heavy Variational Autoencoder (VAE) pipelines. This biologically inspired approach achieves state-of-the-art semantic reconstruction while slashing model parameters by 71.7% compared to top competing methods.

What Problem Does This Paper Address?

Reconstructing what a person sees from their functional Magnetic Resonance Imaging (fMRI) brain activity is a holy grail for brain-computer interfaces (BCIs). Recent breakthroughs typically map fMRI signals to the final semantic layer of vision-language models like CLIP, using the predicted embeddings to guide generative diffusion models.

However, this standard approach suffers from two major flaws:

  1. Loss of Detail: CLIP's final layer excels at abstract semantics but discards fine-grained visual details (like edges, shapes, and textures). To recover these details, current state-of-the-art (SOTA) methods stack a separate, parameter-heavy VAE mapping pipeline on top, drastically increasing architectural complexity.
  2. Ignoring Brain Hierarchy: The human visual cortex is inherently hierarchical. Early visual areas (V1–V3) process basic features, while higher-level areas (like the lateral occipital complex) integrate them into complex objects. Uniformly mapping the entire visual cortex to CLIP's final layer ignores this biological reality.

BrainMCLIP addresses these gaps by showing that CLIP’s own intermediate layers already contain the necessary fine-grained details, and that aligning specific brain regions to corresponding network layers yields superior, highly efficient reconstructions.

Methods

The authors introduce a dual-branch architecture (Text and Image branches) that processes fMRI data split by functional region:

Figure 3: Overview of BrainMCLIP. BrainMCLIP consists of Text and Image branches, both employing an MLP-based backbone and fMRI-to-image decoders. The Text branch aligns fMRI features with the final layer features of the CLIP Text model, while the Image branch aligns them with the fused features from the CLIP Vision model. A Cross-reconstruction module in the Image branch prevents noise learning and improves performance.
  • Neuro-Inspired Hierarchical Mapping: The authors categorize fMRI voxels into fMRI-Detail (low-level visual regions processing edges/colors) and fMRI-Semantic (high-level regions processing categories/faces). fMRI-Detail is mapped to CLIP's intermediate layers (layers 11–20), while fMRI-Semantic is mapped to the final layer (layer 24).
  • Cross-Reconstruction Mechanism: Intermediate layers in deep networks can be noisy. To prevent the model from learning semantically irrelevant distortions, BrainMCLIP uses a cross-reconstruction module. It forces the detail encoder's features to help reconstruct semantic fMRI signals and vice versa, acting as a regularizer that suppresses noise.
  • Multi-Granularity Loss ($L_{MG}$): Instead of relying solely on standard Mean Squared Error (MSE), the authors combine global alignment via Centered Kernel Alignment (CKA) loss with token-level fine-grained alignment via a custom cosine similarity loss ($L_{Sims}$).

Datasets

The model was trained and evaluated on the Natural Scenes Dataset (NSD), a massive benchmark containing high-resolution 7T fMRI responses from subjects viewing thousands of complex natural images. The authors specifically utilized the 'NSDGeneral' region of interest (ROI) to segment the low-level and high-level visual subregions.

Key Insights and Ideas

  • CLIP Already Knows the Details: Instead of training an entirely separate VAE model to capture structural details, we can simply look inside CLIP's intermediate layers. As shown in Representational Similarity Analysis (RSA), intermediate CLIP layers naturally correlate strongly with early biological visual areas.
  • The "Fused" Sweet Spot: Reconstructing images purely from intermediate layers captures fine details but introduces severe semantic distortions. Reconstructing purely from the final layer yields the right type of object but gets the details wrong. Averaging these representations ("Fused") strikes the perfect balance.
Figure 1: Reconstructions guided by different CLIP vision layers reveal a clear trade-off. Intermediate layers capture fine details but introduce semantic noise (red boxes), while the final layer ensures semantic consistency at the cost of detail accuracy (blue boxes). Our proposed fusion of inter- mediate (layers 10-20) and final layers (’Fused’) achieves a compelling balance between detail fidelity and semantic co- herence. More results are shown in Appendix.A.

Key Results

BrainMCLIP was compared against six SOTA methods, categorized by whether they use a VAE pipeline (Table 1) or rely solely on CLIP features (Table 2).

  • Massive Parameter Reduction: BrainMCLIP achieves highly competitive performance to top VAE-reliant models like MindEye2 while using 71.7% fewer parameters (0.73B vs 2.58B).
  • Superior Semantic Accuracy: When compared to other CLIP-only methods (without VAEs), BrainMCLIP consistently outperforms them across both low-level (PixCorr, AlexNet) and high-level (Inception, CLIP, SwAV) metrics.
Figure 5: The image reconstruction results of BrainMCLIP. We show more results in Appendix.F.

Ablation studies confirmed that removing either the intermediate detail pathway or the cross-reconstruction module caused a significant drop in decoding performance, validating the framework's core design choices.

Limitations and Future Work

While highly efficient, the current implementation of BrainMCLIP focuses primarily on a subject-specific setting, meaning the model must be calibrated to individual brains. The authors note that expanding this hierarchical fusion approach to robust, cross-subject decoding frameworks (where a single model generalizes across different individuals' brains) remains an important direction for future research.

Summary updated

BibTeX
@misc{xia2025brainmclip,
  author = {Tian Xia and Zihan Ma and Xinlong Wang and Qing Liu and Xiaowei He and Tianming Liu and Yudan Ren},
  title = {{BrainMCLIP: Brain Image Decoding with Multi-Layer feature Fusion of CLIP}},
  year = {2025},
  eprint = {2510.19332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.19332},
}
Figure