Abstract
Analyzing the human connectome—the map of functional and structural connections in the brain—is vital for understanding mental disorders and cognitive development. While Graph Neural Networks (GNNs) are naturally suited for this non-Euclidean data, the field has faced hurdles in consistency, complexity, and reproducibility. BrainGB addresses these by providing a unified, modular, and reproducible benchmark that handles everything from raw data construction to model evaluation. By decomposing GNN design into four modular components and providing "recipes" for success, BrainGB bridges the gap between complex neuroimaging preprocessing and state-of-the-art geometric deep learning.
Introduction
The study of the human connectome is essential for advancing our understanding of neurological health. While Graph Neural Networks (GNNs) offer a powerful framework for analyzing brain networks, their application has been limited by a lack of systematic design principles, the extreme complexity of MRI preprocessing, and poor reproducibility due to inconsistent pipelines and private datasets. BrainGB (Brain Graph Benchmark) is designed to overcome these barriers by standardizing the entire workflow—from raw data processing to model evaluation.
The BrainGB Modular Framework
BrainGB decomposes the design of a brain-specific GNN into four modular components, allowing for systematic optimization and exploration of the design space:
- Node Feature Construction: Defines how to initialize node representations for Regions of Interest (ROIs). Options include positional features (e.g., Identity, Eigen) and structural features (e.g., Degree, Connection Profile).
- Message Passing Mechanisms: Governs how information is aggregated across the network, including methods for incorporating edge weights (connectivity strength) into neighbor aggregation.
- Attention Mechanisms: Employs learnable weights to highlight connections most relevant to specific clinical or cognitive tasks, such as identifying disease biomarkers.
- Pooling Strategies: Aggregates node-level representations into a global graph vector for classification.
Crucially, BrainGB also standardizes the Brain Network Construction pipeline, detailing the conversion of fMRI and dMRI scans into adjacency matrices using established toolboxes like FSL, SPM, and FreeSurfer.
Benchmarking and Key Insights
The framework was evaluated across four diverse datasets: HIV (fMRI, 70 subjects), PNC (rs-fMRI, 503 subjects), PPMI (dMRI, 754 subjects), and the large-scale ABCD (fMRI, 7,901 subjects). Key findings from these benchmarks include:
- Connection Profiles are Essential: Initializing nodes with their full row in the adjacency matrix (the "Connection Profile") significantly outperformed simpler metrics. On the ABCD dataset, this approach yielded a 33.99% improvement over degree-based features, as it provides the model with full structural context from the start.
- Preserving Spatial Identity: Unlike social networks, brain regions have fixed spatial identities (e.g., a specific node always corresponds to the left amygdala). Concat Pooling (stacking node vectors) proved superior to Mean or Sum pooling because it preserves this critical spatial information.
- Reinforcing Self-Representation: Message passing schemes that explicitly include a node's own features (e.g., "Node Concat") performed best, likely by preventing "over-smoothing," where node representations become indistinguishable after multiple layers.
- The Impact of Attention: Adding attention mechanisms generally improved performance by up to 5.23%, assisting the model in identifying task-relevant biomarkers.
Conclusion
BrainGB provides a much-needed foundation for the application of GNNs in neuroimaging. By offering a modular Python package (braingb) and standardized benchmarks, the authors enable researchers to move toward reproducible, high-performance brain network analysis. Future work will focus on exploring higher-order structures like neural circuits and improving the interpretability of these models for clinical use.
Summary updated