Abstract
Recent studies in neuroscience show great potential of functional brain networks constructed from fMRI data for popularity modeling and clinical predictions. However, existing functional brain networks are noisy and unaware of downstream prediction tasks, while also incompatible with recent powerful machine learning models of GNNs. In this work, we develop an end-to-end trainable pipeline to extract prominent fMRI features, generate brain networks, and make predictions with GNNs, all under the guidance of downstream prediction tasks. Preliminary experiments on the PNC fMRI data show the superior effectiveness and unique interpretability of our framework.
Introduction
Functional Magnetic Resonance Imaging (fMRI) allows researchers to observe brain activity by measuring blood-oxygen-level-dependent (BOLD) signals. Traditionally, this analysis involves creating a "functional brain network" by dividing the brain into regions (nodes) and calculating the Pearson correlation between their signal time-series (edges). However, this approach suffers from three major flaws: the inherent noise in BOLD signals, the task-agnostic nature of statistical correlations, and the incompatibility of traditional networks with modern Graph Neural Networks (GNNs), which often require positive edge weights and distinct node features.
Methodology
We propose a three-stage, end-to-end differentiable pipeline that learns to optimize internal graph representations based on final prediction performance.
- Feature Encoder: Raw BOLD time-series are processed through either a 1D-Convolutional Neural Network (1D-CNN) or a Bidirectional Gated Recurrent Unit (bi-GRU) to denoise the data and extract compact feature vectors for every brain region.
- Graph Generator: Instead of static correlations, the model learns a connectivity matrix ($A$) using a softmax-based similarity measure. This ensures edges are positive and focused on the most relevant connections. The generator is guided by three constraints: Group Inner Loss (similarity within categories), Group Intra Loss (distinctness between categories), and Sparsity Loss (to prevent over-connectivity).
- Graph Predictor: A Graph Convolutional Network (GCN) takes the generated graph and extracted features to produce the final classification.
Experimental Results
The framework was evaluated on the Philadelphia Neurodevelopmental Cohort (PNC) dataset, consisting of resting-state fMRI data from 503 subjects. The task was gender prediction, a standard benchmark in the field.
As shown in the results below, the proposed framework (AUROC: 0.754) significantly outperformed direct time-series modeling using bi-GRU (0.501) or 1D-CNN (0.542). Furthermore, the learnable graph generator surpassed traditional Pearson correlation graphs (0.709) when using the same GNN architecture. Ablation studies demonstrated that the inclusion of group-based and sparsity losses is critical for achieving high performance and stability.
Discussion and Interpretability
A key advantage of this framework is its neurobiological alignment. By enforcing sparsity, the model highlights specific neural circuits rather than a dense "hairball" of connections. Notably, the generated graphs identified the Default Mode Network (DMN) as a primary differentiator for gender, a finding that aligns with existing neuroscience literature. This suggests that the model captures real biological signals rather than merely overfitting to noise.
While the current study focuses on gender prediction with 503 subjects, future work will apply this framework to more complex clinical tasks, such as diagnosing neurological disorders where disease-region relevance is less understood.
Conclusion
This research introduces an effective end-to-end framework for fMRI analysis that replaces static statistical networks with learnable, task-optimized graphs. By combining deep feature extraction with biologically-constrained graph generation, the model achieves superior predictive accuracy while maintaining high interpretability, bridging the gap between deep learning and clinical neuroscience.
Summary updated