arXiv:2610.09352cs.HCOct 2026

Manuscript Offprint

arXiv:2610.09352

Many Brains, One Geometry: A Shared Visual-Semantic Space for Cross-Dataset fMRI Decoding

Moein Khajehnejad, Michelangelo Tronti, Forough Habibollahi, Tommaso Boccato, Matteo Ferrante, Nicola Toschi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Moein Khajehnejad 1,2,a^{1,2,a}, Michelangelo Tronti 3,a^{3,a}, Forough Habibollahi 1^{1}, Tommaso Boccato 1^{1}, Matteo Ferrante 1,3^{1,3}, Nicola Toschi 3^{3}

1^{1}Tether Evo, 2^{2}Turner Institute for Brain and Mental Health, Monash University, 3^{3}The University of Rome Tor Vergata

Visual decoding from fMRI is typically siloed by participant and experiment, obscuring whether heterogeneous neural measurements can be organized within a common computational geometry. Here we introduce BRAID-fMRI (Brain Representation Alignment across Individuals and Datasets), a shared CLIP-supervised decoding framework. BRAID-fMRI uses a single ROI-wise Transformer with optional participant conditioning across eight visual-fMRI datasets comprising 93 dataset-specific participant entries, 430,007 single-trial responses and 162,839 unique stimuli. Regional brain activity is aligned with 512-dimensional CLIP ViT-B/32 representations using a multi-positive contrastive objective that treats repeated stimuli across participants and datasets as positives. BRAID-fMRI supports retrieval across seven evaluation datasets. On eight matched participant entries, it achieves 35.0±11.1%35.0 \pm 11.1\% Top-10 accuracy, exceeding the observed mean accuracy of the two evaluated baselines—the MindEye-style pooled-CLIP decoder ( 27.1±5.1%27.1 \pm 5.1\%) and ridge regression ( 21.1±9.1%21.1 \pm 9.1\%)—and attaining the highest observed accuracy for seven of eight entries. In separately trained participant-agnostic models, expanding the source pool increased target-dataset holdout accuracy by up to 92.1% relative to the initial source-training condition. The learned space preserves graded semantic structure, while ablations and saliency highlight ventral and early visual cortex and category-specific motion and attentional systems. These results support scalable cross-dataset decoding into a common CLIP-aligned space, with model sensitivity concentrated in ventral and early visual inputs.

a^{a}The authors contributed equally to this manuscript.

Introduction

Modern visual neuroscience faces a paradox: fMRI datasets are becoming larger and visual decoders increasingly powerful, yet the resulting models remain largely confined to the participants and experiments on which they were trained. Individual studies differ in participants, scanners, acquisition protocols, experimental tasks, stimulus distributions and sampling density. Consequently, visual decoders are commonly developed for one participant or one dataset at a time, yielding highly optimized but fragmented models that are difficult to compare, scale or transfer across studies. This fragmentation leaves a fundamental question unresolved: can heterogeneous neural measurements support a common visual representational geometry that transfers to participants and experiments never encountered during training? A related challenge is to determine whether such commonality reflects structure preserved in the neural representations themselves, rather than simply their alignment to the same pretrained visual target space.

Visual decoding from fMRI has progressed substantially over the past two decades. Early encoding-based approaches demonstrated that activity in visual cortex could identify previously unseen natural images [1], while subsequent work used deep neural representations and generative priors to reconstruct increasingly complex visual content from brain activity [2, 3]. More recently, large vision-language models such as CLIP [4] have provided a semantically structured target space in which neural responses can be aligned with natural images, enabling high-accuracy retrieval and reconstruction [5, 6, 7]. Voxelwise encoding studies additionally show that CLIP features predict held-out responses in high-level visual cortex [8], supporting their use as a shared visual target without establishing that their distances reproduce native cortical geometry. Large, densely sampled resources such as the Natural Scenes Dataset have been central to this progress [9]. However, much of the strongest performance has been obtained by fitting or adapting mappings to extensively sampled participants within a single experimental setting. Recent approaches have begun to share information across participants. MindEye2, for example, pretrains across participants before adapting to a new individual [6], but such transfer has largely involved participant-specific adaptation within a common dataset and acquisition regime. Other recent work has extended this direction across datasets: NeuroFusion jointly learns across datasets and also evaluates leave-one-dataset-out transfer with target-specific alignment-layer adaptation [10]. Brain-IT shares functional voxel-cluster processing across NSD participants and adapts target voxel embeddings for a new participant [11]. Zero-shot participant transfer has been demonstrated within NSD by ZEBRA [12] and across participants held out from jointly represented datasets by PictorialCortex [13]. TRIBE v2 synthetic-only decoders additionally retrieve images from datasets excluded from the response generator's pretraining [14].

