Mental Health Safety and Depression Detection in Social Media Text Data: A Classification Approach Based on a Deep Learning Model

Data collected from social media platforms can be useful to monitor people's mental health and provide instant information for early detection of depression when analysing users' content generated by them. In this paper, we test the performance of DL models on the Mental Health Social Media dataset from Kaggle to classify the depression related text. The data is put through a lot of preprocessing like normalisation, removing html and url, tokenisation, label encoding, embedding and vectorisation techniques like BERT embedding, Keras Tokeniser and TF-IDF vectorisation techniques that capture the semantic and contextual information. Class imbalance is addressed by using data balancing methods like SMOTE and random oversampling. We analyse several architectures namely, BERT-based LSTM, BERT-BiLSTM, BERT-LSTMGRU hybrids, standalone LSTM and GRU networks, and classic ML classifiers such as RF, SVM and VC. The results obtained from the experiments show that the VC achieves the highest accuracy of 93.9%, F1-score of 93.7%, and ROC-AUC of 87.5% compared to the individual DL and classical models. The analysis reveals that ensemble learning, where multiple models are merged, significantly improves the detection ability, and forms a good structure for the accurate and context-aware depression classification from social media texts that can be effectively used for timely mental health interventions and monitoring at scale.

Authors

Publication Details

Journal
International Journal of Engineering Research and Science & Technology
Published
2026-12-01
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Mental Health Safety and Depression Detection in Social Media Text Data: A Classification Approach Based on a Deep Learning Model

Imtiyaz Khan, Subramanian K.M3, Nida Safia Yousuf
International Journal of Engineering Research and Science & Technology
Mental Health via Writing
article

Mental Health Safety and Depression Detection in Social Media Text Data: A Classification Approach Based on a Deep Learning Model

Imtiyaz Khan, Subramanian K.M3, Nida Safia Yousuf
article en

Abstract

Data collected from social media platforms can be useful to monitor people's mental health and provide instant information for early detection of depression when analysing users' content generated by them. In this paper, we test the performance of DL models on the Mental Health Social Media dataset from Kaggle to classify the depression related text. The data is put through a lot of preprocessing like normalisation, removing html and url, tokenisation, label encoding, embedding and vectorisation techniques like BERT embedding, Keras Tokeniser and TF-IDF vectorisation techniques that capture the semantic and contextual information. Class imbalance is addressed by using data balancing methods like SMOTE and random oversampling. We analyse several architectures namely, BERT-based LSTM, BERT-BiLSTM, BERT-LSTMGRU hybrids, standalone LSTM and GRU networks, and classic ML classifiers such as RF, SVM and VC. The results obtained from the experiments show that the VC achieves the highest accuracy of 93.9%, F1-score of 93.7%, and ROC-AUC of 87.5% compared to the individual DL and classical models. The analysis reveals that ensemble learning, where multiple models are merged, significantly improves the detection ability, and forms a good structure for the accurate and context-aware depression classification from social media texts that can be effectively used for timely mental health interventions and monitoring at scale.

International Journal of Engineering Research and Science & TechnologyVol. 22
Mental Health via Writing
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.

Laika access coming soon