Aligning Brains Module by Module: Category-Shaped Cross-Subject Alignment for Few-Hour fMRI Decoding

Brain decoders that turn functional MRI (fMRI) scans into images or captions work well for people scanned for tens of hours. They work poorly for a new person with one hour of data, because no two brains put the same function in exactly the same place. The standard fix warps every brain onto a shared anatomical template. That lines up folds and landmarks but not function. A second family of methods, called functional alignment, instead learns a mapping between people from their responses to the same images. These methods usually fit one mapping for the whole visual cortex, or one per anatomical chunk. We propose to draw the alignment boundaries where vision science says the brain draws them: around category-selective modules, the patches of cortex that respond preferentially to faces, bodies, scenes, or words. Each module gets its own small cross-subject map. Early visual cortex, whose layout really is shared across people, is handled with template coordinates and location-specific weights instead.

The argument has two parts. Computational work argues that these modules exist because faces, scenes, and objects each need their own rules for handling viewpoint and lighting, and those rules do not transfer across categories (Why The Brain Separates Face Recognition From Object Recognition, The Invariance Hypothesis Implies Domain-Specific Regions in Visual Cortex). Decoding work finds that the higher-level ventral visual stream, where these modules sit, is also where people differ most (MindAligner). If both hold, alignment that respects module boundaries should beat alignment that ignores them, at the same parameter count and the same calibration budget. The test is cheap, and the answer is informative either way.

Core Claim

Our claim is that, for adapting a multi-subject visual decoder to a new person, the unit of functional alignment should be the category module. This should hold even after controlling for how many pieces the cortex is cut into, how big they are, and how many parameters the alignment uses. The specific prediction is that module-defined pieces beat anatomical parcels and random contiguous pieces of matched size. The gain should concentrate on stimuli containing the module's preferred category and in ventral rather than early visual cortex.

A second, more mechanistic prediction also follows from the invariance account. A face module's cross-subject map fitted only on face-containing images should align held-out face images better than a map of equal capacity fitted on scene images. The reverse should hold for scene modules. If neither prediction holds, the useful conclusion is that granularity matters and category does not. We would report that directly.

Relation to Prior Work

Three lines of work motivate the gap. Comparisons of anatomical and functional alignment show that template registration leaves real misalignment. An empirical evaluation of functional alignment using inter-subject decoding attributes an ~8.5% accuracy drop to inter-subject variability and finds that functional alignment recovers about 5% of it. It also finds that piecewise, parcel-constrained alignment beats unconstrained searchlight methods. Through their eyes shows that whole-cortex ridge regression on the ~982 shared Natural Scenes Dataset (NSD) images, about 10% of the data, reaches reconstruction quality comparable to 20-hour training, and beats template alignment. MindAligner maps a new subject into a reference subject's voxel space with a low-rank matrix. It reports a 17.9% retrieval improvement over baselines with one hour of data, and it localizes the highest variability to the ventral stream.

None of these three uses category modules as the alignment unit. The parcel-based work cuts along anatomical or data-driven parcels. Ridge regression and MindAligner use one map for all visual voxels. MindAligner also anchors everything to one person's idiosyncratic coordinates rather than to a shared template.

Two works supply methods we reuse. Harnessing spatial MRI normalization: patch individual filter layers for CNNs shows that after template registration, giving each spatial patch its own filters beats a single shared convolution. It reports 78.11% versus 64.47% balanced accuracy for sex classification with 20% of the data. That work used structural scans only; we apply the idea to early visual cortex in functional data. WiCAT anchors cortical patches to the Allen mouse atlas for zero-shot cross-mouse decoding. Its evidence comes from rodent widefield imaging and motor behavior, not human category perception.

The multimodal decoders constrain the design and also serve as targets. UMBRAE aligns fMRI to intermediate layers of the CLIP image encoder (a vision model trained to match images with captions) and feeds the result into a multimodal language model for captioning, retrieval, and grounding. It uses unanchored per-subject linear tokenizers and degrades on inconspicuous objects. Mind-Omni registers everyone to the MNI152 template and tokenizes all voxels uniformly. MoRE-Brain learns a routed mixture of experts whose experts specialize emergently, and adapts new subjects by recalibrating routers.

MoRE-Brain is the closest cousin. Its modularity lives in the decoder and is learned without anatomical or category anchoring. Ours lives in the cross-subject alignment and is fixed in advance by biology. That makes it possible to test whether the biology is the useful part. We keep the downstream decoder generic on purpose, so that any gain is attributable to the alignment.

Research Program

Each subject's cortex is first registered to a standard surface template. This registration does not do the alignment itself. It provides correspondence labels, telling us which face module in a new subject corresponds to which face module in the training cohort, and it fixes coordinates for early visual cortex.

Next we define each subject's category modules from that subject's own NSD responses. We contrast trials whose COCO annotations contain people or faces, animals, indoor or outdoor scenes, and text against the remaining trials. We then keep the selective clusters nearest each module's atlas-expected location. With one hour of new-subject data these maps will be noisy, so we measure their split-half reliability and report how decoding degrades as the localization budget shrinks.

The alignment itself is a set of small maps into a shared latent space learned on the training cohort. For subject $s$ and module $k$, the module's voxel response $x_k^s$ is mapped to the shared module code

$$z_k = A_k^s B_k^s x_k^s,$$

