TL;DR
Your brain runs on a strict metabolic budget, carefully balancing the physical cost of maintaining long-range neural wiring against the global communication value those connections provide. Standard Graph Neural Networks (GNNs) ignore this biological reality, treating a cheap local link and an expensive cross-brain highway as equivalent. By embedding this "brain economy" directly into a Transformer's attention mechanism via geometric rotations, the authors build a model that not only achieves top marks in predicting biological sex and autism diagnoses, but also learns neurobiologically meaningful patterns.
What Problem Does This Paper Address?
When neuroscientists map the brain as a graph—where regions are nodes and functional or structural similarities are edges—GNNs and Graph Transformers are natural tools for analyzing them. However, existing architectures have a blind spot: they aggregate information based purely on feature similarity, treating every connection as topologically equivalent.
In reality, biological brains are governed by connectivity economy. Long-range projections bridging distant brain modules are metabolically expensive to build and maintain, yet they exist because they act as crucial shortcuts for rapid, global integration. Conversely, neurological and psychiatric disorders disproportionately disrupt these high-cost, high-value hubs. If a GNN simply tacks edge weights onto attention scores as an additive bias, the model can easily ignore or override that signal during training, missing the fundamental economic rules that shape brain organization.
Methods
To make a Graph Transformer respect neurobiology, the authors introduce BGT-ESRE (Brain Graph Transformer with EcoSpace Rotary Encoding), built on two core innovations alongside standard Transformer components (like 1D-CNN/linear input encoders and MLP classifiers):
- The Ecospace (New): First, the authors construct an economy-aligned adjacency matrix by penalizing raw brain connectivity with an exponential decay based on the physical 3D Euclidean distance between brain regions. To get a high weight, an edge must be both strongly connected and anatomically cheap (or overwhelmingly strong to justify its distance). From this matrix, they compute two log-scaled topological metrics per edge—such as diffusion efficiency (local spreading) and communicability (global multi-path routing)—giving every connection a 2D coordinate in "ecospace."
- EcoSpace Rotary Encoding - ESRE (New): Inspired by Rotary Position Encoding (RoPE) in language models, ESRE projects each edge's 2D ecospace coordinate into a rotation angle. Before computing the attention dot product between two regions, it rotates the query vector by $+\psi$ and the key vector by $-\psi$. Because of orthogonal matrix properties, the resulting attention score mathematically must depend on the $-2\psi$ economy rotation without altering vector norms or entangling with feature magnitudes. They also add a zero-initialized gated branch to let edge economy gently adapt the value vectors.
Datasets
No new datasets were introduced; the authors evaluated BGT-ESRE across three existing neuroimaging benchmarks spanning two modalities:
- HCP-YA (Human Connectome Project Young Adult): Resting-state fMRI (functional connectivity) from 748 healthy adults, used for biological sex classification.
- ABIDE I FC: Resting-state fMRI from 884 participants (476 neurotypical controls, 408 with Autism Spectrum Disorder), used for ASD diagnosis.
- ABIDE I MC: Morphological connectivity (structural similarity profiles) from 341 participants (155 controls, 186 ASD), also for ASD diagnosis.
Key Insights and Ideas
- Economy belongs to the channel, not the node: Wiring cost is a property of the interaction between two regions. Encoding it via asymmetric query-key rotations forces the model to evaluate node similarity through the lens of their connecting channel's efficiency.
- Balancing segregation and integration: Across ablations of ten different metric pairs, the best-performing ecospaces consistently paired a local segregation metric with a global integration metric—especially communicability, which captures redundant parallel pathways across the brain.
- Attention mirrors neurobiology: Projecting learned attention weights onto the ecospace revealed patterns aligning with neuroscience literature—for instance, ASD-biased attention in morphological graphs focused on low-betweenness edges, consistent with known alterations in long-range integration in autism.
Key Results
Evaluated via 5-fold cross-validation against classical ML, general Graph Transformers (e.g., Graphormer, SAN), and brain-specific GNNs (e.g., BRAINNETTF, BrainGNN):
- HCP-YA (Sex Classification): BGT-ESRE achieved the highest performance by a wide margin, hitting 0.769 ACC and 0.895 AUC (beating the strongest baseline, BRAINNETTF, at 0.666 ACC and 0.789 AUC).
- ABIDE I MC (ASD Diagnosis): Achieved the top 0.633 AUC and tied Graphormer for highest accuracy (0.578 ACC).
- ABIDE I FC (ASD Diagnosis): Achieved the highest 0.697 AUC and tied BRAINNETTF for top accuracy (0.652 ACC).
- Ablations: Swapping rotary encoding for standard additive bias caused the steepest performance drop (e.g., AUC fell from 0.895 to 0.843 on HCP-YA, and 0.633 to 0.505 on ABIDE I MC). Removing the distance penalty also consistently degraded results.
Limitations and Future Work
The authors note two primary caveats:
- Geometric proxy for wiring cost: The model approximates axonal wiring cost using straight-line Euclidean distance between region centroids. In reality, white-matter tracts curve around ventricles and tissue. Future work could replace Euclidean distance with subject-specific tract lengths derived from diffusion MRI tractography.
- Interpretability limits: Attention weights are hypothesis-generating, not proof of causal neurobiological mechanisms. Looking ahead, the authors suggest applying BGT-ESRE beyond diagnostic classification to study how metabolic constraints shape higher-order cognitive functions like executive control and metacognition.
Summary updated