BrainMT: A Hybrid Mamba-Transformer Architecture for Modeling Long-Range Dependencies in Functional MRI Data

Arunkumar Kannan, Martin A. Lindquist, Brian Caffo
6/27/2025
4 citations
cs.CV
transformer-attentionstate-space-mamba

Official code: arunkumar-kannan/BrainMT-fMRI (7 stars, Python, MIT, last commit 2025-09-20).

Abstract

Recent advances in deep learning have made it possible to predict phenotypic measures directly from functional magnetic resonance imaging (fMRI) brain volumes, sparking significant interest in the neuroimaging community. However, existing approaches, primarily based on convolutional neural networks or transformer architectures, often struggle to model the complex relationships inherent in fMRI data, limited by their inability to capture long-range spatial and temporal dependencies.

Show full abstract

To overcome these shortcomings, we introduce BrainMT, a novel hybrid framework designed to efficiently learn and integrate long-range spatiotemporal attributes in fMRI data. Our framework operates in two stages: (1) a bidirectional Mamba block with a temporal-first scanning mechanism to capture global temporal interactions in a computationally efficient manner; and (2) a transformer block leveraging self-attention to model global spatial relationships across the deep features processed by the Mamba block. Extensive experiments on two large-scale public datasets, UKBioBank and the Human Connectome Project, demonstrate that BrainMT achieves state-of-the-art performance on both classification (sex prediction) and regression (cognitive intelligence prediction) tasks, outperforming existing methods by a significant margin. Our code and implementation details will be made publicly available at this https://github.com/arunkumar-kannan/BrainMT-fMRI

View on arXivView PDF

Code Implementations(1)

MIT

[MICCAI 2025] BrainMT: A Hybrid Mamba-Transformer Architecture for Modeling Long-Range Dependencies in Functional MRI Data (an official implementation)

70PythonJun 18, 20251 years agoMIT

Similar Papers

Cite this paper

@article{kannan2025brainmt,
  title  = {BrainMT: A Hybrid Mamba-Transformer Architecture for Modeling Long-Range Dependencies in Functional MRI Data},
  author = {Arunkumar Kannan and Martin A. Lindquist and Brian Caffo},
  year   = {2025},
  eprint = {2506.22591},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.22591v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.22591.svg)](https://codeofpaper.com/paper/2506.22591)

Discussion