Skip to main content
Communications Medicine logoLink to Communications Medicine
. 2026 Mar 2;6:211. doi: 10.1038/s43856-026-01395-y

Enhancing depression diagnosis with augmented brain signal driven decorrelated graph neural networks

Jyotismita Barman 1, Mohammad Yusuf 1, Sandeep Kumar 1,2,3,✉, Tapan Kumar Gandhi 1,2,3,4,✉
PMCID: PMC13069039  PMID: 41772142

Abstract

Background

Major Depressive Disorder (MDD) is a leading global neuropsychiatric disorder, requiring precise diagnosis for effective intervention. Developing accurate diagnostic models for MDD remains a critical but challenging task. This study introduces a graph-based deep learning framework that addresses the issue of limited training data and facilitates robust training for identifying MDD across diverse episode patterns.

Methods

We introduce Brain Augmented-Decorrelated Network (BrainADNet), a framework designed to address data scarcity by augmenting brain signal inputs. BrainADNet builds upon the Skip-Graph Convolutional Network to aggregate informative multi-layer features, enriching its representational capacity. Recognizing the clinical relevance of demographic factors such as age, education, and gender in depression, we incorporate these attributes into the training process and examine their effect on diagnosis. To further improve feature diversity and reduce overfitting, we use a decorrelation regularizer to the model training. This encourages GCN embeddings to learn complementary, non-redundant representations from input graphs.

Results

As far as we are aware, the framework surpasses existing models in accurately identifying MDD cases across depressive stages. We present a detailed ablation study demonstrating the contribution of each component to diagnostic precision. Our study highlights the top-10 brain regions influential in diagnosing MDD in males and females, addressing a crucial gap in understanding gender-specific neural mechanisms. We also uncover distinct patterns in latent-space brain connectivity, derived from GCN embeddings, between individuals experiencing single versus multiple depression episodes.

Conclusions

This study underscores the potential of graph methods to advance diagnostic precision for MDD. By integrating gender-specific and stage-wise insights, our framework equips medical professionals and researchers to design personalized and targeted therapeutic strategies, offering transformative implications for patient care.

Subject terms: Brain imaging, Magnetic resonance imaging

Plain language summary

Major Depressive Disorder (MDD) is a serious mental health condition characterized by a persistently low mood lasting at least two weeks, often accompanied by a range of symptoms that differ from person to person. MDD significantly affects daily life, relationships, brain health, and in severe cases, it may lead to suicidal attempts. Addressing the stigma around MDD and improving diagnosis are essential for timely and effective treatment. In this study, we introduce a graph-based method to accurately detect MDD, identify its stages, and extract distinct brain regions involved in both men and women. In addition, our approach sheds light on how brain functional connectivity changes with MDD progression, helping to refine diagnoses and support personalized treatment strategies.


Barman et al. present a graph machine-learning framework for identifying individuals with depression and their severity stages. The model improves classification accuracy, mitigates feature redundancy, and reveals gender-specific brain regions and stage-wise functional connectivity changes.

Introduction

The World Health Organization’s (WHO) Mental Health Action Plan 2013-2030 and Mental Health Gap Action Programme (mhGAP) prioritize addressing mental disorders, particularly depression and self-harm, including suicide prevention1. Major depressive disorder (MDD), a complex condition influenced by biological, environmental, and psycho-social factors, was the third largest contributor to the global disease burden in 2008 and is projected to become the leading cause by 20302,3. According to the Diagnostic and Statistical Manual of Mental Disorders (DSM-V), diagnosis requires persistent symptoms like low mood, sleep disturbances, difficulty concentrating, and thoughts of self-harm, all of which severely impact social and personal life4. Currently, MDD affects 3.8% of the global population, with higher prevalence in women (6%) compared to men (4%), and in older adults (5.7% of those over 60)5. Women are ~50% more likely to experience MDD than men. Recurrent MDD (rMDD), a more severe and persistent form, involves repeated depressive episodes and has been recognized in the WHO’s International Classification of Diseases (ICD-11)6. Alarmingly, individuals with a single depressive episode face a 50% risk of recurrence, which increases to 80% after two episodes7. Despite the availability of effective treatments, over 75% of people in low- and middle-income countries remain untreated due to limited resources and the stigma surrounding mental illness. Misdiagnosis or delayed diagnosis of MDD is common, as its symptoms are often mistaken for normal emotional fluctuations. Accurate and timely identification of MDD is crucial for delivering effective treatments, reducing the risk of recurrence, and alleviating the long-term psychological, social, and economic burden on healthcare systems.

Among neuroimaging techniques, functional magnetic resonance imaging (fMRI) has emerged as a critical tool for capturing neuronal activity in specific brain regions8,9. Studies reveal that depression significantly impacts structural neuroplasticity, altering both structural and functional connectivity in key brain areas such as the prefrontal cortex, hippocampus, amygdala, and gray and white matter9–11. Early investigations into classifying MDD patients versus Healthy Controls (HCs) have uncovered distinct alterations in functional brain networks, especially in resting-state fMRI (rs-fMRI) data12–14. The default mode network (DMN), typically active during rest, exhibits functional connectivity and heightened metabolic activity in healthy individuals15,16. However, large-scale analyses reveal marked reductions in DMN connectivity in recurrent MDD (rMDD) patients (t = −3.737, p = 0.0002, d = −0.326), while only minimal alterations are observed in first-episode MDD patients (t = −0.914, p = 0.361, d = −0.076)17. These findings underscore the profound effects of depression on brain connectivity and suggest that DMN disruptions may serve as a biomarker for recurrent MDD, offering valuable insights for diagnosis and intervention.

Traditional machine learning and deep learning based fMRI classification methods, such as support vector machines (SVM), logistic regression, and decision trees, rely on feature extraction but often fail to capture the critical topological relationships between brain regions18,19. Although deep learning techniques have shown promise in medical imaging, they are not designed to handle the intricate connectivity architecture of the human brain20–22. This limitation leads to suboptimal performance in disease classification, as accurately mapping the complex connectivity of the brain network is essential for understanding neurological disorders. Graph-based framework offers a solution by modeling brain regions as nodes and their functional connections as the edges23–25. Graph neural networks (GNNs) build on this foundation by integrating graph structures with neural networks, enabling the simultaneous processing of node attributes and their interconnections. This approach allows GNNs to effectively capture complex brain network patterns, significantly enhancing brain disorder classification and cognitive state prediction26,27. Recent works employ GCNs to capture topological properties of brain connectivity, achieving favorable performance in identifying MDD28,29. Additionally, GNNs have been investigated for interpretable diagnostics via linear models leveraging global network measures, as well as for multimodal integration and multi-task learning, showing potential to enhance diagnostic precision and adaptability30–32.

Existing graph-based approaches face a critical limitation in generalizing under limited annotated data. Generative architectures, such as variational autoencoders and diffusion-based models, have shown strong potential for data augmentation in various domains. However, these methods face several critical limitations when applied to brain connectivity analysis. These models often rely on large and diverse sets of unlabeled data, require substantial computational resources, and typically struggle to preserve biologically meaningful connectivity patterns33,34. Again, diffusion-based methods often lack domain-specific inductive biases and involve complex optimization procedures, making their direct application to brain graph analysis challenging35. In parallel, semi-supervised and self-supervised learning are two active research paradigms for learning under low-label conditions. In semi-supervised learning, the model is trained to minimize error on the labeled data while enforcing consistency on the unlabeled data. In contrast, self-supervised learning focuses on learning invariant features by solving pretext tasks, followed by fine-tuning on labeled data. Both paradigms typically require enough task-specific data to achieve desirable performance and are often computationally intensive. We argue that effective augmentation strategies for labeled data can substantially improve the performance of any learning paradigm.

Motivated by this, we propose BrainADNet, an efficient and interpretable framework to diagnose individuals with depressive disorder and identify their stages. To address the issue of data scarcity, we first implement a sliding-window technique on the original time-series brain signals, also known as blood oxygenation level dependent (BOLD) signals, as a data augmentation step. This approach not only mitigates the issue of limited data but also standardizes the BOLD time series to a fixed dimension across all subjects from different sites. In this work, unlike conventional approaches that focus solely on brain signals, BrainADNet integrates demographic information, including age, gender, and years of education, along with brain connectivity features, providing a more comprehensive understanding of how this personal information influences the training and performance of the model. Following ref. 36, a core component of BrainADNet is Skip-GCN, which is designed to mitigate overfitting while enhancing classification accuracy and reliability. The dynamic weight fusion block in Skip-GCN aggregates information from each layer. To mitigate overfitting, which is a common issue when training neural networks on limited data, we use a decorrelation regularizer along with the traditional GCN loss function. By reducing correlations between hidden units, the regularizer promotes independent and diverse graph representations, improving both training efficiency and model performance. Since graph classification in neuroimaging is typically formulated as a supervised learning problem37, we present our results in a supervised setting. However, the techniques we propose are not limited to supervised frameworks. In preliminary evaluations, we find that the same augmentation strategies yield consistent benefits when incorporated into SSL frameworks, highlighting the flexibility and broad applicability of our approach.

