FlatClip: Reusing Image Foundation Models for fMRI Representation Learning via Cortical Flatmaps

Mo Wang, Wenhao Ye, Zihan Ning, Jiayu Zuo, Junfeng Xia, Hongkai Wen, Quanying LiuNeurIPS 2026

TL;DR

What if an off-the-shelf computer vision model—trained strictly on natural photos and text, never having seen a brain scan—could read fMRI data? By unfolding the human cortex into 2D "flatmaps" like a Mercator projection of the Earth, FlatClip feeds brain activity directly into a frozen image foundation model (SigLIP2). Training only a tiny downstream classifier, it beats specialized brain foundation models on several tasks, proving that preserving the spatial layout of the brain lets us piggyback on the massive representational power of modern vision encoders.

What Problem Does This Paper Address?

Functional MRI (fMRI) captures blood flow in the brain as a 4D signal (3D space + time). Currently, building foundation models for fMRI involves an awkward Goldilocks dilemma:

  • Too coarse (ROI-level): Many models parcel the brain into a few hundred predefined Regions of Interest (ROIs) and average the signal inside each. It’s computationally cheap, right up until you realize you’ve blurred away fine-grained spatial geometry.
  • Too heavy (Voxel-level): Operating directly on native 3D/4D volumes preserves rich detail, but demands massive compute, specialized 4D architectures, and heavy storage.

Meanwhile, neuroscience has shown that macroscopic brain activity closely follows geometric patterns along the folded cortical sheet. So the authors ask a wonderfully pragmatic question: Instead of pretraining giant 4D neuroimaging models from scratch, can we unfold the cortical surface into 2D images and reuse frozen, web-scale vision foundation models?

Methods

FlatClip acts as a bridge between neuroimaging and standard 2D computer vision in three clean steps:

  1. Cortical Flatmap Rendering (Standard Tooling, New Context): Volumetric fMRI signals are projected onto the cortical surface mesh and unfolded into deterministic 2D RGB images ("flatmaps") using Pycortex, a standard neuroimaging visualization tool.
  2. Frozen Vision Backbone (Zero Brain Pretraining): Each 2D flatmap is passed into a completely frozen SigLIP2 vision encoder—no fMRI pretraining, no fine-tuning.
  3. For resting-state scans (40 time frames per subject), it extracts one 768-dimensional global vector per frame and averages them over time.
  4. For visual-task scans (where a subject views an image, summarized into a single response map via a General Linear Model, or GLM), it adaptively pools the encoder's spatial patch grid to $16 \times 16$ and averages those tokens into a 768-D vector.
  5. Lightweight Probe: Only a tiny two-layer Multi-Layer Perceptron (MLP) is trained on top of these frozen features to predict diagnoses, demographics, or visual categories.

Datasets

No new datasets are introduced; instead, FlatClip is stress-tested across established benchmarks covering both spontaneous ("resting-state") and stimulus-evoked brain activity:

  • HCP (Human Connectome Project): Resting-state sex classification in healthy adults.
  • ADNI (Alzheimer’s Disease Neuroimaging Initiative): Resting-state classification for Alzheimer’s Disease (AD vs. cognitively normal) and Mild Cognitive Impairment (MCI vs. normal).
  • PPMI (Parkinson’s Progression Markers Initiative): Resting-state Parkinson’s diagnosis.
  • NSD (Natural Scenes Dataset): High-resolution 7T task-fMRI recorded while subjects viewed natural images, evaluated on 80-class multi-label object recognition (COCO80).

Key Insights and Ideas

  • It’s about real anatomy, not just "making data look like pictures": Does SigLIP2 succeed simply because it likes RGB textures? No. When the authors scrambled the cortical pixels, shuffled spatial blocks, swapped hemispheres, or randomized spatial phases, accuracy dropped sharply across three different colormaps. The frozen vision model genuinely exploits the true anatomical continuity of the brain.
  • Less brain can mean better decoding: When decoding what image a person saw (NSD), feeding the whole cortex into SigLIP2 introduces irrelevant background chatter. Masking the flatmap down to just the visual cortex—or subject-specific task-active regions (NSDgeneral)—substantially boosts recognition.
  • When a cortical model fails, anatomy explains why: FlatClip underperforms on Parkinson’s disease (PPMI). Far from being an arbitrary quirk, this makes neurobiological sense: Parkinson's heavily involves deep subcortical and brainstem structures, which are literally left on the cutting-room floor when you only render the outer cortical sheet.
