Hierarchical Spatio-Temporal State-Space Modeling for fMRI Analysis

Yuxiang Wei, Anees Abrol, Vince Calhoun
8/23/2024
cs.LGcs.AI

Official code: yuxiangwei0808/FunctionalMamba (4 stars, last commit 2025-01-23).

Abstract

Recent advances in deep learning structured state space models, especially the Mamba architecture, have demonstrated remarkable performance improvements while maintaining linear complexity. In this study, we introduce functional spatiotemporal Mamba (FST-Mamba), a Mamba-based model designed for discovering neurological biomarkers using functional magnetic resonance imaging (fMRI). We focus on dynamic functional network connectivity (dFNC) derived from fMRI and propose a hierarchical spatiotemporal Mamba-based network that processes spatial and temporal information separately using Mamba-based encoders. Leveraging the topological uniqueness of the FNC matrix, we introduce a component-wise varied-scale aggregation (CVA) mechanism to aggregate connectivity across individual components within brain networks, enabling the model to capture component-level and network-level information. Additionally, we propose symmetric rotary position encoding (SymRope) to encode the relative positions of each functional connection while considering the symmetric nature of the FNC matrix. Experimental results demonstrate significant improvements in the proposed FST-Mamba model on various brain-based classification and regression tasks. We further show brain connectivities and dynamics that are crucial for the prediction. Our work reveals the substantial potential of attention-free sequence modeling in brain discovery. The codes are publicly available here: https://github.com/yuxiangwei0808/FunctionalMamba/tree/main.

View on arXivView PDF

Code Implementations(1)

40C, C++Jan 23, 20251 years ago

Similar Papers

Cite this paper

@article{wei2024hierarchical,
  title  = {Hierarchical Spatio-Temporal State-Space Modeling for fMRI Analysis},
  author = {Yuxiang Wei and Anees Abrol and Vince Calhoun},
  year   = {2024},
  eprint = {2408.13074},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.13074v3}
}

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/2408.13074.svg)](https://codeofpaper.com/paper/2408.13074)

Discussion