Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-05T07:26:00.786Z Has data issue: false hasContentIssue false

Machine learning–based differentiation of major depressive disorder and bipolar disorder using entropy-derived EEG biomarkers in drug-naïve patients

Published online by Cambridge University Press:  11 May 2026

Hyeon-Ho Hwang
Affiliation:
Department of Human-Computer Interaction, Hanyang University, Ansan, Republic of Korea
Kang-Min Choi
Affiliation:
Department of Electronic Engineering, Seoul National University of Science and Technology (Seoultech) , Seoul, Republic of Korea
Hyeon-Ah Lee
Affiliation:
Department of Psychiatry, Soonchunhyang University Cheonan Hospital, Cheonan , Republic of Korea
Sungkean Kim*
Affiliation:
Department of Human-Computer Interaction, Hanyang University, Ansan, Republic of Korea
Ji Sun Kim*
Affiliation:
Department of Psychiatry, Soonchunhyang University Cheonan Hospital, Cheonan , Republic of Korea
*
Corresponding authors: Sungkean Kim, PhD, and Ji Sun Kim, MD, PhD; Emails: kimsk@hanyang.ac.kr; ideal91@hanmail.net
Corresponding authors: Sungkean Kim, PhD, and Ji Sun Kim, MD, PhD; Emails: kimsk@hanyang.ac.kr; ideal91@hanmail.net
Rights & Permissions [Opens in a new window]

Abstract

Objective

Major depressive disorder (MDD) and bipolar disorder (BD) exhibit overlapping depressive presentations, making early differentiation difficult and misdiagnosis clinically consequential. Entropy-based resting-state electroencephalography (EEG) markers were evaluated for differentiating drug-naïve patients with stable MDD, converted BD, and diagnosed BD.

Methods

Resting-state EEG was acquired from 92 drug-naïve patients: 50 with stable MDD, 16 who converted to bipolar II disorder over 3 years, and 26 with diagnosed BD. Band-scale entropy and cross-sample entropy (CSE) were analyzed. Group differences were tested by analysis of covariance adjusted for depressive severity; classification was evaluated by nested cross-validation with permutation testing.

Results

Relative to stable MDD, diagnosed BD showed higher theta- and alpha-band entropy in frontal and central regions and lower values for selected intra- and inter-regional CSE measures. Two CSE measures correlated positively with non-planning impulsiveness in diagnosed BD. Converted BD showed intermediate values without significant pairwise differences. Prospective discrimination of stable MDD versus converted BD was modest (balanced accuracy, 65.4%; area under the receiver operating characteristic curve [ROC-AUC], 0.661). Classification was strongest for stable MDD versus diagnosed BD, yielding 78.9% pooled accuracy, 76.6% balanced accuracy, and an ROC-AUC of 0.832 when entropy features were combined with depressive severity; combined entropy outperformed either single-family configuration.

Conclusions

Entropy-derived EEG measures differentiated stable MDD from diagnosed BD and suggested a weaker, intermediate profile in converted BD. They may serve as candidate adjunctive biomarkers for mood disorder differentiation, although larger prospective cohorts are required to clarify their value in predicting conversion to bipolar II disorder.

Information

Type
Original Research
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. Demographic, Clinical, and EEG Recording Characteristics of the Study ParticipantsTable 1. long description.

Figure 1

Figure 1. Band-scale entropy differs between stable major depressive disorder and diagnosed bipolar disorder across frontal and central brain regions. Each panel displays grouped box plots with overlaid individual data points for the stable MDD (blue; n = 50), converted BD (red; n = 16), and diagnosed BD (green; n = 26) groups across 4 frequency bands (theta, alpha, beta, and gamma) within 6 brain regions arranged in a 2 × 3 layout: left frontal, left central, and left parietal (top row) and right frontal, right central, and right parietal (bottom row). Boxes span the interquartile range (IQR; 25th–75th percentiles), horizontal lines within boxes indicate medians, and whiskers extend to the most extreme data points within 1.5 × IQR. Individual observations are shown as jittered scatter points. Brackets with asterisks (*) denote significant post hoc pairwise differences between the stable MDD and diagnosed BD groups (Holm–Bonferroni-corrected p < 0.05), identified in left frontal theta-band entropy (p = 0.030), left frontal alpha-band entropy (p = 0.031), right frontal theta-band entropy (p = 0.031), and right central alpha-band entropy (p = 0.037). Group differences were assessed using analysis of covariance with Beck Depression Inventory score as a covariate, and inferential p-values were obtained via a restricted-residual wild bootstrap procedure (20 000 replicates); post hoc contrasts were corrected using the Holm–Bonferroni method.Figure 1. long description.

Figure 2

