Abstract
Predicting cognitive abilities and biological age from functional Magnetic Resonance Imaging (fMRI) remains a significant challenge due to the high dimensionality, noise, and complex spatiotemporal dependencies of brain activity. This paper presents a modular deep learning framework that adapts foundation model principles to neuroimaging. By integrating a Local Masked Autoencoder (LMAE), a Random Walk Mixture of Experts (RWMOE), and a Mamba-based predictor, the proposed architecture effectively captures long-range temporal dependencies and indirect functional interactions. Experimental results on the Cam-CAN dataset demonstrate state-of-the-art performance in predicting fluid intelligence and brain age.
Introduction
Functional Magnetic Resonance Imaging (fMRI) offers a non-invasive window into the human brain, yet translating this data into reliable predictions of cognitive development or "brain age" is difficult. Standard deep learning approaches, including those successful in natural language processing (NLP), often struggle with fMRI data due to the Hemodynamic Response Function (HRF)—the inherent lag between neural activity and blood flow changes—and the complex, multi-hop functional connectivity between brain regions.
The Challenge of fMRI Data
Directly applying Large Language Model (LLM) architectures to brain scans is often ineffective. Standard "patch-based" masking used in computer vision fails to account for scanner-specific noise and the temporal "smear" caused by the HRF. Furthermore, traditional Graph Neural Networks (GNNs) frequently overlook indirect interactions between brain regions that are functionally connected but not physically adjacent.
Methodology
Overview of the Modular Framework
The proposed framework consists of three primary modules designed to learn robust, biologically informed representations of brain activity.
Local Masked Autoencoder (LMAE)
To address the temporal characteristics of fMRI, the LMAE utilizes a local region random mask mechanism. Unlike standard autoencoders that mask random individual points, the LMAE masks contiguous segments of time-series data. This forces the model to learn underlying temporal patterns rather than simply interpolating from immediate temporal neighbors, effectively accounting for the HRF delay.
Random Walk Mixture of Experts (RWMOE)
The RWMOE module clusters features across both spatial and temporal dimensions. A key innovation is the Random Walk mechanism, which enables the model to capture indirect, multi-hop interactions within the brain network. By allowing the model to "explore" paths through intermediate regions, it captures functional dependencies that standard models often miss.
Mamba-based Predictor
For final task prediction, the framework employs a Selective State Space Model (SSM) based on the Mamba architecture. Mamba provides the efficiency and robustness required to process long-range temporal dependencies in fMRI signals, outperforming traditional Transformers in sequence modeling tasks.
Experimental Evaluation
Dataset
The framework was evaluated using the Cambridge Centre for Ageing and Neuroscience (Cam-CAN) dataset. The researchers derived dynamic Functional Connectivity (dFC) from the fMRI data to capture the evolving interactions between brain regions across the adult lifespan.
Key Results
The model was tested on two primary tasks: predicting Fluid Intelligence (FI) and Biological Age. It significantly outperformed recent state-of-the-art models, including Vision-mamba and Swin-Transformer.
- Age Prediction: The model achieved a Mean Absolute Error (MAE) of 5.343 years and a Pearson Correlation Coefficient (PCC) of 0.928, surpassing the previous best (FLDMamba) MAE of 5.840.
- Fluid Intelligence: The framework achieved an MAE of 2.940 and a PCC of 0.887, a substantial improvement over the previous state-of-the-art MAE of 4.125.
Discussion and Conclusion
By incorporating biologically informed masking and efficient sequence modeling, this modular approach bridges the gap between general-purpose foundation models and the specific requirements of medical imaging. While the model shows sensitivity to hyperparameters like mask ratio and latent dimensions, its ability to identify neuroscientifically meaningful brain regions through expert weight visualization marks a significant step forward in interpretable brain imaging AI. Future work will focus on refining routing allocation within the Mixture of Experts to further enhance predictive accuracy.
Summary updated