Compact Deep Learning for Major Depressive Disorder Classification from Resting-State EEG: Independent Cohort Validation and Channel-Level Explainability
Abstract
Aims: Major depressive disorder (MDD) is a prevalent psychiatric disorder, and objective neurophysiological measures may complement clinical assessment. This study assessed whether short resting-state EEG segments can distinguish MDD from healthy controls (HC) using two compact deep learning architectures and whether channel ablation provides interpretable spatial information. Materials and Methods: The retrospective dataset included 112 eyes-closed resting-state EEG recordings from 56 individuals with MDD and 56 HC. Ninety-two recordings were used for model development and internal evaluation, while 20 independent recordings (10 MDD, 10 HC) were reserved for external validation. Nineteen channels were standardised to 125 Hz and segmented into non-overlapping 1-s windows. Lightweight 1D Convolutional Neural Network (Light 1D-CNN) and CNN-MiniTransformer models were trained using identical inputs. Channel ablation quantified global and classspecific spatial importance. Results: Internally, Light 1D-CNN achieved 96.43% accuracy, 96.39% F1-score, and 0.9941 AUROC; CNN-MiniTransformer achieved 95.26%, 95.31%, and 0.9906, respectively. On external validation, Light 1D-CNN achieved 93.72% accuracy and 0.9785 AUROC, while CNN-MiniTransformer achieved 94.65% and 0.9872. P4 was the most influential MDD-related channel in both models, followed by Fz and F4, with parietal and frontal regions showing highest importance. Attention-based modelling showed greater external stability while preserving efficient temporal feature extraction. Conclusion: Compact deep learning models maintained strong segment-level discrimination on independent EEG recordings and converged on similar parietal-frontal importance patterns, supporting further participant-level, multicentre validation of interpretable EEG-based MDD classification.
Keywords
References
- 1. Duan L, Duan H, Qiao Y, Sha S, Qi S, Zhang X, Huang J, Huang X, Wang C. Machine learning approaches for MDD detection and emotion decoding using EEG signals. Front Hum Neurosci. 2020;14:284. doi:10.3389/fnhum.2020.00284.
- 2. Wang Y, Zhao S, Jiang H, Li S, Li T, Pan G. M-MDD: A multi-task deep learning framework for major depressive disorder diagnosis using EEG. Neurocomputing. 2025;636:130008. doi:10.1016/j.neucom.2025.130008.
- 3. Xia M, Zhang Y, Wu Y, Wang X. An end-to-end deep learning model for EEG-based major depressive disorder classification. IEEE Access. 2023;11:41337-41347. doi:10.1109/ACCESS.2023.3270426.
- 4. Anik IA, Kamal AHM, Kabir MA, Uddin S, Moni MA. A robust deep-learning model to detect major depressive disorder utilizing EEG signals. IEEE Trans Artif Intell. 2024;5(10):4938-4947. doi:10.1109/TAI.2024.3394792.
- 5. Biasiucci A, Franceschiello B, Murray MM. Electroencephalography. Curr Biol. 2019;29(3):R80-R85. doi:10.1016/j.cub.2018.11.052.
- 6. Jaseja H. Electroencephalography in the diagnosis and management of treatment-resistant depression with comorbid epilepsy: A novel strategy. Gen Psychiatry. 2023;36(2):e100868. doi:10.1136/gpsych-2022-100868.
- 7. Wang Y, et al. DiffMDD: A diffusion-based deep learning framework for MDD diagnosis using EEG. IEEE Trans Neural Syst Rehabil Eng. 2024;32:728-738. doi:10.1109/TNSRE.2024.3360465.
- 8. Safayari A, Bolhasani H. Depression diagnosis by deep learning using EEG signals: A systematic review. Med Nov Technol Devices. 2021;12:100102. doi:10.1016/j.medntd.2021.100102.
Details
Primary Language
English
Subjects
Artificial Intelligence (Other)
Journal Section
Research Article
Authors
Caglar Uyulan
*
0000-0002-6423-6720
Türkiye
Publication Date
August 31, 2026
Submission Date
August 14, 2026
Acceptance Date
August 22, 2026
Published in Issue
Year 2026 Volume: 13 Number: 2