Machine learning classification of fNIRS signals in patients with major depressive disorder and healthy controls.
Zhuoyan Shan, Xia Liu, Xinyu Lin, Hao Yu, Shanling Ji
School of Mental Health, Jining Medical University, Jining, Shandong, China. · Shandong Daizhuang Hospital, Jining, Shandong, China.
Key points
From the paper's conclusion- The present study suggests that network-level dysconnectivity, which fNIRS captures, plays a central role in distinguishing MDD from HCs, rather than isolated regional hypoactivation. With its high sensitivity, low cost, and SHAP-based interpretability, the SVM model provides an interpretable framework for investigating fNIRS-based neurophysiological patterns associated with MDD and may serve as a potential adjunctive approach for future screening applications after external validation. Multi-center external validation is required before routine implementation.
Abstract
OBJECTIVE: To determine whether combining resting-state and the verbal fluency task (VFT) prefrontal fNIRS features with machine learning can distinguish patients with MDD from healthy controls (HCs), and to clarify the relative contributions of functional connectivity (FC) versus amplitude features to classification. METHODS: We enrolled 98 patients with MDD and 51 HCs, matched on age, sex, education, and handedness. Participants completed a resting-state fNIRS recording and a VFT using a multichannel prefrontal-temporal montage. After preprocessing, oxyhemoglobin (HbO)-based amplitude features and Pearson correlation-based FC features were extracted from two conditions. Five classifiers-logistic regression, k-nearest neighbors, support vector machine (SVM), partial least squares, and linear discriminant analysis-were evaluated using nested stratified cross-validation. Model performance was quantified using out-of-fold (OOF) predicted probabilities from the outer loop and summarized by accuracy, sensitivity, specificity, and area under the ROC curve (AUC). The 95% confidence intervals (95% CIs) for AUC were estimated using DeLong's method. The classification threshold was determined using the Youden index on the OOF ROC curve. SHAP analysis was then applied to the best-performing model to quantify the contribution of each feature to the predicted probability of MDD. RESULTS: Demographic variables did not differ significantly between groups. Across all classifiers, the SVM achieved the best discrimination between MDD and HCs, with OOF AUC of 0.867 (95% CI: 0.805-0.928) and an accuracy of 0.839 (95% CI: 0.770-0.894). At the Youden-optimal threshold (0.482), the SVM model yielded a sensitivity of 0.918 (95% CI: 0.845-0.964) and a specificity of 0.686 (95% CI: 0.541-0.809). SHAP analysis indicated that the top-ranked predictors were predominantly FC features from both resting-state and VFT conditions, particularly IPFC-TPC connectivity at rest and FPC-TPC and IPFC-DLPFC connectivity during VFT, whereas regional HbO amplitude measures contributed less. CONCLUSION: The present study suggests that network-level dysconnectivity, which fNIRS captures, plays a central role in distinguishing MDD from HCs, rather than isolated regional hypoactivation. With its high sensitivity, low cost, and SHAP-based interpretability, the SVM model provides an interpretable framework for investigating fNIRS-based neurophysiological patterns associated with MDD and may serve as a potential adjunctive approach for future screening applications after external validation. Multi-center external validation is required before routine implementation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- fNIRS-Based characterization of adolescent depression using dynamic functional connectivity biomarkers in a verbal fluency taskBMC Psychiatry · 2026
- Spatiotemporal feature-based investigation of major depressive disorder and emotion recognition using functional near infrared spectroscopy.Frontiers in psychiatry · 2026
- Cross-Disease Classification of Depression, Bipolar Disorder, and Schizophrenia Using Multiscale Spatiotemporal Network Fusion Features From fNIRS.Depression and anxiety · 2026
- Causal brain connectivity based on quadratic convergent cross mapping (QCCM) detects major depressive disorder.Neural networks : the official journal of the International Neural Network Society · 2026
- Reduced prefrontal activation and region-specific laterality reversal in bipolar depression during verbal fluency: a 52-channel fNIRS study with leakage-free machine-learning discriminationInternational Journal of Bipolar Disorders · 2026
- Machine Learning Classification of Migraine Using fNIRS During a Postural Task.Brain sciences · 2026