Duala: Dual-Level Alignment of Subjects and Stimuli for Cross-Subject fMRI Decoding

Shumeng Li, Jintao Guo, Jian Zhang, Yulin Zhou, Luyang Cao, Yinghuan Shi

TL;DR

Adapting fMRI visual decoding models to new individuals typically suffers from a severe drop in performance due to individual brain differences and a collapse of semantic boundaries during fine-tuning. Duala overcomes this challenge with a dual-level alignment framework that preserves the semantic relationships of visual stimuli while using distribution-based feature perturbations to safely adapt to subject-specific neural variations. Even when fine-tuned on just one hour of fMRI data, Duala achieves state-of-the-art image-to-brain retrieval and high-fidelity visual reconstruction.

What Problem Does This Paper Address?

Reading visual experiences directly from human brain activity (fMRI decoding) holds massive potential for brain-computer interfaces (BCIs). However, everyone's brain is wired differently; cortical anatomy and cognitive patterns vary wildly across individuals.

While we can pre-train models on a group of subjects, adapting these models to a new subject with limited data is notoriously difficult. The authors point out a critical flaw in standard fine-tuning: it often destroys the robust neural-visual mappings learned during pre-training. This manifests as two core challenges:

  1. Stimulus-level Inconsistency: Fine-tuning often causes distinct semantic categories to blur together in the model's latent space, destroying class boundaries.
  2. Subject-level Misalignment: In large-scale datasets, different subjects rarely view the exact same images. This lack of overlapping stimuli makes direct, one-to-one functional alignment across subjects unfeasible.
Figure 1. Effectiveness of fine-tuning on retrieval performance and t-SNE visualization. The pre-trained model achieves a high retrieval performance, indicating strong generalization to unseen stimuli. However, after fine-tuning on data from a new subject, the retrieval performance drops significantly. Additionally, the t-SNE visualization of the pre-trained model shows clear class boundaries for the subject’s stimuli, while the t-SNE of the fine-tuned model on the new subject reveals blurry class boundaries, indicating that the fine-tuning process does not preserve the semantic structure as effectively for the new subject.

Methods

The authors introduce Duala, a dual-level alignment framework designed to handle both stimulus-level consistency and subject-level adaptation simultaneously.

Figure 3. Overview of our Duala framework. Stimulus-level Semantic Preservation maintains the semantic structure of visual representa- tions, and Subject-level Distribution Perturbation enhances cross-subject adaptability.

Duala builds on top of a frozen pre-trained backbone (MindEye2) and introduces parameter-efficient LoRA adapters. It introduces two novel modules:

  • Stimulus-level Semantic Preservation (SSP): To keep category boundaries sharp, this module applies two constraints. First, a Semantic Alignment Loss (a triplet loss) ensures that brain responses to images of the same category (e.g., dogs) cluster together, while pushing different categories (e.g., giraffes) apart. Second, a Relational Consistency Loss forces the new subject's category similarity matrix to match a reference semantic geometry inherited from the pre-trained subjects.
  • Subject-level Distribution Perturbation (SDP): This module decomposes fMRI features into a shared stimulus-driven factor and an idiosyncratic subject-specific factor. By calculating the mean and subject-specific deviations across the pre-trained source subjects, SDP injects realistic Gaussian perturbations into the new subject's features. This acts as a powerful regularizer, helping the model adapt to individual differences without overfitting to limited data.

Datasets

The framework was evaluated on the Natural Scenes Dataset (NSD), one of the largest publicly available fMRI datasets for visual decoding, where subjects view complex natural images from the MSCOCO collection. To replicate a realistic, data-scarce deployment scenario, the authors use only one single session of fMRI data (approximately 1 hour, or ~2.5% of the full dataset) per new subject for fine-tuning.

Key Insights and Ideas

  • The Fine-Tuning Paradox: Naive fine-tuning on a new subject actually harms the model's structural understanding of semantics. It optimizes for the individual's data at the cost of erasing the global category boundaries learned during pre-training.
  • Aligning Geometry, Not Points: Because different subjects see different images, trying to force a direct one-to-one alignment of brain responses fails. Duala succeeds by aligning the relational geometry—ensuring that the conceptual distance between a "bus" and a "car" remains consistent across all brains.
  • Leveraging Cross-Subject Variance as Augmentation: Instead of treating cross-subject variation purely as noise, SDP uses the variance observed in the source subjects to simulate plausible neural variations for the new subject, preventing the model from overfitting to a single hour of data.

Key Results

  • Superior Retrieval Performance: Duala achieves an average 81.1% brain retrieval accuracy (matching an image to its corresponding brain response) and 84.5% image retrieval accuracy. This significantly beats the baseline MindEye2 model, which drops to 57.4% brain retrieval accuracy upon standard fine-tuning.
  • High-Fidelity Reconstructions: Duala consistently outperforms state-of-the-art methods across both low-level structural metrics (Pixel Correlation) and high-level semantic metrics (Inception, CLIP), yielding reconstructed images that accurately preserve the correct category of the stimulus.
  • Extreme Parameter Efficiency: By utilizing LoRA adapters, Duala only trains 4.68M parameters in its MLP module (69.09M total parameters), compared to MindEye2's massive 2.2 billion parameters, ensuring fast and stable training.

Limitations and Future Work

The authors do not explicitly detail limitations in the text. However, some apparent challenges include:

  • Backbone Dependency: Duala relies heavily on the quality of the underlying pre-trained cross-subject model (like MindEye2).
  • Dataset Scope: The method was validated primarily on the NSD dataset; its performance on more unconstrained, real-time, or noisy consumer-grade BCI data remains an open question for future research.

Summary updated

BibTeX
@inproceedings{li2026duala,
  author = {Shumeng Li and Jintao Guo and Jian Zhang and Yulin Zhou and Luyang Cao and Yinghuan Shi},
  title = {{Duala: Dual-Level Alignment of Subjects and Stimuli for Cross-Subject fMRI Decoding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Jt2Wa0oDel},
}
Figure