Effective depression detection and interpretation: Integrating machine learning, deep learning, language models, and explainable AI

Depression is an increasingly prevalent issue, particularly among young people, significantly impacting their well-being and causing persistent distress. Early detection is crucial to address this growing concern. This study utilizes various machine learning, deep learning, and language models to detect depression among Bangladeshi university students. To address data imbalance in the employed dataset, resampling techniques such as SMOTE and Cluster Centroids are applied. Additionally, exhaustive hyperparameter optimization is performed to enhance classification performance. Our results indicate that machine learning algorithms, particularly Random Forest, effectively predict depression with an accuracy of 91.1% and an F1-score of 91.6%. Language models like RoBERTa also achieve strong results, with a recall score of 98.6%. Moreover, explainable AI (XAI) methods, including SHAP and LIME, are employed to interpret model predictions, underscoring the importance of transparency in machine learning. This work contributes to the early identification of depression by integrating machine learning, deep learning, natural language processing, and XAI techniques. While this study focuses on Bangladeshi or similar demographic groups, the proposed approaches are adaptable and can be applied to other populations for generalization.

Authors

Institutions

Publication Details

Journal
Array
Published
2025-02-07
DOI
https://doi.org/10.1016/j.array.2025.100375
Citations
19
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
46.33
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Effective depression detection and interpretation: Integrating machine learning, deep learning, language models, and explainable AI

Muhammad Rafsan Kabir, Gazi Hasan Al Masud, Rejaul Islam Shanto, Ishmam Sakin
19 citations
Array
Mental Health via Writing
46.33
article

Effective depression detection and interpretation: Integrating machine learning, deep learning, language models, and explainable AI

Muhammad Rafsan Kabir, Gazi Hasan Al Masud, Rejaul Islam Shanto, Ishmam Sakin
article en
19 citations

Abstract

Depression is an increasingly prevalent issue, particularly among young people, significantly impacting their well-being and causing persistent distress. Early detection is crucial to address this growing concern. This study utilizes various machine learning, deep learning, and language models to detect depression among Bangladeshi university students. To address data imbalance in the employed dataset, resampling techniques such as SMOTE and Cluster Centroids are applied. Additionally, exhaustive hyperparameter optimization is performed to enhance classification performance. Our results indicate that machine learning algorithms, particularly Random Forest, effectively predict depression with an accuracy of 91.1% and an F1-score of 91.6%. Language models like RoBERTa also achieve strong results, with a recall score of 98.6%. Moreover, explainable AI (XAI) methods, including SHAP and LIME, are employed to interpret model predictions, underscoring the importance of transparency in machine learning. This work contributes to the early identification of depression by integrating machine learning, deep learning, natural language processing, and XAI techniques. While this study focuses on Bangladeshi or similar demographic groups, the proposed approaches are adaptable and can be applied to other populations for generalization.

ArrayVol. 25
Ahsanullah University of Science and Technology (BD), North South University (BD), BRAC University (BD)
Quality Education
Openalex Percentile: Top 0%
Mental Health via Writing
46.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.