Related Experiment Video
Updated: Jun 15, 2025

Author Spotlight: Therapeutic Benefit of Closed-Loop Deep Brain Stimulation in Depression Treatment
Published on: July 7, 2023
Enhancing differentiation between unipolar and bipolar depression through integration of machine learning and
Xinyu Liu1, Bingxu Chen2, Haoran Zhang1
1Beijing Key Laboratory of Mental Disorders, National Clinical Research Center for Mental Disorders & National Center for Mental Disorders, Beijing Anding Hospital, Capital Medical University, Beijing, China; Advanced Innovation Center for Human Brain Protection, Capital Medical University, Beijing, China.
This study used machine learning and electroencephalography (EEG) data to differentiate unipolar depression (UPD) from bipolar depression (BPD). Fully Connected Neural Networks achieved 76% accuracy, highlighting EEG biomarkers for improved mood disorder diagnostics.
Area of Science:
- Neuroscience
- Computational Psychiatry
- Biomedical Engineering
Background:
- Differentiating unipolar depression (UPD) from bipolar depression (BPD) is clinically challenging, impacting treatment efficacy.
- Electroencephalography (EEG) offers potential biomarkers for mood disorder diagnosis.
- Machine learning and deep learning present novel approaches for analyzing complex clinical and neurophysiological data.
Purpose of the Study:
- To develop and evaluate machine learning and deep learning models for distinguishing between UPD and BPD using EEG data and clinical features.
- To identify key EEG biomarkers that aid in the differential diagnosis of mood disorders.
- To assess the performance of various models, including neural networks, in classifying depression subtypes.
Main Methods:
- Analysis of EEG data and clinical features from 370 patients diagnosed with UPD or BPD.
- Implementation of data preprocessing and feature extraction using Python.
- Application of 5-fold and leave-one-out cross-validation for model evaluation and hyperparameter optimization via grid search.
- Comparison of Support Vector Machine, Random Forest, and deep learning models (FCNN, RNN, LSTM, Transformers).
Main Results:
- The Fully Connected Neural Network (FCNN) model demonstrated superior performance, achieving 76% accuracy, 80% sensitivity, 73% specificity, and a 76% F1-score.
- EEG biomarkers, specifically beta band activity, were identified as significant indicators for differentiating UPD from BPD.
- The study successfully showcased the capability of deep learning models in recognizing intricate patterns associated with different mood disorders.
Conclusions:
- Deep learning models, particularly FCNN, show significant potential for accurate differential diagnosis between UPD and BPD.
- EEG biomarkers, especially beta band activity, are crucial for improving diagnostic precision in mood disorders.
- The findings support a transition towards data-driven diagnostic approaches in psychiatry, enhancing precision medicine for mood disorders.

