A novel hybrid clustering and classification framework for multi-level depression detection in social media texts

Depression is a prevalent psychiatric condition worldwide, with significant social and economic implications. Despite its high incidence, many individuals with depression remain undiagnosed and untreated. Meanwhile, people increasingly use social media platforms to express their emotions and thoughts. Consequently, leveraging these platforms for depression detection may help address several related challenges. This paper proposes a three-stage methodology, based on text mining techniques, to determine the severity of depression in individuals who post textual content on social media. In the proposed framework, each post is transformed into a vector of numerical features using established feature extraction methods. Principal Component Analysis is then applied to select the most informative features for identifying whether a post indicates depression via a classification algorithm. If depression is detected, the method clusters the relevant posts based on their characteristics, grouping similar texts together. A second classification model is then applied within each cluster to determine the level of depression. To equip the model with effective algorithms at each stage, the Taguchi method is used to identify the best combination of feature extraction, clustering, and classification techniques. Specifically, Bidirectional Encoder Representations from Transformers (BERT) is used for deep contextual feature extraction, Deep Embedded Clustering (DEC) is employed for clustering, and Support Vector Machine (SVM) is used for classification. Numerical results show that the proposed approach can accurately classify individuals’ posts into one of four depression levels: non-depressed, low, moderate, and severe. These findings suggest that social networks offer a platform for assessing mental health through textual analysis. • A three-stage framework detects and analyzes depression in social media posts. • The method classifies depression severity as non, low, moderate, or severe. • The method is tested on large datasets from Reddit and Twitter platforms.

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2025-08-18
DOI
https://doi.org/10.1016/j.engappai.2025.111952
Citations
2
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
4.88
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A novel hybrid clustering and classification framework for multi-level depression detection in social media texts

Hadi Mosadegh, Masoud Mahootchi, Parisa Khodabakhshi
2 citations
Engineering Applications of Artificial Intelligence
Mental Health via Writing
4.88
article

A novel hybrid clustering and classification framework for multi-level depression detection in social media texts

Hadi Mosadegh, Masoud Mahootchi, Parisa Khodabakhshi
article en
2 citations

Abstract

Depression is a prevalent psychiatric condition worldwide, with significant social and economic implications. Despite its high incidence, many individuals with depression remain undiagnosed and untreated. Meanwhile, people increasingly use social media platforms to express their emotions and thoughts. Consequently, leveraging these platforms for depression detection may help address several related challenges. This paper proposes a three-stage methodology, based on text mining techniques, to determine the severity of depression in individuals who post textual content on social media. In the proposed framework, each post is transformed into a vector of numerical features using established feature extraction methods. Principal Component Analysis is then applied to select the most informative features for identifying whether a post indicates depression via a classification algorithm. If depression is detected, the method clusters the relevant posts based on their characteristics, grouping similar texts together. A second classification model is then applied within each cluster to determine the level of depression. To equip the model with effective algorithms at each stage, the Taguchi method is used to identify the best combination of feature extraction, clustering, and classification techniques. Specifically, Bidirectional Encoder Representations from Transformers (BERT) is used for deep contextual feature extraction, Deep Embedded Clustering (DEC) is employed for clustering, and Support Vector Machine (SVM) is used for classification. Numerical results show that the proposed approach can accurately classify individuals’ posts into one of four depression levels: non-depressed, low, moderate, and severe. These findings suggest that social networks offer a platform for assessing mental health through textual analysis. • A three-stage framework detects and analyzes depression in social media posts. • The method classifies depression severity as non, low, moderate, or severe. • The method is tested on large datasets from Reddit and Twitter platforms.

Engineering Applications of Artificial IntelligenceVol. 160
Amirkabir University of Technology (IR)
Reduced inequalities
Openalex Percentile: Top 5%
Mental Health via Writing
4.88
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.