Scaling Vision Transformers for Functional MRI with Flat Maps

Connor Lane, Mihir Tripathy, Leema Krishna Murali, Ratna Sagari Grandhi, Shamus Sim Zi Yang, Sam Gijsen, Debojyoti Das, Manish Ram, Utkarsh Kumar Singh, Cesar Kadir Torrico Villanueva, Yuxiang Wei, Will Beddow, Gianfranco Cortes, Suin Cho, Daniel Z Kaplan, Benjamin Warner, Tanishq Mathew Abraham, Paul Steven Scotti
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:62560-62582, 2026.

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.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-lane26a, title = {Scaling Vision Transformers for Functional {MRI} with Flat Maps}, author = {Lane, Connor and Tripathy, Mihir and Murali, Leema Krishna and Grandhi, Ratna Sagari and Yang, Shamus Sim Zi and Gijsen, Sam and Das, Debojyoti and Ram, Manish and Singh, Utkarsh Kumar and Villanueva, Cesar Kadir Torrico and Wei, Yuxiang and Beddow, Will and Cortes, Gianfranco and Cho, Suin and Kaplan, Daniel Z and Warner, Benjamin and Abraham, Tanishq Mathew and Scotti, Paul Steven}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {62560--62582}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/lane26a/lane26a.pdf}, url = {https://proceedings.mlr.press/v306/lane26a.html}, 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.} }
Endnote
%0 Conference Paper %T Scaling Vision Transformers for Functional MRI with Flat Maps %A Connor Lane %A Mihir Tripathy %A Leema Krishna Murali %A Ratna Sagari Grandhi %A Shamus Sim Zi Yang %A Sam Gijsen %A Debojyoti Das %A Manish Ram %A Utkarsh Kumar Singh %A Cesar Kadir Torrico Villanueva %A Yuxiang Wei %A Will Beddow %A Gianfranco Cortes %A Suin Cho %A Daniel Z Kaplan %A Benjamin Warner %A Tanishq Mathew Abraham %A Paul Steven Scotti %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-lane26a %I PMLR %P 62560--62582 %U https://proceedings.mlr.press/v306/lane26a.html %V 306 %X 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.
APA
Lane, C., Tripathy, M., Murali, L.K., Grandhi, R.S., Yang, S.S.Z., Gijsen, S., Das, D., Ram, M., Singh, U.K., Villanueva, C.K.T., Wei, Y., Beddow, W., Cortes, G., Cho, S., Kaplan, D.Z., Warner, B., Abraham, T.M. & Scotti, P.S.. (2026). Scaling Vision Transformers for Functional MRI with Flat Maps. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:62560-62582 Available from https://proceedings.mlr.press/v306/lane26a.html.

Related Material