Scaling Vision Transformers for Functional MRI with Flat Maps
Not on the map. Why?
Abstract (arXiv)
We study the problem of training self-supervised foundation models for functional MRI. Our main contributions are: (1) we introduce a new model family (CortexMAE) trained using the masked autoencoder framework on 2.1K hours of open fMRI data, and (2) we release the first open evaluation suite (Brainmarks) for fMRI foundation models. Our core innovation is simple: we adapt the Vision Transformer to fMRI by first converting each 3D fMRI volume to a 2D map using a cortical flat map projection. We directly compare flat maps to both parcellation and volume-based representations. While each has its advantages, flat maps generally perform best. We perform the first systematic scaling analysis for fMRI and observe strict power law scaling, albeit with limits. Finally, we use Brainmarks to do controlled benchmark comparisons. On subject-level trait prediction, we report a challenging null result: no single model achieves clear state-of-the-art performance. Moreover, all models struggle to outperform a simple functional connectivity baseline. On cognitive state decoding, we observe more robust performance, and in this setting our CortexMAE family outperforms prior models by a large margin. Code, models, and datasets are available at https://github.com/MedARC-AI/CortexMAE and https://github.com/MedARC-AI/Brainmarks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 63 of its 152 references that are in the map. First posted on arXiv 15 Oct 2025.
Builds on
63 of 152 references.
References · 63
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
38 more
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2017The Kinetics Human Action Video Datasetcited by 1,909
- 2021ViViT: A Video Vision Transformercited by 1,620
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
- 2023Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecturecited by 1,039
- 2023Vision Transformers Need Registerscited by 871
- 2023VideoMAE V2: Scaling Video Masked Autoencoders with Dual Maskingcited by 528
- 2022Masked Autoencoders As Spatiotemporal Learnerscited by 429
- 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 327
- 2025Perception Encoder: The best visual embeddings are not at the output of the networkcited by 326
- 2020Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program)cited by 322
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
- 2023A Cookbook of Self-Supervised Learningcited by 250
- 2021BENDR: using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG datacited by 199
- 2023Reconstructing the Mind's Eye: fMRI-to-Image with Contrastive Learning and Diffusion Priorscited by 160
- 2022FlexiViT: One Model for All Patch Sizescited by 152
- 2022Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modeling for Vision Decodingcited by 144
- 2021TCLR: Temporal Contrastive Learning for Video Representationcited by 136
- 2022Decoding speech perception from non-invasive brain recordingscited by 130
- 2015Generic decoding of seen and imagined objects using hierarchical visual featurescited by 120
- 2024MindEye2: Shared-Subject Models Enable fMRI-To-Image With 1 Hour of Datacited by 109
- 2023Natural scene reconstruction from fMRI signals using generative latent diffusioncited by 97
- 2022Brain Network Transformercited by 94
- 2023BrainBERT: Self-supervised representation learning for intracranial recordingscited by 72
- 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --cited by 71
- 2024MindBridge: A Cross-Subject Brain Decoding Frameworkcited by 66
- 2024Brain-JEPA: Brain Dynamics Foundation Model with Gradient Positioning and Spatiotemporal Maskingcited by 65
- 2018BOLD5000: A public fMRI dataset of 5000 imagescited by 63
- 2023A Unified, Scalable Framework for Neural Population Decodingcited by 61
- 2022On Data Scaling in Masked Image Modelingcited by 46
- 2022Self-Supervised Learning of Brain Dynamics from Broad Neuroimaging Datacited by 39
- 2023SwiFT: Swin 4D fMRI Transformercited by 36
- 2024Rethinking Patch Dependence for Masked Autoencoderscited by 29
- 2024Towards a "universal translator" for neural dynamics at single-cell, single-spike resolutioncited by 28
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Meta-learning In-Context Enables Training-Free Cross Subject Brain Decodingcited by 1
- 2026Flow Matching with In-Context Priors for Out-of-Distribution Brain Dynamicscited by 1
- 2026Real-time Reconstruction of Human Visual Perception from fMRIcited by 0
- 2026FlatClip: Reusing Image Foundation Models for fMRI Representation Learning via Cortical Flatmapscited by 0
- 2026Natural Image Autoencoder-Based fMRI Representations for Trait and State Predictioncited by 0
- 2026Natural Image Autoencoder-Based fMRI Representations for Trait and State Prediction28 Sep 2026
- 2026FlatClip: Reusing Image Foundation Models for fMRI Representation Learning via Cortical Flatmaps25 Sep 2026
- 2026Real-time Reconstruction of Human Visual Perception from fMRI23 Jul 2026
- 2026Flow Matching with In-Context Priors for Out-of-Distribution Brain Dynamics10 Jun 2026
- 2026Meta-learning In-Context Enables Training-Free Cross Subject Brain Decoding9 Apr 2026