A complementary line of work has shown that neural representations themselves contain structure shared across individuals. Hyperalignment identifies high-dimensional transformations that place participant-specific cortical responses into a common representational space [15], while shared-response models explicitly factor multi-participant fMRI data into individual mappings and a shared latent response [16]. Representational similarity analysis provides a complementary framework for comparing the geometry of neural and computational representations independently of their native coordinate systems [17, 18]. Recent work has gone further, showing that independently learned participant-specific fMRI spaces within NSD can exhibit approximately isometric geometry and be related through unsupervised orthogonal transformations [19]. Those spaces were learned from repeated neural measurements without visual-model targets; here, geometry is evaluated after supervised alignment to CLIP. Together, these studies establish that common structure can be recovered across people under coordinated experimental conditions. Cross-dataset learning poses a more stringent problem: inter-individual variability is compounded by differences in scanner hardware, spatial and temporal resolution, experimental design, stimulus statistics, and the amount of data available for each participant. It therefore remains unclear whether a common relational geometry persists when representations are learned jointly across independently acquired datasets, and whether that geometry can support direct transfer to participants and experiments absent from training.

MOSAIC makes it possible to test this question at a substantially broader scale [20]. The resource harmonizes eight independently collected visual-fMRI datasets: the Natural Scenes Dataset (NSD), THINGS-fMRI (THINGS), Deeprecon, BOLD5000, the BOLD Moments Dataset (BMD), Generic Object Decoding (GOD), the Human Actions Dataset (HAD) and the Natural Object Dataset (NOD). MOSAIC comprises 93 dataset-specific participant entries from 77 individuals, 430,007 single-trial fMRI-stimulus pairs and 162,839 unique stimuli. Data are uniformly reprocessed with fMRIPrep, registered to the fsLR32k cortical surface and converted to single-trial beta estimates with GLMsingle, with curated splits preventing duplicate or perceptually similar train-test stimuli. These datasets sample different portions of both the human population and the visual world. MOSAIC itself establishes a framework for aggregating these datasets and demonstrates the value of multi-dataset training for brain encoding. Here we use this harmonized resource to address a distinct decoding question: whether neural responses from all eight datasets can be mapped by one shared model into the same visual-semantic coordinate system, whether that mapping transfers without target-participant calibration, and whether its internal brain-space geometry is shared across datasets. Rather than treating this heterogeneity solely as nuisance variation to be removed, we ask whether it can provide complementary training signal from which a representation transferable across both datasets and individuals can emerge.

We address this question with a single ROI-wise brain-to-CLIP model trained jointly across all eight datasets. Anatomically corresponding regions of interest are mapped into a common token space using ROI-specific encoders, augmented with learned ROI embeddings and, when used, participant embeddings, and integrated by a Transformer shared across every participant and dataset [21] (Fig. 1). Attention pooling produces a brain representation projected into the frozen 512-dimensional image-embedding space of CLIP ViT-B/32 [4]. A symmetric multi-positive contrastive objective allows repeated observations of the same stimulus, including repetitions across participants or datasets, to reinforce a common representation rather than act as false negatives. Learned participant embeddings provide a lightweight mechanism for accommodating participant-specific variation when identity is available, paralleling the participant alignment or adaptation used in previous cross-participant decoders [22, 6]. Crucially, participant conditioning is optional; disabling participant embeddings provides a participant-agnostic shared encoder that can be evaluated directly on participants and datasets absent from training. This design therefore separates two questions that are often conflated: whether participant-specific conditioning can accommodate individual variation when identity is known, and whether the shared representation itself is sufficiently invariant to operate without such conditioning.

We find that a single model supports stimulus retrieval across seven evaluation datasets and, across eight matched participants, performs best for seven relative to Ridge regression [23] and a MindEye-style retrieval baseline. Following Benchetrit et al. [14], this MindEye-style comparison predicts a single pooled CLIP embedding for retrieval, without the diffusion prior or image reconstruction used in the full MindEye framework [5]. Separately trained participant-agnostic models also support target-dataset holdout retrieval without fitting participant embeddings. Expanding the source pretraining pool was associated with relative gains of up to 92.1% in target-dataset holdout accuracy; this comparison jointly changes dataset diversity and the amount of training data. Within the CLIP-supervised prediction space, representations exhibit a graded hierarchy from stimulus identity to semantic relatedness, and category-level geometry shows correspondence among the evaluable dataset pairs. Functional-network ablations and ROI-level saliency further reveal a common dependence on early and ventral visual systems alongside category-dependent contributions from motion and attentional networks. Our contribution is the joint evaluation of one anatomically indexed decoder across heterogeneous visual-fMRI datasets: matched-participant retrieval, target-dataset holdout transfer without fitted participant embeddings, and characterization of semantic geometry and anatomical sensitivity within the CLIP-supervised prediction space.

References (31)