Detection and Prediction of Future Mental Disorder from Social Media Data Using Machine Learning Ensemble Learning and Large Language Models

With the exponential growth of user-generated content on social media, researchers are exploring new ways to extract meaningful patterns to understand public health trends—particularly mental health conditions. This paper investigates the detection and prediction of future mental disorders through social media analysis using a combination of machine learning, ensemble learning methods, and large language models (LLMs). The approach aims to identify behavioral and linguistic indicators of mental distress before clinical diagnosis or self-reporting. Ensemble methods such as Random Forests and Gradient Boosting are integrated with deep learning language models like BERT and RoBERTa to improve prediction accuracy. A diverse set of features including sentiment polarity, temporal posting patterns, and linguistic markers are extracted from social posts to train the models. The proposed system achieves high accuracy in predicting early warning signs of mental disorders, such as depression, anxiety, and PTSD, with explainability incorporated through SHAP values. This research offers a scalable, data-driven solution to assist clinicians and policymakers in early mental health intervention strategies.

Authors

Institutions

Publication Details

Journal
International Journal of Scientific Research in Science and Technology
Published
2025-05-19
DOI
https://doi.org/10.32628/ijsrst2512338
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
article

Detection and Prediction of Future Mental Disorder from Social Media Data Using Machine Learning Ensemble Learning and Large Language Models

K. K. Sharmila, Cheni Sruneethi
International Journal of Scientific Research in Science and Technology
Mental Health via Writing
article

Detection and Prediction of Future Mental Disorder from Social Media Data Using Machine Learning Ensemble Learning and Large Language Models

K. K. Sharmila, Cheni Sruneethi
article en

Abstract

With the exponential growth of user-generated content on social media, researchers are exploring new ways to extract meaningful patterns to understand public health trends—particularly mental health conditions. This paper investigates the detection and prediction of future mental disorders through social media analysis using a combination of machine learning, ensemble learning methods, and large language models (LLMs). The approach aims to identify behavioral and linguistic indicators of mental distress before clinical diagnosis or self-reporting. Ensemble methods such as Random Forests and Gradient Boosting are integrated with deep learning language models like BERT and RoBERTa to improve prediction accuracy. A diverse set of features including sentiment polarity, temporal posting patterns, and linguistic markers are extracted from social posts to train the models. The proposed system achieves high accuracy in predicting early warning signs of mental disorders, such as depression, anxiety, and PTSD, with explainability incorporated through SHAP values. This research offers a scalable, data-driven solution to assist clinicians and policymakers in early mental health intervention strategies.

International Journal of Scientific Research in Science and TechnologyVol. 12(3)
Indian Institute of Technology Tirupati (IN)
Openalex Percentile: Top 88%
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.

Detection and Prediction of Future Mental Disorder from Social Media Data Using Machine Learning Ensemble Learning and Large Language Models — K. K. Sharmila, Cheni Sruneethi · International Journal of Scientific Research in Science and Technology (2025) | TGRS Research Map | TGRS