Large Language Models have achieved remarkable success in language understanding and reasoning, and their multimodal extensions enable comprehension of images, video, and audio. Inspired by this, foundation models for brain functional connectivity networks derived from resting-state fMRI have shown promise in clinical tasks. However, existing methods do not align FCNs with the text modality, limiting the ability of LLMs to directly understand FCNs. To address this, we propose FCN-LLM, a framework that enables LLMs to understand FCNs through graph-level, multi-task instruction tuning. Our approach employs a multi-scale FCN encoder capturing brain-region, functional subnetwork, and whole-brain features, projecting them into the semantic space of LLM. We design multi-paradigm instruction tasks covering 19 subject-specific attributes across demographics, phenotypes, and psychiatric conditions. A multi-stage learning strategy first aligns FCN embeddings with the LLM and then jointly fine-tunes the entire model to capture high-level semantic information. Experiments on a large-scale, multi-site FCN database show that FCN-LLM achieves strong zero-shot generalization on unseen datasets, outperforming conventional supervised and foundation models. This work introduces a new paradigm for integrating brain functional networks with LLMs, offering a flexible and interpretable framework for neuroscience.
Figures & tables
Figure 1: The model architecture of our proposed FCN-LLM that supports queries related to various FCN-involved tasks. It employs multi-scale encoder to extract FCN features, maps these features into the text embedding space.
Figure 2: Illustration of the proposed multi-paradigm task design for instruction tuning (left), and the multi-stage learning of FCN knowledge learning for our proposed FCN-LLM (right).
Usage
Name
Size
Available Attributes
Tuning & Internal Test
HBN ( Alexander et al., 2017 )
2254
Gender, Age, and Handness
HCP ( Van Essen et al., 2013 )
1080
Gender, Age, Handness, and Phenotype
QTIM ( Strike et al., 2023 )
1024
Gender, Age, and Handness
GSP ( Holmes et al., 2015 )
1569
Gender, Age, and Handness
ABIDE ( Di Martino et al., 2014 )
855
Gender, Age, Handness, Cognition, and Diagnosis
ADHD ( consortium, 2012 )
872
Gender, Age, Handness, Cognition, and Diagnosis
Table 1: Basic information and usage of the 10 datasets in this study.
Type
Method
Gender Classification
Disease Classification
Age Prediction
Cog Prediction
Pheno Prediction
ACC
MCC
F1
ACC
MCC
F1
MAE
PCC
MAE
PCC
MAE
PCC
Supervised
GCN
65.59
30.14
65.53
66.86
50.26
63.37
6.197
73.13
0.097
79.11
0.146
4.75
HGCN
63.50
27.97
59.62
66.97
50.73
63.89
5.892
74.91
0.095
78.73
0.144
5.56
BrainNetCNN
64.28
29.16
62.61
65.83
49.73
64.87
6.185
76.10
0.12
72.72
0.167
-2.16
BrainGNN
63.86
28.40
63.89
68.11
52.99
66.43
6.062
73.67
0.091
81.42
0.144
3.57
Transformer
69.60
38.06
69.44
68.23
52.30
65.33
5.041
80.42
0.091
79.50
0.144
0.98
Table 2: Performance of three types of methods on the internal test set.
Type
Method
ABIDEII
CNP
Disease Classification
Cog Prediction
Disease Classification
ACC
MCC
F1
MAE
PCC
ACC
MCC
F1
Supervised
Transformer
22.77
3.59
26.73
0.154
-3.00
36.74
0.16
29.78
BNT
31.82
6.19
40.16
0.158
10.66
44.44
2.88
30.26
Foundation
BrainNPT
31.56
2.21
27.59
0.147
4.32
40.71
5.23
31.43
PTGB
32.14
3.28
29.53
0.145
3.79
38.91
1.24
28.87
Table 3: Performance of three types of methods on the zero-shot test set.
Figure 3: (a) The impact of continual training on the generalization performance of FCN-LLM in Stage2; (b) The ablation study on the proposed multi-scale FCN encoder, which explores the effects of different types of FCN tokens—specifically, combinations of 116 ROI-level tokens, 7 subnetwork-level tokens, and 1 brain-level token.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Table 4: Demographic Characteristics, Diagnosis Distribution and Phenotype Sample Sizes (Original vs. Time-Window Enhanced Dataset)
Variable Name
Description
What It Measures
Higher Value Indicates
VSPLOT_TC
Visual-Spatial Processing Test, Total Correct
Visuospatial ability
Better spatial reasoning and more correct responses
ReadEng_Unadj
NIH Toolbox Oral Reading Recognition Test
Reading and word recognition ability
Stronger reading and language decoding skills
PercStress_Unadj
Perceived Stress
Subjective stress level
Higher perceived stress
AngAggr_Unadj
Anger - Aggression (from PROMIS)
Aggressive behavior when angry
Greater tendency toward aggressive responses
Strength_Unadj
NIH Toolbox Grip Strength Test
Physical strength (hand grip)
Greater muscular strength
Endurance_Unadj
2-Minute Walk Test
Cardiovascular/physical endurance
Better endurance and longer walking distance
Appendix
Table 5: Detailed Information of Phenotypic Indicators
Abbreviation
Full Name
Meaning
Description
FIQ
Full-scale IQ
Overall intellectual ability
Reflects a person’s overall intelligence level, typically derived from a weighted combination of multiple subtest scores
VIQ
Verbal IQ
Verbal intellectual ability
Measures language-related cognitive abilities, such as vocabulary, comprehension, and verbal reasoning
PIQ
Performance IQ
Performance (non-verbal) intellectual ability
Measures non-verbal cognitive abilities, such as spatial reasoning, pattern recognition, and hand-eye coordination
Appendix
Table 6: Details of Cognitive Function Indicators
Size
Stage 1
Stage 2
Batch size
32
32
Learning rate
1e-3
1e-5
Epochs
1
1
Learning schedule
Cosine decay
Cosine decay
Warm-up ratio
0.03
0.03
Weight decay
0
0
Appendix
Table 7: The hyperparameters for model training.
Stage
Dataset
Samples
Stage1
Enhanced FCN data
Predictive task
806K
Judgment task
806K
Comparative task
700K
Stage2
High-level SFT data
Predictive task
38K
Judgment task
38K
Comparative task
350K
Appendix
Table 8: The dataset details used for model training.
Figure 4: Visualization of connections among FCN tokens of different groups of diseases from the subnetwork perspective.
Comparative task
Gender Classification
Disease Classification
Age Prediction
ACC
MCC
F1
ACC
MCC
F1
MAE
PCC
×
64.23
29.03
64.89
68.72
54.69
68.85
6.631
73.28
✓
65.48
29.82
65.39
70.97
57.41
70.78
6.293
75.81
Appendix
Table 9: Ablation study on the comparative paradigm task for FCN-LLM (3B) on the internal test set, evaluated in terms of gender classification, disease classification, and age prediction.
Figure 5: Visualization of statistical evidence comprehensive.
Graph Neural Networks (GNNs) have been widely used in diverse brain network analysis tasks based on preprocessed functional magnetic resonance imaging (fMRI) data. However, their performances are constrained due to high feature sparsity and inherent limitations of domain knowledge within uni-modal neurographs. Meanwhile, large language models (LLMs) have demonstrated powerful representation capabilities. Combining LLMs with GNNs presents a promising direction for brain network analysis. While LLMs and MLLMs have emerged in neuroscience, integration of LLMs with graph-based data remains unexplored. In this work, we deal with these issues by incorporating LLM's powerful representation and generalization capabilities. Considering great cost for directly tuning LLMs, we instead function LLM as enhancer to boost GNN's performance on downstream tasks. Our method, namely BLEG, can be divided into three stages. We firstly prompt LLM to get augmented texts for fMRI graph data, then we design a LLM-LM instruction tuning method to get enhanced textual representations at a relatively lower cost. GNN is trained together for coarsened alignment. Finally we finetune an adapter after GNN for given downstream tasks. Alignment loss between LM and GNN logits is designed to further enhance GNN's representation. Extensive experiments on different datasets confirmed BLEG's superiority.Code can be available at https://github.com/KamonRiderDR/BLEG.
Rui Dong, Zitong Wang, Jiaxing Li +2
School of Computer Science and Engineering, Southeast University
Brain network analysis is crucial for understanding cognition and neurological disorders, yet existing deep learning methods mainly treat connectome analysis as a graph-to-logit classification problem, offering limited explanatory reasoning. Large language models (LLMs) provide a promising interface for knowledge-intensive scientific analysis, but directly applying general-purpose LLMs to brain networks remains challenging due to the structure-language gap, limited neuroscience grounding, and overconfident positive predictions. In this paper, we propose BrainAgent, an agentic LLM framework for knowledge-enhanced brain network analysis. BrainAgent reformulates connectome classification as an iterative process of topology-aware understanding, external retrieval, reasoning, and reflection. Specifically, it first converts raw brain networks into compact multi-level structural descriptions through brain-specific analysis tools, then retrieves relevant neuroscience knowledge and task-specific cases to ground the reasoning process, and finally generates structured predictions with reflective verification. Experiments on four public rs-fMRI datasets show that BrainAgent consistently improves different closed-source and open-source LLM backbones over direct prompting and standard reasoning baselines. Further ablation and interpretability analyses demonstrate the effectiveness of each component and show that BrainAgent produces more comprehensive, multi-level, and verifiable explanations.These results indicate that agentic LLMs provide a practical route toward interpretable and knowledge-grounded brain network analysis.
Jiaxing Li, Rui Dong, Muyao Tang +1
School of Computer Science and Engineering, Southeast University
Effective brain disease diagnosis requires the synergy of brain connectivity patterns and high-level semantic knowledge. Existing methods, however, largely treat semantics from large language models (LLMs) as auxiliary features or supervision, limiting their direct role in decision-making and constraining classification stability and robustness. To overcome this, we propose a semantic-aligned brain network framework that actively integrates LLM-derived semantics into the prediction process. Specifically, ROI-level semantics are first incorporated via global self-attention to enrich node representations and provide whole-brain context. Multi-scale hypergraphs are then constructed to explicitly model functional subnetworks and multi-ROI interactions, addressing the locality limitations of traditional GNNs and capturing high-order dependencies. Finally, a decision-level semantic alignment mechanism selectively injects patient-specific textual embeddings into graph representations, enabling semantics to directly guide predictions without perturbing the underlying network structure. Experiments on public brain network datasets ABIDE and ADHD-200 demonstrate state-of-the-art performance, enhanced stability, and improved interpretability, particularly in small-sample settings.
Yidan Xu, Xiangmin Han, Rundong Xue +1
Hangzhou Dianzi University, China · Tsinghua University, China · Xi’an Jiaotong University, China