Explainable <scp>fMRI</scp>‐based brain decoding via spatial temporal‐pyramid graph convolutional network

Ziyuan Ye, Youzhi Qu, Zhichao Liang, Mo Wang, Quanying Liu

Abstract

Decoding cognitive states from functional magnetic resonance imaging (fMRI) data is a central challenge in neuroscience. Traditional deep learning approaches often struggle with the non-Euclidean nature of brain connectivity and the inherent lack of interpretability in "black box" models. This paper introduces the Spatial Temporal-pyramid Graph Convolutional Network (STpGCN), a brain-inspired architecture that achieves state-of-the-art performance by mimicking the hierarchical and multi-scale temporal processing of the human brain. Achieving a 92.4% Macro F1 score across 23 cognitive tasks, the model also incorporates BrainNetX, a novel explainability tool that maps model predictions back to specific functional brain networks.

Introduction

"Brain decoding"—the process of identifying specific cognitive tasks or mental states from neural activity—is essential for understanding the functional organization of the human brain. However, two primary hurdles have limited the efficacy of deep learning in this domain. First, fMRI data is inherently non-Euclidean; brain regions are connected in complex functional networks where physical proximity does not necessarily imply functional relatedness. Second, the "black box" nature of high-performing models often prevents neuroscientists from understanding the biological basis of a model's prediction. To address these challenges, we present STpGCN, a model designed to respect the brain's unique spatial-temporal structure while providing transparent, biologically grounded explanations.

Methodological Framework

STpGCN Architecture

The STpGCN architecture is built upon the "brain-like network architecture hypothesis," which posits that AI models perform more effectively when they mirror the hierarchical organization of biological neural systems. The framework consists of three core components:

  1. Graph Representation: Rather than treating fMRI data as a standard 3D grid, the model represents the brain as a graph. Brain regions (ROIs) serve as nodes, and their functional connections serve as edges, allowing the model to process data according to the brain's actual functional "wiring."
  2. Temporal-Pyramid Pathways: To capture neural dynamics occurring at different speeds, the model employs three parallel pathways with varying temporal kernel sizes. This allows the network to simultaneously analyze fast-changing signals and more stable, long-term neural patterns.
  3. Bottom-Up Fusion: Features from the multi-scale temporal pathways are integrated hierarchically. This mimics the biological process of sensory integration, where fine-grained data is synthesized into high-level cognitive representations.

BrainNetX: Model-Agnostic Explainability

To solve the interpretability problem, the authors developed BrainNetX. This method systematically masks or preserves specific brain networks to quantify their contribution to a given prediction. By generating importance maps for every task, BrainNetX allows researchers to verify if the model is utilizing biologically relevant circuits rather than statistical noise.

Experimental Results

Performance and Robustness

The model was evaluated using the Human Connectome Project (HCP) S1200 dataset, encompassing fMRI scans from approximately 1,200 subjects performing 23 distinct cognitive tasks.

  • State-of-the-Art Accuracy: Using the MMP atlas (360 regions), STpGCN achieved a 92.4% Macro F1 score, significantly outperforming standard GCNs (60.7%) and other advanced temporal models like ST-GCN (90.6%).
  • Data Efficiency: The model demonstrated remarkable stability, maintaining nearly 80% accuracy even when training data was reduced to only 10% of the original dataset.
  • Temporal Sensitivity: STpGCN can decode tasks with 82.5% accuracy using only 7 time points (approximately 5 seconds of data), suggesting potential utility in real-time BCI (Brain-Computer Interface) applications.

Neuroscientific Validation

Interpretations provided by BrainNetX were compared against Neurosynth, a standard meta-analysis tool. The regions identified by the model—such as the Fusiform Face Area for face-processing tasks—aligned closely with established neuroscientific literature. This validation confirms that the model's high performance is rooted in actual biological signals.

Discussion and Future Work

STpGCN demonstrates that incorporating biological priors—specifically multi-scale temporal processing and graph-based spatial relationships—leads to superior performance in neural decoding. While the current model uses static graphs based on resting-state connectivity, future iterations may incorporate dynamic graphs to account for how functional connectivity shifts during task performance. Additionally, the integration of spatial attention mechanisms could further refine the model's ability to localize task-specific activity. Ultimately, this framework provides a robust foundation for identifying neural biomarkers in clinical populations, potentially aiding in the diagnosis and treatment of psychiatric and neurological disorders.

Summary updated

BibTeX
@inproceedings{ye2023explainable,
  author = {Ziyuan Ye and Youzhi Qu and Zhichao Liang and Mo Wang and Quanying Liu},
  title = {{Explainable <scp>fMRI</scp>‐based brain decoding via spatial temporal‐pyramid graph convolutional network}},
  booktitle = {Human},
  year = {2023},
  doi = {10.1002/hbm.26255},
}
Figure