cs.CVOct 15, 2025

Scaling Vision Transformers for Functional MRI with Flat Maps

Authors: Connor Lane, Mihir Tripathy, Leema Krishna Murali, Ratna Sagari Grandhi, Shamus Sim Zi Yang, Sam Gijsen, Debojyoti Das, Manish Ram, +10 more

Organizations: MedARC · Sophont · Baylor College of Medicine · University of Tübingen · Georgia Tech · University of Florida

Abstract

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.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Natural Image Autoencoder-Based fMRI Representations for Trait and State Prediction

    Sep 28, 2026Juhyeon Park, Yeonwoo Kim, Peter Yongho Kim +5Functional Magnetic Resonance ImagingElectroencephalography Foundation Models

  2. The Variance Brain Foundation Models Forgot: Third-Order Statistics Predict Cognition Where Billion-Parameter Models Fail

    May 29, 2026Giovanni Marraffini, Gabriel Mahuas, Trinidad Borrell +2Functional Magnetic Resonance ImagingWireless Foundation Models

  3. A Scaling Study for fMRI Foundation Models

    Sep 23, 2026Wenhao Ye, Xuanye Pan, Junfeng Xia +3Model SizeFunctional Magnetic Resonance Imaging