CausalMamba: Scalable Conditional State Space Models for Neural Causal Inference
Sangyoon Bae, Jiook Cha
TL;DR
CausalMamba tackles the challenge of inferring directed neural connectivity from fMRI by addressing the ill-posed BOLD-to-neural inverse problem through a differentiable BOLD deconvolution stage followed by ROI-conditioned causal inference, powered by a state-space backbone. The method employs a three-stage curriculum to pre-train deconvolution (Stage 1) and causality mapping (Stage 2) before end-to-end fine-tuning (Stage 3), anchored by the Conditional Mamba architecture that injects ROI-specific modulation into universal temporal dynamics. On synthetic data, it achieves a substantial accuracy improvement over DCM (approximately a 38% gain) and demonstrates robust scalability with ROI count, while on real HCP task fMRI data it recovers canonical pathways with high system-level fidelity (KPRR around 0.88) and reveals stimulus- and task-driven hub reconfigurations that conventional methods miss. The approach provides a practical, scalable tool for large-scale causal inference in neuroscience, enabling both canonical circuit discovery and flexible network dynamics understanding, with potential for broader adoption and cross-task generalization.
Abstract
We introduce CausalMamba, a scalable framework that addresses fundamental limitations in fMRI-based causal inference: the ill-posed nature of inferring neural causality from hemodynamically distorted BOLD signals and the computational intractability of existing methods like Dynamic Causal Modeling (DCM). Our approach decomposes this complex inverse problem into two tractable stages: BOLD deconvolution to recover latent neural activity, followed by causal graph inference using a novel Conditional Mamba architecture. On simulated data, CausalMamba achieves 37% higher accuracy than DCM. Critically, when applied to real task fMRI data, our method recovers well-established neural pathways with 88% fidelity, whereas conventional approaches fail to identify these canonical circuits in over 99% of subjects. Furthermore, our network analysis of working memory data reveals that the brain strategically shifts its primary causal hub-recruiting executive or salience networks depending on the stimulus-a sophisticated reconfiguration that remains undetected by traditional methods. This work provides neuroscientists with a practical tool for large-scale causal inference that captures both fundamental circuit motifs and flexible network dynamics underlying cognitive function.