We validate the effectiveness of BrainADNet using rs-fMRI data from the Rest-meta-MDD consortium (https://rfmri.org/REST-meta-MDD)38, which contains data from 25 research groups across 17 hospitals in China17. Extensive experiments on the benchmark dataset demonstrate that BrainADNet consistently outperforms existing methods in classifying depressive disorders. We also investigate gender-specific biomarkers and the stage-wise evolution of functional connectivity networks associated with depression.

Materials and methods

Data description

The dataset used in this study comprises preprocessed rs-fMRI from 1300 patients diagnosed with MDD and 1128 HCs17. All participants provided written informed consent. The study from which the dataset was derived was approved by the Institutional Review Board of the Institute of Psychology, Chinese Academy of Sciences (No. H21102)39. All the primary information, such as diagnosis, age, sex, and education, as well as the Hamilton Depression Rating Scale (HAMD) corresponding to each participant, is also provided in the dataset. After a comprehensive quality assessment, the dataset was refined to include 848 individuals diagnosed with MDD and 794 HCs from 17 distinct hospitals/sites. In the multiclass classification framework, we aimed to differentiate between three distinct groups: First-episode drug-naive (FEDN) patients, representing individuals experiencing their first depressive episode without prior psychiatric medication; rMDD patients, characterized by individuals with multiple depressive episodes; and HCs with no history of psychiatric disorders. Participants for the multiclass classification analysis were drawn from nine hospitals/sites (Sites 7–9, 11, 14, and 19–21, 23), comprising a total of 937 individuals: 529 HCs, 219 FEDN patients, and 189 rMDD patients. Detailed demographic and clinical information of the participants are provided in the sheet entitled Dataset_details in the Supplementary Data. Additionally, our analysis categorized participants into three pairwise comparison groups to further investigate distinctions: MDD vs. HC, rMDD vs. HC, and FEDN vs. HC. In the MDD category, we include both rMDD and FEDN individuals. The data statistics for binary classification are as follows: for the MDD vs. HC classification, the dataset comprises 1570 participants from 16 sites (Sites 1, 2, 7–11, 13–15, 17, 19–23), including 756 HCs and 814 individuals diagnosed with MDD. For the FEDN vs. HC classification, data are obtained from 5 sites (Sites 8, 9, 14, 20, 23), comprising 598 participants (379 HCs and 219 FEDN). For the rMDD vs. HC classification, the dataset consists of 615 participants from 6 sites (Sites 7, 9, 11, 19–21), including 426 HCs and 189 rMDD patients.

Data preprocessing

To eliminate variability, the T1-weighted rs-fMRI images were preprocessed using a standardized preprocessing pipeline, data processing assistant for resting-state fMRI (DPARSF) at each local participating site40. The following preprocessing steps were performed: (i) Slice timing correction: to synchronize all slices to a reference time point, (ii) Realignment: to correct the functional data for a movement that has occurred during scanning, (iii) removing covariates: used data with global signal regression, (iv) Spatial normalization: to ensure consistent anatomical coordinates across all the subjects, (v) Co registration: used to put the structural and functional data in alignment, (vi) Band-pass filtering: performed using a 0.01-0.1 Hz filter, (vii) Normalization: normalized to a symmetric template and finally smoothened to enhance the signal and cancel out any noise. Following preprocessing, time series BOLD signals corresponding to specific brain atlases are extracted. Subsequently, poor-quality and incomplete BOLD signals are also excluded across the various atlases: anatomical automatic labeling (AAL) - 116 ROIs41, Dosenbach - 160 functional ROIs42, Craddock - 200 ROIs43, where ROI refers to the region of interest.

Ethics statement

In this work, we propose a graph-based machine learning framework for the diagnosis of depression, with the goal of improving mental health outcomes. We utilize a controlled access dataset38 (http://rfmri.org/REST-meta-MDD) and implement model development and evaluation procedures to ensure scientific integrity. This research was conducted in accordance with established ethical guidelines and reflects our commitment to inclusion, equity, and responsible research practices.

Graph representation learning

Here, the graph is denoted as G=(V,E,W¯), where V is the set of nodes represented by brain regions or ROIs, E is the set of edges which signify the connectivity pattern among the brain regions, and W¯ is the weighted adjacency matrix which identifies how strongly they are connected. The original BOLD signals are denoted as B¯∈RN×T, where N is the number of brain regions and T is the number of time steps involved in the scanning process. The formula to calculate Pearson’s correlation coefficient can be expressed as:

Rij=∑k=1T(pi,k−p¯i)(pj,k−p¯j)∑k=1T(pi,k−p¯i)2∑k=1T(pj,k−p¯j)2∈RN×N 1

Here, pi,k and pj,k represent the BOLD values for ROIs i and j at time point k. Their mean values, p¯i and p¯j, are calculated as p¯i=1T∑k=1Tpi,k and p¯j=1T∑k=1Tpj,k. To compute Fisher’s Z-transform on each correlation matrix R, we define: Zij(f)=12ln1+Rij1−Rij=artanh(Rij). Fisher’s Z-transformation stabilizes the variance of Pearson correlation coefficients and transforms them into an approximately normal distribution, thereby enabling the application of parametric statistical methods with greater reliability. The final KNN graph G=(V,E,W¯) can be defined as: E={vi,vj}∣vj∈KNN(vi,κ),vi≠vj, where KNN(vi, κ) represents the set of the κ nearest neighbors of vi. The weighted adjacency matrix is defined by:

W¯ij(knn)=Sim(vi,vj)if{vi,vj}∈E,0otherwise. 2

W¯ij captures the similarity of each node with its neighboring nodes. This enforces a sparse graph structure by preserving only the most relevant local connections for each node, thereby enhancing structural fidelity and reducing spurious links in the functional brain network.

Graph convolutional network

GNNs are a powerful tool for learning representations of graph-structured data. A specific type of GNN, the graph convolutional network (GCN), operates under the principle of message passing, where node features are updated by aggregating features from neighboring nodes.

For a given node v∈V, GCNs learn the node embedding Zv(ℓ)∈Rdn at layer ℓ by aggregating messages from its neighbors N(v). Specifically, the embedding is updated by first aggregating the embeddings of neighboring nodes from the previous layer and then combining this aggregated message with the node’s own embedding from the previous layer. This process is formally expressed as:

Zv(ℓ)=COMZv(ℓ−1),AGG{Zu(ℓ−1):u∈N(v)}. 3

Here, AGG denotes an aggregation function (e.g., mean or sum), and COM denotes a combination function (e.g., concatenation followed by a linear transformation and nonlinearity). If self-loops are included in the graph, the node v may be part of its own neighborhood, i.e., v∈N(v).

GCNs introduce a layer-wise propagation rule that refines node features through a series of transformations and nonlinear activations. Let A∈RN×N be the adjacency matrix and X∈RN×n the input feature matrix. Starting with Z(0) = X, the update rule for each GCN layer is:

Z(ℓ)=σD~−12A~D~−12Z(ℓ−1)W(ℓ), 4

where A~=A+I is the adjacency matrix with added self-loops, D~ is the corresponding degree matrix with D~ii=∑jA~ij, W(ℓ)∈Rdℓ−1×dℓ is the trainable weight matrix, and σ( ⋅ ) is a nonlinear activation function. The output of the final GCN layer is Z(L)∈RN×d, where d is the embedding dimension. In graph classification tasks, node-level embeddings are aggregated into a graph-level representation using a readout (pooling) layer. For a given graph G, average pooling is expressed as:

ZG=1∣V∣∑v∈VZv(L), 5

where ZG∈Rd is the graph-level representation. Other pooling methods can also be applied in the readout layer, such as max pooling, defined as ZG=maxv∈VZv(L), where the max operator is applied element-wise across all node features, and sum pooling, defined as ZG=∑v∈VZv(L). These pooling strategies enable the model to produce a compact vector representation of the entire graph. This vector is then passed through a fully connected layer for classification.

In this study, we adopt ChebyNet for extracting higher-order graph representations44. ChebyNet employs spectral graph convolution based on the graph Fourier transform, enabling localized filtering of node features using polynomial approximations. This approach extends the receptive field beyond 1-hop neighborhoods. Let the normalized graph Laplacian be decomposed as L = UΛU⊤, where U∈RN×N is the matrix of eigenvectors and Λ = diag(λ0, …, λN−1) is the diagonal matrix of eigenvalues. A spectral filter defined as fθ(Λ) = diag(θ) enables convolution with a signal p∈RN using the operation fθ*p = Ufθ(Λ)U⊤p. To avoid the computational cost of eigendecomposition, the filter is approximated using a K-order Chebyshev polynomial expansion44: fθ′*p≈∑k=0Kθk′Tk(L~)p, where θ′∈RK is a vector of trainable Chebyshev coefficients, Tk(L~) is the Chebyshev polynomial of order k, and L~=2λmaxL−I is the scaled Laplacian. The Chebyshev polynomials are recursively defined as: T0(L~)=I,T1(L~)=L~,Tk(L~)=2L~Tk−1(L~)−Tk−2(L~). In ChebyNet, starting from the input node features Z(0) = X, the embedding at layer ℓ is updated as

Z(ℓ)=∑k=0Kθk(ℓ)Tk(L~)Z(ℓ−1), 6

where θk(ℓ) are the trainable parameters for each polynomial order. This formulation allows each node to aggregate information from nodes within its K-hop neighborhood, enabling more expressive representations. In this study, we use global mean pooling in the readout layer, followed by a fully connected linear layer for classification.

BrainADNet framework

Figure 1 illustrates the proposed framework of our study. Our first step towards feature extraction is data augmentation, where each original BOLD signal is segmented into multiple fixed-length time series. This is achieved through a sliding-window technique, with a window length of W = 60 and a stride of S = 30 for ensuring consistent time series BOLD signals across all the participants. This data augmentation strategy addresses the limited availability of brain signals by generating multiple signals from a single input. This augmented time series data is then used to derive the brain graph, where initially we calculate the Pearson’s correlation coefficients between every pair of ROIs across all the subjects using Equation (1). After applying Fisher’s z-transformation to stabilize the correlation coefficients, we incorporate demographic attributes to derive the final graph features. The KNN graph is constructed using Equation (2) on Fisher’s z-transformed features, where we set κ = 10. The application of KNN is pivotal for preserving the local connectivity structure of the data, as it captures the most relevant relationships between nodes while mitigating the impact of noise and sparsity. All the augmented graphs and features are labeled according to their original BOLD signals. Finally, we train the Skip-GCN model using a decorrelation loss function along with the traditional Cross-Entropy (CE) loss, effectively preventing overfitting and enhancing classification accuracy.

Fig. 1. Overall pipeline of BrainADNet for classifying depressed individuals across different stages and healthy controls.

Fig. 1

a, b The original BOLD signal is segmented using a sliding window (W = 60, S = 30) to generate multiple augmented time-series segments. c Pearson’s correlation matrices are computed from each segment, followed by Fisher’s Z-transformation, and demographic information is early-fused with the resulting connectivity matrices to define graph features. d Graphs are constructed using a KNN algorithm (κ = 10). The learned features and graphs are then processed by Skip-GCN to classify first-episode drug-naive MDD patients, recurrent MDD patients, and healthy controls within a unified framework.

Skip-GCN

The framework of the GCN model with skip connections between layers is shown in Fig. 2. Specifically, we adopt a ChebyNet architecture composed of three Chebyshev (Cheb) convolutional layers. Each Cheb layer sequentially processes node features from the previous layer to compute updated representations. Within each layer, the input features are passed through a series of operations, including a ChebConv layer, batch normalization, ReLU activation, and dropout.

Fig. 2. Skip-GCN architecture used in our experiment.

Fig. 2

The model consists of three convolutional layers with ReLU as the activation function, followed by a dropout layer. The output of each layer is connected to the subsequent layers via a skip connection, ensuring information flow across the network. The dynamic weight fusion block applies attention to each layer output and combines them to generate the final embeddings, with attention parameters as learnable weights in the architecture. The readout layer aggregates the fused embeddings to generate a graph-level representation. The fully connected linear layer utilizes this representation to determine the prediction score for classification.

Skip connections offer several advantages: It mitigates the vanishing gradient problem, enabling deeper architectures to train effectively; improve gradient flow across layers; and enhance feature reuse by directly combining low-level and high-level representations. To promote efficient feature aggregation and improve convergence, the output of each layer is added to the output of the next layer through a skip connection. Then, the Dynamic Weight Fusion Block aggregates outputs from all layers using trainable attention parameters within the neural network. This block applies learnable scalar weights to the outputs of each convolutional layer and computes a weighted sum to obtain the fused node embedding Zfused as:

Zfused= ∑ℓ=1LaℓZ(ℓ), 7

where L is the total number of layers, aℓ are the learnable weights assigned to each Cheb layer output, and Z(ℓ) denotes the output from the ℓth Cheb layer. The graph-level representation ZG is obtained using a global mean pooling operation through the READOUT layer. Finally, the predicted target label y~ is calculated using a fully connected linear layer, followed by an activation function σ (e.g., softmax or sigmoid):

y~=σ(θfcZG+bfc), 8

where θfc∈RC×d is the weight matrix of the fully connected linear layer, bfc∈RC is the bias vector, and C is the number of output classes.

Decorrelation for generalization

To improve model generalization, it is important to learn representations that are both diverse and non-redundant. Minimizing activation correlation is a well-established strategy to achieve this45,46. Following47, we incorporate decorrelation regularization into GCN-based graph classification to enhance representation learning for fMRI-based depression diagnosis.

Consider a hidden layer in the GCN model, where the activations for sample i in a batch of size B are represented by z(i)∈Rd. To quantify the correlation between neurons n1 and n2, we compute the covariance matrix defined as

Cn1,n2=1B ∑i=1Bzn1i−μn1zn2i−μn2 9

where μn1=1B∑i=1Bzn1i, is the mean of activation n1 over the batch. No additional normalization is applied to the covariance matrix, as it is inherently computed from mean-centered features. To suppress inter-feature redundancy, we minimize the squared Frobenius norm of the off-diagonal elements of the covariance matrix

LDecorr=CF2−diag(C)22 10

where ∥ ⋅ ∥F is the Frobenius norm, and diag( ⋅ ) extracts the diagonal of C. By subtracting the diagonal norm, the loss specifically targets inter-neuron correlations without penalizing individual activation variances. This encourages feature decorrelation while preserving individual variances, helping the network discover a richer and more discriminative feature space. The computational cost of computing the batch covariance matrix is O(Bd2). In our case, B = 32 and d = 128. This is computationally marginal and does not dominate the overall training complexity of the GCN model.

BrainADNet objective

In our framework, the decorrelation loss is applied to the output of the READOUT layer, which aggregates node-level embeddings from the final Skip-GCN layer into graph-level embeddings ZG∈RB×d. Minimizing the covariance promotes diversity in the learned embeddings by reducing redundancy across embedding dimensions. Through backpropagation, this regularizer influences earlier layers as well, guiding the network toward learning more discriminative and low-redundancy representations.

To this end, we optimize the following composite loss function:

Ltotal=1B ∑i=1B−yilog(y~i)+(1−yi)log(1−y~i)+λC(ZG)F2−diag(C(ZG))22+γΘ22 11

Here, y~i is the predicted probability for the i-th sample, yi is the ground truth label, Θ represents model parameters, λ controls the contribution of the decorrelation regularizer, and γ is the weight decay coefficient.

Results

In this section, we present a comprehensive analysis of the results, highlighting both the classification performance and the underlying neurobiological insights. Beyond classifying individuals across different stages of depression, we also investigate the influential brain regions that contribute to the diagnosis of depression in both male and female individuals. Furthermore, we examine the evolution of brain functional connectivity with varying levels of depression severity, providing a deeper understanding of how these changes correlate with the progression of the disorder. We also conduct a series of comprehensive ablation studies to evaluate the contribution of each component of our method to the overall classification performance. For the ablation study and subsequent analysis, we consider the AAL atlas.

Evaluation metric

The performance metrics considered for classification include accuracy, F1 score, and area under curve (AUC). The calculation methods are as follows:

Accuracy=TP+TNTP+TN+FP+FNF1Score=2*Precision*RecallPrecision+Recall

Here, Recall=TPTP+FN, Precision=TPTP+FP, TP is the true positive, TN is the true negative, FP is the false positive, and FN is the false negative. AUC is a performance metric that evaluates the ability of classification model to distinguish between the classes. It represents the degree of separability achieved by the model. The higher all the metrics, the better the model is at correctly classifying instances of different classes. We present all three metrics throughout our study to demonstrate the results.

Baselines and training details

We benchmark the proposed BrainADNet framework against a comprehensive set of state-of-the-art baseline models spanning four categories: classical machine learning, deep learning, generative augmentation, and self-supervised learning (SSL). The evaluation of classical machine learning, deep learning and generative models is conducted using tenfold cross-validation, with performance measured in terms of Accuracy, AUC, and F1 Score. To assess cross-institution generalization, we also perform leave-one-site-out (LOSO) evaluation. For comparisons against SSL baselines, we follow the training strategy presented in ref. 48. Hyperparameters for each model are tuned based on the implementation details provided in their respective original papers. To ensure consistency, we use a fixed learning rate of 0.001, a weight decay of 5 × 10−4, and train each model for 50 epochs. The details of the baseline models and implementation settings are as follows:

  • Classical machine learning baselines: We include SVM, Random Forest (RF), and Logistic Regression (LR), trained on the widely used “vectorized correlation matrix” feature49,50. Specifically, for each subject, Pearson correlation coefficients are computed between resting-state fMRI time series from all ROI pairs. The upper-triangular (non-redundant) values are flattened into one-dimensional vectors and stacked to form a feature matrix Xf∈RP×f, where f denotes the number of unique ROI-to-ROI connections and P is the number of subjects. Hyperparameters (e.g., kernel type and regularization strength) are selected via grid search within the training folds.

  • Deep learning baselines: We benchmark against several graph- and transformer-based models, including GCN51, GAT52, GIN53, TGCN54, BrainGNN55, BrainNetCNN56, PopGCN57, and BNT58. All models are implemented from their official repositories and configured according to their original specifications. For GCN, GAT, and GIN, we adopt a three-layer architecture with hidden dimensions of 128, 64, and 32, respectively, and ReLU activations.

  • Generative augmentation baselines: We evaluate data augmentation strategies using generative models, namely VAE59 and VAE-GAN60. Each model is trained following its original implementation to generate 100% new synthetic fMRI samples, effectively doubling the original training set. A GCN classifier is then trained on the augmented dataset and evaluated for classification performance.

  • Self-supervised GNN baselines: We include two state-of-the-art SSL methods: GATE61, a temporal contrastive learning framework, and GCDA48, a diffusion-based contrastive learning framework. For both, pretraining is conducted on the largest acquisition site (Site 20), followed by fivefold cross-validation for fine-tuning and testing on the target site. BrainADNet, which does not require pretraining, is trained and tested directly on each target site.

Comparison with classical machine learning, deep learning and generative baselines

Firstly, we present a detailed comparative analysis of our proposed framework against state-of-the-art machine learning and graph learning approaches, demonstrating its effectiveness. Additionally, we analyze the impact of using different brain atlases, namely AAL (116 Regions), Craddock (200 Regions), and Dosenbach (160 Regions), illustrating their influence on classification performance.

In this study, in addition to performing traditional binary classification, we also conduct multiclass classification to simultaneously distinguish between FEDN, rMDD, and HC. The results presented in Fig. 3 clearly indicate that BrainADNet can differentiate between individuals with single versus multiple episodes, as well as those without any depressive disorder. In addition to multiclass classification, we perform binary classifications (MDD vs. HC, rMDD vs. HC, and FEDN vs. HC) to demonstrate the effectiveness of our model in identifying instances from two groups. The results presented in Table 1 show that BrainADNet consistently outperforms all state-of-the-art methods in binary classification as well. Here, we observe that in classifying rMDD versus HC, although our model demonstrates superior accuracy and AUC, it achieves a slightly lower F1 score compared to BrainNetCNN. It is likely due to the significant class imbalance, where HC participants outnumber rMDD patients by nearly a 3:1 ratio. This highlights the need for developing targeted strategies that augment brain signals proportionally to the number of samples in each class. However, to assess potential model bias toward the minority class, we evaluate precision and recall and compare the results against all baseline methods.

Fig. 3. Performance comparison of BrainADNet with state-of-the-art models for multiclass classification.

Fig. 3

The classification task involves identifying individuals experiencing their first episode of depression without prior medication; individuals with multiple episodes of depression, and healthy controls within a single classification setting. For comprehensive evaluation, three key metrics are reported: Accuracy, F1 score, and AUC. Classification results obtained using tenfold cross-validation (n = 10). Within each box, the central line indicates the median, the box boundaries represent the interquartile range (IQR), and the whiskers extend to 1.5 times the IQR.

Table 1.

Comparative analysis of our proposed method against state-of-the-art approaches for binary classification

Classification of rMDD vs. HC
Atlas: AAL Atlas: Craddock Atlas: Dosenbach
Classifier Accuracy (%) AUC (%) F1 Score (%) Accuracy (%) AUC (%) F1 Score(%) Accuracy (%) AUC (%) F1 Score(%)
SVM 68.00 ± 6.30 64.40 ± 6.29 38.90 ± 11.09 65.30 ± 6.82 61.90 ± 7.88 43.20 ± 11.15 67.60 ± 4.15 48.70 ± 9.86 15.00 ± 11.56
LR 70.90 ± 5.11 65.30 ± 6.67 41.80 ± 12.31 66.70 ± 7.26 63.40 ± 6.45 40.10 ± 9.61 68.30 ± 2.92 55.60 ± 9.69 40.10 ± 9.29
RF 71.20 ± 2.39 65.20 ± 4.68 27.80 ± 8.58 71.90 ± 4.75 65.60 ± 8.45 31.70 ± 13.72 66.00 ± 3.86 56.30 ± 9.08 15.80 ± 10.46
GCN51 70.74 ± 5.46 68.86 ± 8.83 39.26 ± 20.52 71.75 ± 3.35 72.05 ± 5.76 43.19 ± 10.78 70.26 ± 4.56 69.19 ± 8.34 35.31 ± 19.34
GAT52 69.58 ± 4.30 58.59 ± 6.77 28.07 ± 18.85 70.45 ± 5.48 66.62 ± 8.93 39.13 ± 19.61 68.63 ± 4.15 64.96 ± 6.12 33.54 ± 19.96
GIN53 69.91 ± 4.36 65.65 ± 8.33 29.71 ± 17.21 74.02 ± 3.75 72.47 ± 5.14 45.29 ± 15.23 66.81 ± 5.00 65.04 ± 6.86 29.24 ± 15.15
BrainNetCNN56 72.04 ± 5.16 59.84 ± 7.80 60.46 ± 7.62 72.72 ± 3.33 64.79 ± 6.82 61.70 ± 4.67 67.97 ± 3.78 53.90 ± 4.14 55.17 ± 4.40
TGCN54 68.25 ± 4.35 67.88 ± 6.22 45.71 ± 14.01 67.17 ± 2.74 72.52 ± 4.79 55.89 ± 4.73 61.43 ± 6.29 67.98 ± 4.90 50.89 ± 5.01
BrainGNN55 67.32 ± 4.06 53.34 ± 4.33 22.26 ± 13.47 67.36 ± 3.79 56.41 ± 5.23 33.33 ± 12.21 69.11 ± 6.80 58.19 ± 6.93 35.65 ± 15.37
VAE-GAN60 70.88 ± 4.39 69.51 ± 5.75 43.61 ± 17.98 70.13 ± 5.19 69.51 ± 6.21 43.61 ± 9.23 71.33 ± 4.22 68.00 ± 9.77 35.14 ± 22.00
VAE59 68.60 ± 4.21 67.02 ± 5.37 24.68 ± 16.55 74.28 ± 4.08 68.28 ± 8.20 37.14 ± 15.18 69.78 ± 2.54 66.25 ± 8.70 27.49 ± 19.51
BNT58 74.50 ± 3.11 75.33 ± 3.27 60.18 ± 3.30 75.65 ± 2.53 77.98 ± 2.46 61.18 ± 4.23 71.33 ± 1.63 60.47 ± 2.43 55.06 ± 2.41
PopGCN57 74.87 ± 2.51 70.67 ± 8.88 60.01 ± 8.94 74.28 ± 3.96 67.96 ± 8.16 58.30 ± 12.32 71.33 ± 2.28 60.47 ± 9.16 53.23 ± 10.42
BrainADNet 76.60 ± 5.20 80.10 ± 6.46 58.44 ± 12.13 77.27 ± 3.93 79.80 ± 6.63 57.56 ± 9.20 76.50 ± 5.47 77.98 ± 6.40 53.06 ± 13.92
Classification of MDD vs. HC
Atlas: AAL Atlas: Craddock Atlas: Dosenbach
Classifier Accuracy (%) AUC (%) F1 Score (%) Accuracy (%) AUC (%) F1 Score(%) Accuracy (%) AUC (%) F1 Score(%)
SVM 55.61 ± 2.76 55.13 ± 3.67 58.97 ± 2.50 53.89 ± 3.81 56.24 ± 3.66 58.10 ± 2.94 57.01 ± 3.33 54.76 ± 4.01 62.56 ± 3.19
LR 53.99 ± 3.59 55.21 ± 3.65 58.11 ± 4.03 55.96 ± 1.60 57.12 ± 2.80 59.40 ± 2.37 56.14 ± 3.63 53.90 ± 3.57 61.50 ± 3.63
RF 55.20 ± 4.10 54.96 ± 4.25 55.89 ± 5.15 56.60 ± 3.84 58.45 ± 4.57 60.20 ± 3.63 55.12 ± 3.40 56.35 ± 2.83 58.21 ± 3.78
GCN51 60.51 ± 3.08 65.50 ± 3.40 64.13 ± 3.89 62.10 ± 4.60 67.21 ± 4.15 64.12 ± 4.07 59.35 ± 1.75 59.10 ± 3.03 61.15 ± 4.34
GAT52 59.10 ± 3.74 64.57 ± 3.55 65.23 ± 3.35 59.23 ± 4.34 64.44 ± 5.00 64.23 ± 3.80 57.89 ± 4.99 60.23 ± 4.99 60.10 ± 5.48
GIN53 61.98 ± 2.97 62.56 ± 2.53 62.76 ± 5.44 61.18 ± 3.19 63.34 ± 3.26 61.14 ± 6.30 56.67 ± 4.02 59.21 ± 4.75 56.23 ± 6.92
BrainNetCNN56 59.91 ± 2.84 59.71 ± 2.88 60.12 ± 2.85 60.32 ± 2.24 61.01 ± 2.09 59.12 ± 2.22 57.21 ± 3.78 57.22 ± 3.66 56.78 ± 4.08
TGCN54 57.85 ± 2.06 62.99 ± 3.02 67.50 ± 1.81 58.81 ± 1.63 66.52 ± 2.97 67.10 ± 0.93 55.89 ± 0.98 61.85 ± 2.66 47.82 ± 1.00
BrainGNN55 54.98 ± 2.73 54.34 ± 2.87 57.10 ± 3.12 57.12 ± 4.06 57.11 ± 4.11 58.90 ± 4.49 55.21 ± 3.53 54.95 ± 3.52 60.71 ± 4.68
VAE-GAN60 60.82 ± 2.91 66.07 ± 2.97 60.05 ± 5.12 59.95 ± 2.57 66.44 ± 3.26 63.54 ± 2.84 58.71 ± 3.68 61.88 ± 4.93 61.69 ± 7.16
VAE59 60.45 ± 2.68 65.59 ± 2.91 60.10 ± 6.79 61.39 ± 2.72 65.96 ± 3.66 65.10 ± 2.83 58.23 ± 4.69 62.62 ± 4.74 59.63 ± 8.82
BNT58 60.25 ± 1.56 65.28 ± 1.72 59.93 ± 1.42 66.48 ± 2.16 67.52 ± 1.09 65.51 ± 2.02 64.54 ± 3.52 65.54 ± 3.25 63.54 ± 3.61
PopGCN57 64.92 ± 6.61 65.53 ± 9.42 63.74 ± 8.18 64.23 ± 3.57 66.19 ± 3.48 67.51 ± 3.63 64.54 ± 4.33 64.95 ± 5.70 62.10 ± 4.69
BrainADNet 67.05 ± 2.13 73.59 ± 2.60 69.53 ± 3.13 68.21 ± 2.18 73.40 ± 2.78 68.58 ± 4.54 67.68 ± 4.46 70.26 ± 5.03 64.50 ± 7.20
Classification of FEDN vs. HC
Atlas: AAL Atlas: Craddock Atlas: Dosenbach
Classifier Accuracy (%) AUC (%) F1 Score (%) Accuracy (%) AUC (%) F1 Score(%) Accuracy (%) AUC (%) F1 Score(%)
SVM 58.50 ± 4.90 56.70 ± 6.65 34.20 ± 7.15 55.20 ± 3.81 54.00 ± 6.85 41.10 ± 5.70 57.70 ± 3.64 53.30 ± 6.03 18.70 ± 8.78
LR 59.30 ± 6.84 57.60 ± 7.61 35.40 ± 12.14 58.10 ± 5.43 54.70 ± 7.15 39.00 ± 9.86 57.40 ± 3.57 55.00 ± 4.86 18.00 ± 9.02
RF 63.40 ± 6.05 57.10 ± 5.25 27.40 ± 12.81 64.40 ± 3.88 59.60 ± 5.62 26.80 ± 10.92 55.30 ± 4.25 55.00 ± 5.59 37.80 ± 13.23
GCN51 63.88 ± 6.83 65.17 ± 5.03 39.18 ± 8.78 65.65 ± 2.35 66.05 ± 5.77 41.38 ± 16.66 63.58 ± 2.27 56.96 ± 6.45 15.57 ± 19.81
GAT52 61.20 ± 4.86 59.41 ± 5.42 41.08 ± 9.71 61.47 ± 4.00 58.12 ± 7.15 34.64 ± 18.11 61.15 ± 4.74 59.91 ± 8.33 29.78 ± 21.85
GIN53 63.38 ± 5.36 62.15 ± 7.83 39.78 ± 13.84 63.42 ± 6.45 61.96 ± 6.49 35.16 ± 16.85 61.96 ± 2.91 57.24 ± 5.00 16.82 ± 19.73
BrainNetCNN56 63.72 ± 4.02 55.32 ± 5.65 57.81 ± 7.14 65.16 ± 3.26 56.08 ± 5.90 57.71 ± 7.40 60.32 ± 4.85 51.13 ± 5.30 53.72 ± 6.17
TGCN54 60.47 ± 4.45 65.81 ± 4.50 56.11 ± 4.32 61.21 ± 2.65 68.27 ± 3.66 57.68 ± 3.26 56.24 ± 3.47 64.60 ± 6.58 53.08 ± 7.14
BrainGNN55 60.37 ± 5.69 52.69 ± 6.95 27.65 ± 17.76 58.60 ± 4.38 50.82 ± 5.18 24.27 ± 16.43 57.89 ± 4.66 50.71 ± 4.62 26.48 ± 14.56
VAE-GAN60 66.90 ± 4.68 66.63 ± 5.36 38.60 ± 16.83 64.39 ± 6.09 67.52 ± 8.19 43.74 ± 13.75 60.99 ± 5.23 60.43 ± 5.89 29.83 ± 10.22
VAE59 68.06 ± 4.28 64.80 ± 8.91 46.49 ± 17.16 66.97 ± 8.16 66.37 ± 9.15 43.14 ± 19.03 60.99 ± 3.92 60.43 ± 4.81 29.83 ± 15.71
BNT58 71.22 ± 3.37 76.69 ± 2.06 58.02 ± 3.09 67.74 ± 3.87 72.66 ± 5.99 54.88 ± 12.06 56.97 ± 5.07 62.75 ± 4.71 56.97 ± 2.27
PopGCN57 69.27 ± 2.14 63.54 ± 6.69 57.76 ± 4.38 69.90 ± 3.17 69.97 ± 6.84 59.75 ± 6.32 70.14 ± 5.27 69.18 ± 5.01 62.31 ± 10.31
BrainADNet 73.21 ± 5.87 78.27 ± 5.68 59.51 ± 7.98 72.80 ± 6.07 76.11 ± 6.07 61.65 ± 8.90 73.22 ± 6.15 78.97 ± 7.40 65.06 ± 8.41

Results are reported as mean ± standard deviation of classification performance across experiments, with the best-performing results highlighted in bold.

Comparison with SSL baselines

Here, we compare the classification performance of our proposed method with two state-of-the-art SSL models, namely GATE61 and GCDA48. Since SSL approaches require a separate pretraining phase before fine-tuning and evaluation, we report their performance separately. As shown in Fig. 4, BrainADNet achieves superior performance compared to recent SSL models in all three classification settings, demonstrating its effectiveness in brain disorder classification.

Fig. 4. Performance comparison of BrainADNet and state-of-the-art self-supervised models across three diagnostic settings.

Fig. 4

a rMDD vs. HCs, b MDD vs. HCs, and c FEDN vs. HCs. Classification results obtained using 5-fold cross-validation (n = 5). Within each box, the central line indicates the median, the box boundaries represent the interquartile range (IQR), and the whiskers extend to 1.5 times the IQR.

Precision-recall analysis for class imbalance

Class imbalance is a well-recognized challenge in medical imaging problems, as it can bias models toward minority classes and obscure their true predictive performance. The precision-recall (PR) curve captures the trade-off between positive predictive value (precision) and sensitivity (recall), making it particularly well-suited for evaluating potential model bias. The area under the precision-recall curve (AUPRC) summarizes the trade-off between precision and recall across all decision thresholds. Higher AUPRC values indicate a better balance between these two metrics, reflecting more reliable detection of the minority class. Figure 5 presents the PR comparative analysis for three binary classification tasks: rMDD vs. HC, MDD vs. HC, and FEDN vs. HC. The results demonstrate that BrainADNet consistently maintains favorable precision-recall trade-offs in both balanced (MDD vs. HC, FEDN vs. HC) and imbalanced settings (rMDD vs. HC). It achieves superior AUPRC values across all tasks, highlighting its competitive and reliable performance.

Fig. 5. Comparative analysis of precision-recall curves for all baseline models across three diagnostic settings.

Fig. 5

a rMDD vs. HCs, b MDD vs. HCs, and c FEDN vs. HCs. The curves characterize the precision-recall trade-off of each model under varying decision thresholds, providing a robust measure of performance in class-imbalanced conditions.

Institutional generalization

We evaluate institutional generalization using the leave-one-site-out (LOSO) cross-validation setting for binary classification between MDD and HC subjects. Given that the dataset comprises fMRI scans from 16 different acquisition sites, we train the model on data from 15 sites and evaluate it on the held-out 16th site. This process is iteratively repeated until each site has served as the test set once. We report the average performance across all folds in the below Fig. 6a. The results demonstrate that BrainADNet consistently maintains strong predictive scores across previously unseen sites, underscoring its robustness to scanner- and site-related variability. This site-level evaluation is particularly important in multi-center neuroimaging research, where heterogeneity in acquisition protocols, hardware, and demographic distributions often hampers model transferability. The consistent performance of BrainADNet under the LOSO setting suggests that the model learns domain-invariant representations, making it well-suited for deployment in real-world, multi-institution clinical applications.

Fig. 6. Comprehensive evaluation of BrainADNet across multiple sites, brain network representations, and demographic groups.

Fig. 6

a Comparative analysis of institutional generalization performance for classifying individuals with MDD. Classification performance is obtained using a leave-one-site-out cross-validation strategy across 16 independent sites (n = 16). b Comparison of BrainADNet performance using temporal (time vs. time) and spatial (ROI vs. ROI) brain connectivity networks for classifying MDD versus HCs. Here, T represents time points and R represents brain regions, with each graph offering distinct information for analysis. Classification results are obtained using 10-fold cross-validation (n = 10). c Sensitivity analysis of BrainADNet across male (M) and female (F) groups by comparing the classification accuracy for each gender in identifying MDD individuals. The plot explores potential gender-related biases in model performance when incorporating gender information. Classification results of (b and c) are obtained using tenfold cross-validation (n = 10). For all the boxplots, within each box, the central line indicates the median, the box boundaries represent the interquartile range (IQR), and the whiskers extend to 1.5 times the IQR.

Spatial vs. temporal graph analysis

While our previous experiments focused exclusively on spatial graph representations, prior studies have also explored temporal graphs for modeling brain connectivity. To provide a more comprehensive analysis, we evaluate our framework using both spatial and temporal graphs. Identical sliding-window augmentation and training procedures are applied to both to ensure a fair and consistent comparison. The spatial graph models functional connectivity, where nodes represent brain regions and edges encode statistical dependencies between their BOLD signals, capturing interactions across the entire scanning period. Temporal graphs are generated by taking the transpose of the augmented BOLD signal matrices to compute correlations, capturing similarities between time points and tracking whole-brain activation. As shown in Fig. 6b, spatial graphs consistently outperformed temporal graphs, demonstrating their superior ability to capture clinically informative connectivity patterns for MDD classification.

The observed performance difference likely arises from key neurobiological and modeling considerations. MDD involves persistent disruptions in functional connectivity across large-scale brain networks, especially the default mode network (DMN), salience network (SN), and fronto-limbic circuits17,62. Spatial graphs are better at modeling these connections, making them more suitable for detecting patterns associated with the disorder. While temporal graphs capture time-varying global activation patterns and may be valuable for studying transient brain dynamics. Moreover, spatial graphs integrate information across the entire available time series, enhancing the signal-to-noise ratio and capturing better connectivity patterns. This analysis highlights the importance of spatial connectivity in understanding brain network alterations relevant to MDD diagnosis.

Sensitivity towards gender

Substantial evidence highlights gender differences in the occurrence of depression, with research consistently indicating that women are more susceptible to depression than men63–65. Given this established fact, it is essential to evaluate whether our model exhibits any bias toward a specific gender when incorporating gender information alongside fMRI data. Specifically, we assess the ability of our model to accurately classify male and female individuals separately while ensuring balanced performance across both groups. Fig. 6c illustrates the classification performance of our model for males and females separately, along with its overall performance across all data in classifying MDD individuals. Here, Accuracy represents the proportion of all depressed individuals (both male and female) correctly classified by the model; Accuracy (M) denotes the percentage of accurately classified male individuals; while accuracy (F) indicates the percentage of correctly identified female individuals. The results demonstrate that our model achieves consistent performance across both genders, with minimal variations in classification metrics. Despite well-established gender differences in depression prevalence, the model exhibits marginal gender-specific performance disparities. Its ability to integrate gender information while maintaining largely balanced classification performance makes it a valuable tool for identifying depression in diverse populations, supporting its potential applicability in clinical settings.

Ablation study

We conduct a series of ablation studies to evaluate the contribution of each individual component, as well as the effect of different configurations within the proposed framework. Below, we discuss the results and their implications in detail.

Ablation study 1: In this analysis, we incrementally add each component to examine its effect on model performance, and the results are presented in Fig. 7a. Ablation Study 2: This study evaluates the effect on model performance when one component is removed at a time for the classification of MDD patients, as shown in Fig. 7b. The results demonstrate that individual components alone are insufficient for optimal performance. Ablation study 3: Since our framework comprises four modules, we further investigate the contribution of multiple components to MDD classification. Specifically, we perform an additional ablation study in which two modules are removed at a time, allowing us to analyze the effect of the remaining two-module interactions. As shown in Fig. 7c, no two-component combination achieves performance comparable to the full BrainADNet model, highlighting the importance of each module and the overall effectiveness of our framework in brain disorder classification.

Fig. 7. Analysis of different components of the BrainADNet framework.

Fig. 7

a Ablation Study 1: classification performance obtained by sequentially adding individual components. b Ablation Study 2: classification performance obtained by removing individual components. c Ablation Study 3: classification performance obtained by evaluating combinations of multiple components. For all boxplots in (a–c), MDD classification results are obtained using tenfold cross-validation (n = 10), and within each box, the central line indicates the median, the box boundaries represent the interquartile range (IQR), and the whiskers extend to 1.5 times the IQR. d Training-loss convergence of different models for MDD classification. e The effect of incorporating demographic attributes on the average performance of the GCN classifier to classify MDD individuals. f Correlations among learned representations in the GCN and BrainADNet models for MDD classification. g Effect of sliding window on average performance of the self-supervised model to classify MDD individuals. h Ablation of the decorrelation regularizer in the average performance of BrainADNet for MDD vs. HC classification. i Training-loss trajectories per epoch for BrainADNet and its ablated variants for MDD vs. HC classification.

In Fig. 7a, the baseline model (Model 1) uses a spectral Chebyshev GCN, which serves as the core classifier. In Model 2, we add skip connections with a dynamic weight fusion block. Skip connections enhance training stability by enabling effective reuse of lower-layer features, which empirically results in smoother convergence and more stable optimization, as shown in Fig. 7d. The fusion block learns to assign adaptive importance weights to outputs from different layers, allowing the model to emphasize discriminative representations while mitigating overfitting through selective feature aggregation. In Model 3, we incorporate demographic information to facilitate more personalized and context-aware representations. Even when added to a vanilla GCN, these attributes lead to noticeable improvements in classification accuracy, as shown in Fig. 7e. This underscores the importance of these features and demonstrates that incorporating demographic information enhances the representational capacity of the model and contributes to improved diagnostic performance. In Model 4, we use a decorrelation regularizer to promote diversity among the learned representations. To assess its effect, we analyze the degree of correlation in the representations learned by a vanilla GCN, as illustrated in Fig. 7f. In the absence of this regularizer, the model tends to produce highly similar features. Although its impact on convergence is modest, the regularizer effectively increases feature diversity, which is essential for improving generalization. Finally, Model 5 (i.e., BrainADNet) augments the training data using a sliding-window approach, generating multiple overlapping time segments per subject. This increases the number and variability of training samples, enabling the model to generalize across dynamic fluctuations in the BOLD signal. In Fig. 7g, we further assess the effect of the augmentation strategy on self-supervised models. Specifically, the GCDA48 model is pretrained under two conditions: (i) using the original pretraining dataset and (ii) using the same dataset after applying the sliding-window augmentation. After completing pretraining in both settings, we fine-tune each model on the target site and evaluate its downstream performance. The results presented in Fig. 7a, g demonstrate that employing a proper augmentation strategy is model-agnostic, yielding consistent performance improvements across both supervised and self-supervised learning frameworks. Collectively, the ablation study shows that each module contributes uniquely and complementarily to overall model performance by enhancing convergence, diversity, personalization, and temporal generalization.

Ablation study with decorrelation objective

To empirically evaluate the advantage of decorrelation loss over conventional regularizers, we perform a systematic ablation study. Several variants of BrainADNet are trained to classify MDD patients and HCs, with one or more regularizers (dropout, weight decay, and decorrelation) selectively removed. As shown in Fig. 7h, removing only the decorrelation loss results in an average accuracy drop of ~2%. The best performance is achieved when decorrelation is combined with dropout and weight decay, highlighting their complementary roles in improving generalization and robustness.

Training stability and convergence with decorrelation objective

To assess optimization behavior, we perform controlled ablation experiments where each regularizer (dropout, weight decay, decorrelation) is selectively removed. As shown in Fig. 7i, the model trained with the decorrelation loss exhibits faster and smoother convergence, indicating improved training stability. BrainADNet, which integrates all three regularizers, converges even more quickly and smoothly, highlighting the potential effectiveness of the proposed method.

Discussion

This study aims to advance mental health assessment by improving disease prediction for individuals across different stages of depressive disorder. To this end, we propose an efficient graph-based machine learning framework designed to perform reliably even under limited-data conditions. Our comparative experiments demonstrate consistently strong performance, and a comprehensive ablation study highlights the contribution of each model component to the final prediction. We also examine several practical considerations relevant to real-world applicability, ranging from model performance across different demographic groups to its generalization across diverse clinical and acquisition settings. Finally, we investigate whether depressive disorder affects different demographic groups differently and how functional connectivity patterns evolve across clinical stages. All analyses are conducted using the AAL atlas, and the extended analyses supporting these findings are presented below.

Firstly, we analyze the responsible brain areas in male and female individuals suffering from depressive disorder. Understanding the root cause and the affected regions is essential for the proper treatment of any disorder. Additionally, when treating individuals from different demographic groups, it is critical to consider the unique physiological and neurological differences, as these factors influence both the manifestation of disorders and the effectiveness of treatments. For instance, fundamental differences between males and females, from blood count to brain function, necessitate customized treatment to ensure optimal results. In this study, we analyze the brain regions affected by depressive disorder in both male and female individuals, highlighting gender-specific patterns that could guide more targeted and effective treatment approaches.

In this study, we use gradient weighted class activation mapping (Grad-CAM) with Skip-GCN, allowing localization of the brain areas exerting the greatest influence on the classification performance. Grad-CAM generates importance scores that quantitatively assess the contribution of specific characteristics to predictive accuracy of the model66. Grad-CAM was originally developed for convolutional neural networks (CNNs) in the computer-vision domain67. Its recent adaptation to GCNs allows the identification of discriminative nodes in non-Euclidean graph structures beyond image space68. In this work, we follow the Grad-CAM strategy described in ref. 54 to highlight brain regions that uniquely contribute to classification outcomes across male and female groups. We compute Grad-CAM at the GCN input layer using a Gradient × Input approach. The input feature matrix is set to require gradients, and a forward pass generates class scores. We select the softmax probability of the MDD class and backpropagate to obtain its gradients with respect to the input. These gradients are then multiplied element-wise with the original input features to produce a Grad-CAM map highlighting influential input positions. Averaging the resulting values across the feature dimension yields a contribution score for each ROI. This procedure is applied separately for models trained on male and female subjects to identify sex-specific discriminative brain regions.

In Fig. 8, we highlight the top ten brain regions in both male and female individuals that played the most significant role in our model for identifying MDD patients. In Fig. 8c, we highlight the ranking of each brain region for identifying MDD in both male and female subjects, illustrating the extent to which each region contributes to MDD detection within each group. From Fig. 8, it can be observed that, although male and female brains process differently, certain brain regions, such as the angular gyrus (Angular_gyrus_L, Angular_gyrus_R), cingulum (Cingulum_Mid_L), and superior medial frontal cortex (Frontal_Sup_Medial_L), are commonly implicated in both groups. As shown in Fig. 8, distinct regions unique to each gender have also been identified. Research highlights the angular gyrus as strongly associated with MDD69–72. According to studies, in MDD patients, the left angular gyrus often exhibits reduced regional homogeneity (ReHo) and amplitude of low-frequency fluctuations (ALFF), indicating weakened connectivity that correlates with the severity of depressive symptoms. Also, gray matter volume reductions in the left angular gyrus have been observed, with these structural changes associated with the duration and recurrence of depressive episodes71. A study showed increased ReHo values and enhanced connectivity in the left angular gyrus after electroconvulsive therapy in MDD patients to better memory recall70. As highlighted by various studies, the cingulum also plays a significant role in MDD73–75. Studies show that MDD patients who have attempted suicide exhibit increased ReHo values in the cingulum compared to those who have not, suggesting heightened brain activity in this region among at-risk individuals. Conversely, these same patients show decreased ReHo in the right cingulate gyrus compared to healthy controls, highlighting altered brain function73. While numerous studies have rigorously validated the remaining responsible brain regions associated with MDD patients as identified by our proposed model, there is still much to discover about how these regions may function differently across genders76–78. These insights are crucial for advancing gender-responsive treatments and improving outcomes for patients with this debilitating disorder.

Fig. 8. Prominent brain regions in male and female individuals with MDD.

Fig. 8

Visualization of the top ten brain regions contributing to MDD classification in a female and b male patients. c Ranking of the top ten brain regions for each group based on their contribution to MDD identification.

In our next analysis, we explore how the progression of depressive disorder reshapes brain functional connectivity. Specifically, we characterize stage-dependent alterations in latent-space connectivity patterns in patients with FEDN and rMDD relative to healthy controls. To detect subtle yet biologically meaningful connectivity differences, we leverage Skip-GCN embeddings, denoted as Zfused∈RN×d, where N is the number of ROIs and d is the embedding dimensionality. These embeddings provide a high-level, abstract representation of the brain connectivity network.

Figure 9a shows the average learned embeddings for each group (HC, FEDN, and rMDD), which display broadly similar ROI-based patterns. However, the between-group variance maps in Fig. 9b reveal localized differences, with significant variation in specific ROI-feature pairs (left: HC vs. FEDN; right: HC vs. rMDD). These findings demonstrate that BrainADNet learns discriminative latent features that capture subtle but consistent disruptions in brain network topology. Such features contribute to the superior classification performance of the proposed framework. To statistically evaluate group-level connectivity alterations, we conduct edge-wise independent two-sample t-tests (p < 0.05) on functional connectivity (FC) matrices derived from the GCN embeddings. For each subject, the embedding-based FC matrix Cor∈RN×N is computed using pairwise Pearson’s correlations Corij=corrZi,:,Zj,:, where Zi,: denotes the d-dimensional embedding vector for ROI i. This approach captures higher-order dependencies within the latent space, enabling more reliable detection of connectivity alterations.

Fig. 9. Brain functional connectivity differences derived from Skip-GCN embeddings for FEDN and rMDD patients compared to healthy controls (HC).

Fig. 9

a Mean Skip-GCN embeddings for HC (left), FEDN (center), and rMDD (right), averaged across subjects. b Between-group variance maps for HC vs. FEDN (left) and HC vs. rMDD (right) were computed as σb2=(Z¯A−Z¯)2nA+(Z¯B−Z¯)2nB, where Z¯=(nAZ¯A+nBZ¯B)/(nA+nB), and Z¯A and Z¯B denote the mean embeddings for groups A and B, respectively, while nA and nB are the number of subjects per group. c, d Statistical comparisons were performed using two-sided Welch’s t-tests on Fisher z-transformed functional connectivity matrices derived from the embeddings (computed as pairwise Pearson correlations between embedding vectors), with α = 0.05 (uncorrected for multiple comparisons). Nodes represent ROIs, edge widths reflect Hedges' g effect size, and edge colors indicate directionality (red: HC > patient; blue: patient > HC). The top 100 significant edges ranked by p value are displayed.

In Fig. 9c, for FEDN patients, the embedding-based FC reveals pronounced alterations compared to HC, particularly involving the thalamus and its interactions with regions implicated in emotion regulation and decision-making (orbitofrontal cortex), multimodal sensory-language integration (supramarginal gyrus), higher-order cognition, motor execution (superior frontal gyrus, precentral gyrus), etc., consistent with prior findings79,80. Similarly, in rMDD vs. HC (Fig. 9d), we observe disruptions within regions associated with motor control, postural balance, and coordination (vermis, cerebellum), and its interactions with regions involved in language comprehension, working memory, executive functions, learning, and movement coordination (middle frontal gyrus, hippocampus, and cerebellum) etc., consistent with prior findings81,82. In summary, this analysis enables the detection of functional connectivity disruptions, providing insights into the neural mechanisms underlying different stages of depressive disorder.

Conclusion

In this study, we introduced BrainADNet, a framework designed to address critical challenges in diagnosing depressive disorders across diverse episodes. By employing a sliding-window technique, BrainADNet enriched and standardized neuroimaging data, thereby overcoming limitations posed by the scarcity of datasets. The integration of a decorrelation regularizer ensured robust learning by promoting independent and diverse feature representations, effectively mitigating overfitting. BrainADNet enhanced the quality of learned representations by leveraging skip connections to reuse lower-layer features and integrating them through a learnable fusion mechanism. Our framework also incorporated subject-specific demographic attributes with brain connectivity features during model training, enabling unified representation learning that captured both network-level neurobiological patterns and individual variability. This holistic approach not only improved diagnostic accuracy but also revealed how depression affects men and women differently, addressing a critical gap in mental health research. Furthermore, BrainADNet revealed how functional connectivity in early, non-medicated, and recurrent stages of depression deviated from that of healthy individuals, thereby offering valuable insights into the evolution of functional connectivity networks. By addressing existing limitations in diagnostic methodology and enabling patient-specific analysis, BrainADNet serves as a valuable tool for advancing depression management.

Supplementary information

43856_2026_1395_MOESM1_ESM.pdf (51.3KB, pdf)

Description of Additional Supplementary Files

Supplementary data file (47.2KB, xlsx)
Supplementary File (17.9KB, docx)

Acknowledgements

Jyotismita Barman is supported by the Tata Consultancy Services Research Scholar Program (TCS-RSP), and Sandeep Kumar is supported by the CRG Government of India (RP04820G). The authors would like to sincerely thank the DIRECT Consortium for giving the access to the REST-meta-MDD data. The full list of members of the consortium is provided in the Supplementary Information.

Author contributions

J.B. contributed to the conception, design of the study, and data analysis. M.Y. conducted the experiments. S.K. and T.K.G. supervised the work and provided critical revisions to the manuscript. All authors reviewed and approved the final version of the manuscript. The DIRECT Consortium shared the data.

Peer review

Peer review information

Communications Medicine thanks the anonymous reviewers for their contribution to the peer review of this work.

Data availability

Detailed demographic and clinical information for the multiclass classification dataset is provided in the Supplementary Data file in the sheet named Dataset_details. Additionally, the p values corresponding to the results in Fig. 9c, d are included in the Supplementary Data file in the sheet named p_values. Access to the resting-state fMRI dataset can be requested by completing the data request form available at http://rfmri.org/REST-meta-MDD38. Users need to download the zipped dataset and the Data User Agreement from the Data File Download section, and submit the signed agreement as instructed on the website to receive the unzipping password and the accompanying phenotypic information. Further details about the dataset and related studies are available in refs. 17,83.

Code availability

The training of the proposed model was conducted in Python (version: 3.11.7) using the PyTorch package84 (version: 2.3.0), with an Intel(R) Xeon(R) Platinum 8360Y @ 2.40 GHz CPU and NVIDIA A6000 GPU. The source code is publicly available at BrainADNet85.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Sandeep Kumar, Email: ksandeep@ee.iitd.ac.in.

Tapan Kumar Gandhi, Email: tgandhi@ee.iitd.ac.in.

Supplementary information

The online version contains supplementary material available at 10.1038/s43856-026-01395-y.

References

  • 1.Organization, W. H. et al. Comprehensive Mental Health Action Plan 2013–2030 (World Health Organization, 2021).
  • 2.Bains, N. & Abdijadid, S. Major depressive disorder (2020). [PubMed]
  • 3.Mathers, C. The Global Burden of Disease: 2004 Update (World Health Organization, 2008).
  • 4.Edition, F. et al. Diagnostic and statistical manual of mental disorders. Am. Psychiatr. Assoc.21, 591–643 (2013). [Google Scholar]
  • 5.Organization, W. H. et al. Depressive disorder (depression) (2024).
  • 6.Khoury, B., Kogan, C. & Daouk, S. International Classification of Diseases 11th Edition (ICD-11). In Encyclopedia of Personality and Individual Differences (eds Zeigler-Hill, V. & Shackelford, T. K.) 2350–2355 (Springer International Publishing, Cham, 2020).
  • 7.Burcusa, S. L. & Iacono, W. G. Risk for recurrence in depression. Clin. Psychol. Rev.27, 959–985 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Bauer, S., Wiest, R., Nolte, L.-P. & Reyes, M. A survey of MRI-based medical image analysis for brain tumor studies. Phys. Med. Biol.58, R97 (2013). [DOI] [PubMed] [Google Scholar]
  • 9.Andica, C. et al. Mr biomarkers of degenerative brain disorders derived from diffusion imaging. J. Magn. Reson. Imaging52, 1620–1636 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Van Velzen, L. S. et al. White matter disturbances in major depressive disorder: a coordinated analysis across 20 international cohorts in the ENIGMA MDD working group. Mol. Psychiatry25, 1511–1525 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Wise, T. et al. Common and distinct patterns of grey-matter volume alteration in major depression and bipolar disorder: evidence from voxel-based meta-analysis. Mol. Psychiatry22, 1455–1463 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Sheline, Y. I., Price, J. L., Yan, Z. & Mintun, M. A. Resting-state functional MRI in depression unmasks increased connectivity between networks via the dorsal nexus. Proc. Natl. Acad. Sci. USA107, 11020–11025 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Wang, L., Hermens, D. F., Hickie, I. B. & Lagopoulos, J. A systematic review of resting-state functional-MRI studies in major depression. J. Affect. Disord.142, 6–12 (2012). [DOI] [PubMed] [Google Scholar]
  • 14.Sen, B., Mueller, B., Klimes-Dougan, B., Cullen, K. & Parhi, K. K. Classification of major depressive disorder from resting-state fMRI. In 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) 3511–3514 (IEEE, 2019). [DOI] [PubMed]
  • 15.Lv, H. et al. Resting-state functional MRI: everything that nonexperts have always wanted to know. Am. J. Neuroradiol.39, 1390–1b399 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Greicius, M. D., Krasnow, B., Reiss, A. L. & Menon, V. Functional connectivity in the resting brain: a network analysis of the default mode hypothesis. Proc. Natl. Acad. Sci. USA100, 253–258 (2003). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Yan, C.-G. et al. Reduced default mode network functional connectivity in patients with recurrent major depressive disorder. Proc. Natl. Acad. Sci. USA116, 9078–9083 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Guo, H., Zhang, F., Chen, J., Xu, Y. & Xiang, J. Machine learning classification combining multiple features of a hyper-network of fMRI data in alzheimer’s disease. Front. Neurosci.11, 615 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Formisano, E., De Martino, F. & Valente, G. Multivariate analysis of fMRI time series: classification and regression of brain responses using machine learning. Magn. Reson. Imaging26, 921–934 (2008). [DOI] [PubMed] [Google Scholar]
  • 20.Yin, W., Li, L. & Wu, F.-X. Deep learning for brain disorder diagnosis based on fMRI images. Neurocomputing469, 332–345 (2022). [Google Scholar]
  • 21.Jang, H., Plis, S. M., Calhoun, V. D. & Lee, J.-H. Task-specific feature extraction and classification of fMRI volumes using a deep neural network initialized with a deep belief network: evaluation using sensorimotor tasks. Neuroimage145, 314–328 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Singh, V. K. & Kolekar, M. H. Deep learning empowered COVID-19 diagnosis using chest CT scan images for collaborative edge-cloud computing platform. Multimed. Tools Appl.81, 3–30 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Wang, Y. et al. Altered resting functional network topology assessed using graph theory in youth with attention-deficit/hyperactivity disorder. Prog. Neuropsychopharmacol. Biol. Psychiatry98, 109796 (2020). [DOI] [PubMed] [Google Scholar]
  • 24.Khazaee, A., Ebrahimzadeh, A. & Babajani-Feremi, A. Identifying patients with alzheimer’s disease using resting-state fMRI and graph theory. Clin. Neurophysiol.126, 2132–2141 (2015). [DOI] [PubMed] [Google Scholar]
  • 25.Khazaee, A., Ebrahimzadeh, A., Babajani-Feremi, A., Initiative, A. D. N. et al. Classification of patients with MCI and AD from healthy controls using directed graph measures of resting-state fMRI. Behav. Brain Res.322, 339–350 (2017). [DOI] [PubMed] [Google Scholar]
  • 26.Zhu, M., Quan, Y. & He, X. The classification of brain network for major depressive disorder patients based on deep graph convolutional neural network. Front. Hum. Neurosci.17, 1094592 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Salim, I. & Hamza, A. B. Classification of developmental and brain disorders via graph convolutional aggregation. Cogn. Comput.16, 701–716 (2024). [Google Scholar]
  • 28.Pitsik, E. N. et al. The topology of fMRI-based networks defines the performance of a graph neural network for the classification of patients with major depressive disorder. Chaos Solit. Fractals167, 113041 (2023). [Google Scholar]
  • 29.Pitsik, E. et al. A graph convolutional network for classification of resting-state fMRI data. In 2022 6th Scientific School Dynamics of Complex Networks and their Applications (DCNA) 223–225 (IEEE, 2022).
  • 30.Sebenius, I., Campbell, A., Morgan, S. E., Bullmore, E. T. & Liò, P. Multimodal graph coarsening for interpretable, MRI-based brain graph neural network. In 2021 IEEE 31st International Workshop on Machine Learning for Signal Processing (MLSP) 1–6 (IEEE, 2021).
  • 31.Gao, J., Liu, J., Xu, Y., Peng, D. & Wang, Z. Brain age prediction using the graph neural network based on resting-state functional MRI in alzheimer’s disease. Front. Neurosci.17, 1222751 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Andreev, A. V. et al. Toward interpretability of machine learning methods for the classification of patients with major depressive disorder based on functional network measures. Chaos33, 063140 (2023). [DOI] [PubMed]
  • 33.Gong, C. et al. Generative AI for brain image computing and brain network computing: a review. Front. Neurosci.17, 1203104 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Sánchez, V., Güven, Ç., Nápoles, G. & Postma, M. Š. Data augmentation techniques for fMRI data: a technical survey. IEEE Access13, 66529–66556 (2025).
  • 35.Zhao, H. et al. Diffusion models for computational neuroimaging: a survey. Preprint at arXiv:2502.06552 (2025).
  • 36.Zhang, H. et al. Classification of brain disorders in rs-fmri via local-to-global graph neural networks. IEEE Trans. Med. imaging42, 444–455 (2022). [DOI] [PubMed] [Google Scholar]
  • 37.Hamilton, W. L. Graph Representation Learning (Morgan & Claypool Publishers, 2020).
  • 38.Yan, C. -G. et al. Data of the REST-meta-MDD project from DIRECT consortium. 10.57760/sciencedb.o00115.00013 (2022).
  • 39.Chen, X. et al. Subgenual anterior cingulate cortex functional connectivity abnormalities in depression: insights from brain imaging big data and precision-guided personalized intervention via transcranial magnetic stimulation. Sci. Bull.70, 2676–2690 (2025). [DOI] [PubMed] [Google Scholar]
  • 40.Yan, C. & Zang, Y. Dparsf: a MATLAB toolbox for" pipeline" data analysis of resting-state fMRI. Front. Syst. Neurosci.4, 1377 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Tzourio-Mazoyer, N. et al. Automated anatomical labeling of activations in SPM using a macroscopic anatomical parcellation of the MNI MRI single-subject brain. Neuroimage15, 273–289 (2002). [DOI] [PubMed] [Google Scholar]
  • 42.Dosenbach, N. U. et al. Prediction of individual brain maturity using fMRI. Science329, 1358–1361 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Craddock, R. C., James, G. A., Holtzheimer III, P. E., Hu, X. P. & Mayberg, H. S. A whole brain fMRI atlas generated via spatially constrained spectral clustering. Hum. Brain Mapp.33, 1914–1928 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Defferrard, M., Bresson, X. & Vandergheynst, P. Convolutional neural networks on graphs with fast localized spectral filtering. Adv. Neural Inform. Process. Syst.29, https://proceedings.neurips.cc/paper_files/paper/2016/file/04df4d434d481c5bb723be1b6df1ee65-Paper.pdf (2016).
  • 45.Dalm, S., Offergeld, J., Ahmad, N. & van Gerven, M. Efficient deep learning with decorrelated backpropagation. Preprint at arXiv:2405.02385 (2024).
  • 46.Liu, H., Han, H., Jin, W., Liu, X. & Liu, H. Enhancing graph representations learning with decorrelated propagation. In Proc. 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining 1466–1476 (ACM, 2023).
  • 47.Cogswell, M., Ahmed, F., Girshick, R., Zitnick, L. & Batra, D. Reducing overfitting in deep networks by decorrelating representations. Preprint at arXiv:1511.06068 (2015).
  • 48.Wang, X. et al. Self-supervised graph contrastive learning with diffusion augmentation for functional MRI analysis and brain disorder detection. Med. Image Anal.101, 103403 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Gallo, S. et al. Functional connectivity signatures of major depressive disorder: machine learning analysis of two multicenter neuroimaging studies. Mol. Psychiatry28, 3013–3022 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Khosla, M., Jamison, K., Ngo, G. H., Kuceyeski, A. & Sabuncu, M. R. Machine learning in resting-state fMRI analysis. Magn. Reson. Imaging64, 101–121 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Kipf, T. N. & Welling, M. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations.https://openreview.net/forum?id=SJU4ayYgl (2017).
  • 52.Velickovic, P. et al. Graph attention networks. Stat1050, 10–48550 (2017). [Google Scholar]
  • 53.Xu, K., Hu, W., Leskovec, J. & Jegelka, S. How powerful are graph neural networks? In International Conference on Learning Representations.https://openreview.net/forum?id=ryGs6iA5Km (2019).
  • 54.Dai, P. et al. Classification of recurrent major depressive disorder using a new time series feature extraction method through multisite rs-fMRI data. J. Affect. Disord.339, 511–519 (2023). [DOI] [PubMed] [Google Scholar]
  • 55.Li, X. et al. Braingnn: interpretable brain graph neural network for fMRI analysis. Med. Image Anal.74, 102233 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Kawahara, J. et al. Brainnetcnn: convolutional neural networks for brain networks; towards predicting neurodevelopment. Neuroimage146, 1038–1049 (2017). [DOI] [PubMed] [Google Scholar]
  • 57.Zhang, Y. et al. Population-based GCN method for diagnosis of Alzheimer’s disease using brain metabolic or volumetric features. Biomed. Signal Process. Control86, 105162 (2023). [Google Scholar]
  • 58.Kan, X. et al. Brain network transformer. Adv. Neural Inf. Process. Syst.35, 25586–25599 (2022). [Google Scholar]
  • 59.Qiang, N. et al. Modeling and augmenting of fMRI data using deep recurrent variational auto-encoder. J. neural Eng.18, 0460b6 (2021). [DOI] [PubMed] [Google Scholar]
  • 60.Qiang, N. et al. Functional brain network identification and fMRI augmentation using a VAE-GAN framework. Comput. Biol. Med.165, 107395 (2023). [DOI] [PubMed] [Google Scholar]
  • 61.Peng, L., Wang, N., Xu, J., Zhu, X. & Li, X. Gate: graph CCA for temporal self-supervised learning for label-efficient fMRI analysis. IEEE Trans. Med. Imaging42, 391–402 (2022). [DOI] [PubMed] [Google Scholar]
  • 62.Wang, Y. et al. Disrupted effective connectivity of the default, salience and dorsal attention networks in major depressive disorder: a study using spectral dynamic causal modelling of resting-state fMRI. J. Psychiatry Neurosci.47, E421–E434 (2022). [Google Scholar]
  • 63.Girgus, J. S. & Yang, K. Gender and depression. Curr. Opin. Psychol.4, 53–60 (2015). [Google Scholar]
  • 64.Grigoriadis, S. & Erlick Robinson, G. Gender issues in depression. Ann. Clin. Psychiatry19, 247–255 (2007). [DOI] [PubMed] [Google Scholar]
  • 65.Parker, G. & Brotchie, H. Gender differences in depression. Int. Rev. psychiatry22, 429–436 (2010). [DOI] [PubMed] [Google Scholar]
  • 66.Selvaraju, R. R. et al. Grad-CAM: visual explanations from deep networks via gradient-based localization. In Proc. IEEE International Conference on Computer Vision 618–626 (IEEE, 2017).
  • 67.Zhou, B., Khosla, A., Lapedriza, A., Oliva, A. & Torralba, A. Learning deep features for discriminative localization. In Proc. IEEE Conference on Computer Vision and Pattern Recognition 2921–2929 (IEEE, 2016).
  • 68.Arslan, S., Ktena, S. I., Glocker, B. & Rueckert, D. Graph saliency maps through spectral convolutional networks: application to sex classification with brain connectivity. In International Workshop on Graphs in Biomedical Image Analysis 3–13 (Springer, 2018).
  • 69.Tura, A. & Goya-Maldonado, R. Brain connectivity in major depressive disorder: a precision component of treatment modalities? Transl. Psychiatry13, 196 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.Mo, Y. et al. Bifrontal electroconvulsive therapy changed regional homogeneity and functional connectivity of left angular gyrus in major depressive disorder. Psychiatry Res.294, 113461 (2020). [DOI] [PubMed] [Google Scholar]
  • 71.Guo, W. et al. Functional and anatomical brain deficits in drug-naive major depressive disorder. Prog. Neuropsychopharmacol. Biol. Psychiatry54, 1–6 (2014). [DOI] [PubMed] [Google Scholar]
  • 72.Sun, J. et al. Altered brain function in first-episode and recurrent depression: a resting-state functional magnetic resonance imaging study. Front. Neurosci.16, 876121 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Yang, C. et al. Altered cingulum functioning in major depressive disorder patient with suicide attempts: a resting-state functional magnetic resonance imaging study. Front. Neurosci.16, 849158 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Bubb, E. J., Metzler-Baddeley, C. & Aggleton, J. P. The cingulum bundle: anatomy, function, and dysfunction. Neurosci. Biobehav. Rev.92, 104–127 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75.Zhang, A. et al. Quantitative tract-specific measures of uncinate and cingulum in major depression using diffusion tensor imaging. Neuropsychopharmacology37, 959–967 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76.Pizzagalli, D. A. & Roberts, A. C. Prefrontal cortex and depression. Neuropsychopharmacology47, 225–246 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.Avery, J. A. et al. Major depressive disorder is associated with abnormal interoceptive activity and functional connectivity in the insula. Biol. Psychiatry76, 258–266 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Iwabuchi, S. J. et al. Alterations in effective connectivity anchored on the insula in major depressive disorder. Eur. Neuropsychopharmacol.24, 1784–1792 (2014). [DOI] [PubMed] [Google Scholar]
  • 79.Chen, C. et al. Aberrant functional connectivity of the orbitofrontal cortex is associated with excited symptoms in first-episode drug-naive patients with schizophrenia. Front. Psychiatry13, 922272 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80.Zhao, J. et al. Enhanced connectivity of thalamo-cortical networks in first-episode, treatment-naive somatization disorder. Front. Psychiatry11, 555836 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81.Liu, L. et al. Altered cerebellar functional connectivity with intrinsic connectivity networks in adults with major depressive disorder. PLoS ONE7, e39516 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82.Hao, Z. Y. et al. Abnormal resting-state functional connectivity of hippocampal subfields in patients with major depressive disorder. BMC Psychiatry20, 71 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 83.Chen, X. et al. The direct consortium and the REST-meta-MDD project: towards neuroimaging biomarkers of major depressive disorder. Psychoradiology2, 32–42 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 84.Paszke, A. et al. Pytorch: an imperative style, high-performance deep learning library. Adv. Neural Inform. Process. Syst.32 (2019).
  • 85.Yusuf, M. & collaborators. Brainadnet: source code repository. https://github.com/yusufm423/decorr-gnn-mdd (2025).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

43856_2026_1395_MOESM1_ESM.pdf (51.3KB, pdf)

Description of Additional Supplementary Files

Supplementary data file (47.2KB, xlsx)
Supplementary File (17.9KB, docx)

Data Availability Statement

Detailed demographic and clinical information for the multiclass classification dataset is provided in the Supplementary Data file in the sheet named Dataset_details. Additionally, the p values corresponding to the results in Fig. 9c, d are included in the Supplementary Data file in the sheet named p_values. Access to the resting-state fMRI dataset can be requested by completing the data request form available at http://rfmri.org/REST-meta-MDD38. Users need to download the zipped dataset and the Data User Agreement from the Data File Download section, and submit the signed agreement as instructed on the website to receive the unzipping password and the accompanying phenotypic information. Further details about the dataset and related studies are available in refs. 17,83.

The training of the proposed model was conducted in Python (version: 3.11.7) using the PyTorch package84 (version: 2.3.0), with an Intel(R) Xeon(R) Platinum 8360Y @ 2.40 GHz CPU and NVIDIA A6000 GPU. The source code is publicly available at BrainADNet85.


Articles from Communications Medicine are provided here courtesy of Nature Publishing Group

RESOURCES