Figure 3: Visual-fMRI COCO80 multi-label recognition on NSD. (a) Illustration of the cortical input regions used by FlatClip: whole cortex, HCP-MMP visual cortex, and the NSD-provided subject-level task-active region (NSDgeneral). (b) Subject-wise mAP across four NSD subjects for Omni-fMRI, NeuroSTORM, SwiFT and FlatClip variants. (c,d) Mean mAP and weighted F1 across subjects. All FlatClip variants use one global representation per GLM response map and the same downstream MLP classifier. Dots denote individual subjects, and error bars denote SEM across subjects. Stimulus-level alignment statistics are reported in Appendix B.2.

Key Results

  • Resting-State Middle Ground: Without any neuroimaging pretraining, FlatClip outperforms all evaluated ROI-level fMRI foundation models on HCP sex classification (82.06% accuracy vs. ~64–68% for Brain-LM, BrainMASS, and LCM) and ADNI AD diagnosis (75.46% vs. 60.87–70.90%), landing right behind heavy voxel-level 4D models like Omni-fMRI (92.86% on HCP, 84.26% on AD). On PPMI, however, it drops to 54.86%.
  • Visual Decoding Wins: On NSD COCO80 recognition, FlatClip variants beat all evaluated general-purpose fMRI foundation baselines (Omni-fMRI, NeuroSTORM, SwiFT). Narrowing the input mask from whole cortex to NSDgeneral pushes mean Average Precision (mAP) above 16% and weighted F1 to ~28% (on subj01 specifically, reaching 15.31% mAP / 26.92% wF1, compared to ~4–10% mAP for 4D fMRI baselines).
  • Geometry Ablations: On HCP, real flatmaps score 82.06% accuracy, whereas cortical-pixel permutation drops to 72.93%, phase-randomized maps drop to 64.64%, functional-connectivity heatmaps hit 57.87%, and random encoder weights drop to 70.56%. Across Inferno, Grayscale, and RdBu colormaps, preserving real cortical geometry consistently yields a +7.26 to +8.74 percentage-point gain in weighted F1 over permuted pixels.

Limitations and Future Work

  • Missing Deep Brain Regions: Cortical flatmaps omit subcortical nuclei and the brainstem, limiting utility on conditions like Parkinson's disease.
  • Geometric Distortion: Just like flattening a globe stretches Greenland, unfolding a 3D convoluted cortex requires artificial cuts and introduces metric distortions.
  • Time-Blindness: Averaging frame embeddings across time throws away temporal ordering and dynamics.

For future work, the authors point toward hybrid cortical–subcortical representations and explicit temporal sequence modeling—especially for rich, time-varying paradigms like watching naturalistic movies.

Summary updated

Abstract

Can the spatial organization of cortical activity help transfer frozen image representations to fMRI prediction? We introduce FlatClip, which renders cortical activity as anatomy-linked flatmaps and extracts features with a frozen SigLIP2 encoder. Only a lightweight downstream probe is trained, without fMRI-specific encoder pretraining or fine-tuning. Across four resting-state benchmarks, FlatClip outperforms the evaluated ROI-level baselines on HCP and ADNI, but is weaker on PPMI and below the strongest voxel-level models overall. On NSD visual-fMRI decoding, restricting inputs to visual or NSD-provided task-active cortex improves recognition over whole-cortex inputs. Spatial perturbations reduce performance with both retrained and fixed readouts, and anatomy-linked arrangements outperform cortical-pixel permutations across three colormaps. Together, these results demonstrate a practical route for reusing image-pretrained features in fMRI and highlight cortical arrangement and input-region selection as important design choices. Code is available at https://github.com/OneMore1/FlatClip.
BibTeX
@inproceedings{wang2026flatclip,
  author = {Mo Wang and Wenhao Ye and Zihan Ning and Jiayu Zuo and Junfeng Xia and Hongkai Wen and Quanying Liu},
  title = {{FlatClip: Reusing Image Foundation Models for fMRI Representation Learning via Cortical Flatmaps}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=W9QQrE5T3h},
}
Figure