where $B_k^s$ projects the module's voxels to rank $r$ and $A_k^s$ maps that into the shared space. This is MindAligner's low-rank form, applied per module and targeting a shared template-anchored space instead of a single reference person.

Early visual areas V1–V3 are resampled onto template coordinates and processed with patch-individual weights in the style of the patch-individual-filter work. Voxels outside any module fall into a residual piece with its own map.

The concatenated shared codes feed one decoder that is identical across all conditions. That decoder predicts intermediate CLIP features, UMBRAE-style, for retrieval and captioning, and conditions an off-the-shelf diffusion image generator for reconstruction. The comparison of interest is always between alignment schemes. The decoder, training data, and calibration data are held fixed.

Baselines

The naive reference point is template-only alignment. Every subject is warped to MNI or surface template space and the same decoder is trained on pooled voxels, as in Mind-Omni's multi-subject setup. Prior work predicts it will lose. It tells us how much any functional alignment buys in our pipeline, and it is the configuration most large models still use.

The strongest simple competitor is whole-cortex ridge-regression alignment fitted on the shared NSD images, following Through their eyes. That paper found ridge regression beat both anatomical alignment and hyperalignment. Lacuna lists no absolute retrieval number for it, so we will rerun it ourselves.

The strongest published method for the one-hour regime is MindAligner's whole-cortex low-rank transfer. It reports a 17.9% retrieval improvement over prior baselines with roughly 2.5% of the data; Lacuna gives no absolute retrieval accuracy for this setting. We will reimplement it at the same rank budget as our summed module maps.

For the data-rich ceiling we cite UMBRAE's reported 94.2% retrieval accuracy (pool of 300) and 61.06 CIDEr captioning on BrainHub. For efficient multi-subject models we cite VoxelFormer's 74.3% forward and 73.1% backward retrieval (pool of 300, NSD S2–S7). These come from far more training data than our adaptation regime, so we will rerun UMBRAE's per-subject linear tokenizer at the one-hour budget rather than compare against these headline figures.

The two ablations that isolate our key ingredient are piecewise alignment with matched pieces. In one, pieces are anatomical parcels; in the other, they are random contiguous cortical chunks. Both match our module scheme in number of pieces, voxel counts per piece, and total rank. This is the parcel-constrained approach that An empirical evaluation of functional alignment found strongest among their methods.

A further ablation swaps the patch-individual early-visual pathway for module-style functional maps, and vice versa. All methods get the same calibration images, the same decoder, the same hyperparameter-search budget (an equal number of trials on a held-out validation split), and the same compute.

Beating the baselines means two things. First, a statistically reliable gain in held-out 300-way retrieval and captioning over the matched-parcel ablation at one hour of calibration, consistent across leave-one-subject-out folds. Second, a gain concentrated on images containing each module's preferred category. A gain only over template alignment would not count.

Why not just…?

Why not just use piecewise functional alignment on a standard parcellation? This is the real threat. Parcel-constrained alignment already beats whole-cortex methods, and category modules might help only because they are compact pieces. The matched-size anatomical and random-chunk ablations exist to settle this. If they match our scheme, we will report that piece size, not category identity, is what matters, and drop the category claim.

Why not just fit one ridge regression or low-rank map over the whole visual cortex? It is simple, and Through their eyes shows it works with 10% of the data. But one map has to trade early-visual layout off against ventral semantics. That paper itself notes that functional alignment preserves shared concepts while losing individual retinotopic detail. Our early-visual ablation measures whether splitting the two recovers low-level reconstruction metrics without hurting semantic retrieval.

Why not just train a per-subject linear adapter into CLIP space, or recalibrate a learned router as in MoRE-Brain? Per-subject adapters drove MindEye1 to 940M parameters, according to VoxelFormer, and they need many hours of scans. MoRE-Brain's router recalibration does adapt with 2.5–10% of the data, so it is a legitimate competitor. We will run router-only recalibration of a generic routed decoder at the same one-hour budget. If it equals module alignment, that argues the network can discover modularity from data, and the advantage of fixing it in advance is gone.

Decisive Experiments

The main experiment uses NSD in a leave-one-subject-out design. We train the shared space and decoder on the remaining subjects, then adapt to the held-out subject using calibration sets of 1, 2, 4, and 10 hours drawn from the shared images. We report 300-way image and brain retrieval, BrainHub captioning (CIDEr), and standard low- and high-level reconstruction scores. All results are stratified by image category, including UMBRAE's weak spot of non-salient objects.

The second experiment is the category-conditional transfer test. For each module we fit maps on face-containing, scene-only, or random shared images of equal number, then score alignment quality as held-out correlation in the shared space on each category. The invariance account predicts a crossover interaction: face modules align best on face images with face-fitted maps, and scene modules on scene images with scene-fitted maps. Random-chunk pieces should show no such interaction.

The third experiment checks generality using the functional-alignment benchmark protocol of An empirical evaluation of functional alignment on BOLD5000. There we ask whether module pieces close more of the ~8.5% inter-subject gap than parcel pieces.

A clean result would be a category-specific gain over matched parcels plus the crossover interaction. That would be evidence that cross-subject variability in ventral cortex is organized by category, and it would give a cheap alignment layer usable by any multimodal decoder. A null on both would be equally clear, and would redirect effort toward learned granularity.