Figure 2. Cross-sample entropy measures across stable MDD, converted BD, and diagnosed BD groups. (A) Violin plots display the distribution of intra-regional cross-sample entropy (CSE) values across frontal, central, and parietal regions. Within each panel, distributions for the left and right hemispheres are separated by a vertical dashed line. Three study groups are represented: patients with stable major depressive disorder (stable MDD; blue, n = 50), patients who later converted to bipolar II disorder (converted BD; red, n = 16), and patients with bipolar disorder diagnosed at enrollment (diagnosed BD; green, n = 26). Each violin depicts the kernel density estimate, with individual data points overlaid. White circles denote medians, thick black bars represent interquartile ranges, and thin vertical lines indicate whiskers. The bracket with an asterisk (*) in the right frontal region denotes a significant post hoc difference between the stable MDD and diagnosed BD groups (Holm–Bonferroni-corrected p = 0.049). (B) Heatmaps depict group-mean inter-regional CSE values for each pairwise combination of 6 brain regions: left frontal (LF), right frontal (RF), left central (LC), right central (RC), left parietal (LP), and right parietal (RP). Diagonal entries (intra-regional pairs) are left blank. Color intensity follows a diverging scale from blue (lower CSE) through white to red (higher CSE), as indicated by the shared color bar on the left. Bold black borders highlight region pairs exhibiting significant post hoc differences between the stable MDD and diagnosed BD groups after Holm–Bonferroni correction: RF–RP (corrected p = 0.049) and RP–RC (corrected p = 0.047). Asterisks (*) in the diagnosed BD panel mark these significant pairs. All omnibus group comparisons were performed using analysis of covariance with mean-centered Beck Depression Inventory score as a covariate. Inferential p-values were obtained via a restricted-residual wild bootstrap procedure (20 000 replicates with Mammen 2-point distribution weights), and post hoc pairwise contrasts were corrected using the Holm–Bonferroni method.Figure 2. long description.

Figure 3

Figure 3. Positive associations between cross-sample entropy measures and Non-Planning Impulsiveness in the diagnosed bipolar disorder group. (A) Scatter plot depicting the correlation between intra-regional cross-sample entropy (CSE) in the right frontal region and Non-Planning Impulsiveness scores from the Barratt Impulsiveness Scale, version 11 (BIS-11) (Spearman ρ = 0.654, p_Holm = 0.030). (B) Scatter plot depicting the correlation between inter-regional CSE of the right parietal–right central connection and Non-Planning Impulsiveness scores (Spearman ρ = 0.553, p_Holm = 0.038). Each data point represents an individual participant with diagnosed bipolar disorder (n = 26). Spearman rank correlation coefficients (ρ) and p-values corrected for multiple comparisons across 7 clinical scales using the Holm–Bonferroni method (p_Holm) are displayed in each panel. Inferential p-values were derived from a restricted-residual wild bootstrap procedure applied to rank-transformed variables (20 000 replicates with Mammen 2-point distribution weights).Figure 3. long description.

Figure 4

Figure 4. Receiver operating characteristic (ROC) curves for machine learning classification of mood disorder groups using entropy-derived EEG features, with Beck Depression Inventory (BDI) score included as an additional predictor in panels (A) and (C). (A) Stable major depressive disorder (stable MDD; n = 50) versus bipolar disorder (BD) spectrum (converted BD and diagnosed BD combined; n = 42), classified by a support vector machine with a radial basis function kernel (RBF-SVM) using EEG features + BDI (AUC = 0.758; total n = 92). (B) Stable MDD (n = 50) versus converted BD (n = 16), classified by a multilayer perceptron (MLP) using the EEG-only configuration (AUC = 0.661; total n = 66). (C) Stable MDD (n = 50) versus diagnosed BD (n = 26), classified by RBF-SVM using EEG features + BDI (AUC = 0.832; total n = 76). In each panel, the blue solid line represents the ROC curve derived from pooled subject-level out-of-fold decision scores, and the orange dashed diagonal indicates chance performance (AUC = 0.5). Models were evaluated using repeated stratified nested cross-validation (5 folds × 20 repeats). Permutation testing based on balanced accuracy yielded p = 0.005, 0.040, and 0.005 for panels (A), (B), and (C), respectively.Figure 4. long description.

Figure 5

Figure 5. Mean absolute SHAP feature importance for the best-performing classifiers across 3 binary classification tasks distinguishing mood disorder groups. Each panel displays the top 15 features ranked by mean absolute Shapley Additive Explanations (SHAP) value, quantifying the average magnitude of the contribution of each feature to model output. (A) Stable major depressive disorder (stable MDD) versus bipolar disorder (BD) spectrum (combined converted BD and diagnosed BD; n = 92), classified by a support vector machine with a radial basis function kernel (RBF-SVM). (B) Stable MDD versus converted BD (n = 66), classified by a multilayer perceptron (MLP). (C) Stable MDD versus diagnosed BD (n = 76), classified by RBF-SVM. Horizontal bars represent the mean |SHAP value| for each feature, with numerical values annotated at bar ends. The x-axis scale is shared across all 3 panels to facilitate direct comparison of feature importance magnitudes across tasks. The predictor set comprised 45 entropy-derived EEG features; the Beck Depression Inventory (BDI) score was included as an additional predictor in panels (A) and (C) and excluded from panel (B). Feature labels denote band-scale entropy (brain region, frequency band) or cross-sample entropy (CSE); intra-regional CSE refers to mean pairwise CSE within a region, and inter-regional CSE refers to mean pairwise CSE between regions. Region abbreviations: LF, left frontal; RF, right frontal; LC, left central; RC, right central; LP, left parietal; RP, right parietal.Figure 5. long description.

Supplementary material: File

Hwang et al. supplementary material

Hwang et al. supplementary material
Download Hwang et al. supplementary material(File)
File 39.7 KB