MindAligner: Explicit Brain Functional Alignment for Cross-Subject Visual Decoding from Limited fMRI Data

Yuqin Dai, Zhouheng Yao, Chunfeng Song, Qihao Zheng, Weijian Mai, Kunyu Peng, Shuai Lu, Wanli Ouyang, Jian Yang, Jiamin Wu

Introduction

Brain decoding—the process of reconstructing visual stimuli from functional Magnetic Resonance Imaging (fMRI) signals—has traditionally been constrained by the unique functional and structural architecture of the individual human brain. Because neural representations of visual information vary significantly across subjects, a model trained on one person’s brain activity typically fails to generalize to another. This "one-model-per-person" paradigm creates a significant bottleneck: fMRI data collection is expensive, time-consuming, and physically demanding for participants, making it difficult to scale brain-computer interfaces (BCIs) or research studies.

Existing cross-subject methods often attempt to solve this through "implicit alignment," mapping multiple subjects into a shared, abstract latent space. However, this approach often results in a "compromise" representation that loses fine-grained functional details. MindAligner introduces an explicit functional alignment framework. Instead of seeking a middle ground, it learns to map a new subject's brain activity directly onto the voxel space of a well-characterized "reference" subject, achieving state-of-the-art reconstruction accuracy with as little as one hour of data.

Methodology: The Brain Transfer Matrix

The core innovation of MindAligner is the Brain Transfer Matrix (BTM). This matrix ($M$) explicitly transforms the fMRI signals of a novel subject ($S_N$) into the voxel space of a known reference subject ($S_K$). This approach preserves the high-resolution functional characteristics of the reference subject’s decoding model while adapting it to the new user.

Low-Rank Decomposition

To ensure the model remains lightweight and avoids overfitting—especially when training data is scarce—the BTM is implemented using low-rank decomposition. By decomposing the matrix into two smaller matrices ($A$ and $B$), the researchers reduced the number of trainable parameters to approximately 6% of the total model size. This efficiency is critical for adapting models to new subjects in clinical or real-world settings where long scanning sessions are impractical.

Brain Functional Alignment (BFA) Module

A significant challenge in cross-subject alignment is that different subjects in a dataset rarely view the exact same images at the same time. To address this, MindAligner employs a Brain Functional Alignment (BFA) module featuring a Cross-stimulus Neural Mapper. This mapper leverages visual semantic features from CLIP (Contrastive Language-Image Pre-training) to "translate" brain activity between subjects even when they are viewing different, but semantically related, images. The model is optimized using a multi-level loss function that combines signal-level reconstruction, KL divergence for distribution matching, and latent alignment to ensure semantically similar brain activities are grouped together.

Experimental Setup and Data Efficiency

The researchers evaluated MindAligner using the Natural Scenes Dataset (NSD), the largest open-source fMRI dataset available, featuring high-resolution 7T scans of subjects viewing thousands of complex images from the MSCOCO dataset.

To test the framework's robustness under data-scarce conditions, the team simulated a "limited data" scenario where only one hour of fMRI data (roughly 2.5% of the full NSD dataset) was available for the new subject. This represents a significant reduction in the data requirement compared to traditional subject-specific training, which often requires dozens of hours of scanning.

Key Insights and Results

MindAligner consistently outperformed previous state-of-the-art (SOTA) methods, including MindEye2 and MindBridge, across both low-level (pixel-wise) and high-level (semantic) metrics.

  • Performance Gains: The model achieved a 17.9% improvement in brain retrieval performance over existing baselines.
  • Reconstruction Quality: Even with the one-hour data constraint, MindAligner produced reconstructions that were more visually coherent and semantically accurate than competing models.
  • Functional Variability: The study’s functional analysis confirmed that while the "Early Visual" cortex is relatively consistent across individuals, the "ventral stream" (the "what" pathway) shows the highest inter-subject variability. This suggests that higher-level visual processing is more deeply influenced by individual experience and cognitive bias, making explicit alignment even more necessary for these regions.
  • Reference Independence: Interestingly, the choice of the reference subject did not significantly impact the final decoding quality, indicating that the BTM successfully captures fundamental functional correspondences that exist across the human population.

Conclusion

MindAligner demonstrates that explicit functional alignment is a powerful strategy for overcoming the challenges of inter-subject variability and data scarcity in brain decoding. By mapping new subjects directly to a high-performing reference space, the framework enables high-quality visual reconstruction with minimal data.

Future work will focus on "zero-shot" alignment—eliminating the need for any calibration data from new subjects—and exploring the potential for cross-species functional mapping. These advancements could pave the way for more accessible and versatile brain-computer interfaces in both research and clinical applications.

Summary updated

BibTeX
@inproceedings{dai2025mindaligner,
  author = {Yuqin Dai and Zhouheng Yao and Chunfeng Song and Qihao Zheng and Weijian Mai and Kunyu Peng and Shuai Lu and Wanli Ouyang and Jian Yang and Jiamin Wu},
  title = {{MindAligner: Explicit Brain Functional Alignment for Cross-Subject Visual Decoding from Limited fMRI Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=1W2WlYRq0K},
}
Figure