A Deep Learning Approach to Unveil Types of Mental Illness by Analyzing Social Media Posts
Mental illness has emerged as a widespread global health concern, often unnoticed and unspoken. In this era of digitization, social media has provided a prominent space for people to express their feelings and find solutions faster. Thus, this area of study with a sheer amount of information, which refers to users’ behavioral attributes combined with the power of machine learning (ML), can be explored to make the entire diagnosis process smooth. In this study, an efficient ML model using Long Short-Term Memory (LSTM) is developed to determine the kind of mental illness a user may have using a random text made by the user on their social media. This study is based on natural language processing, where the prerequisites involve data collection from different social media sites and then pre-processing the collected data as per the requirements through stemming, lemmatization, stop word removal, etc. After examining the linguistic patterns of different social media posts, a reduced feature space is generated using appropriate feature engineering, which is further fed as input to the LSTM model to identify a type of mental illness. The performance of the proposed model is also compared with three other ML models, which includes using the full feature space and the reduced one. The optimal resulting model is selected by training and testing all of the models on the publicly available Reddit Mental Health Dataset. Overall, utilizing deep learning (DL) for mental health analysis can offer a promising avenue toward improved interventions, outcomes, and a better understanding of mental health issues at both the individual and population levels, aiding in decision-making processes.
Authors
- Alok Prasad Das (ORCID: https://orcid.org/0000-0003-1499-4133)
- Rajashree Dash (ORCID: https://orcid.org/0000-0001-7813-5173)
- R. Mohapatra
- Spandan Udgata
- Vishanka Dash
Institutions
- Siksha O Anusandhan University (IN)
Publication Details
- Journal
- Mathematical and Computational Applications
- Published
- 2025-05-03
- DOI
- https://doi.org/10.3390/mca30030049
- Citations
- 1
- Primary Topic
- Mental Health via Writing
- Type
- article
- Field-Weighted Citation Impact
- 2.44