Analysis of Mental Health Counseling Conversation Using Natural Language Processing
- 1 Department of Computer Science, Iqra University, Karachi, Sindh, Pakistan
- 2 Department of Computer Science and Information Technology, NED University of Engineering and Technology Karachi, Sindh, Pakistan
- 3 Department of Metallurgical Engineering, NED University of Engineering and Technology Karachi, Sindh, Pakistan, Pakistan
- 4 Faculty of Computer and Information Systems, Islamic University of Madinah, Madinah, Saudi Arabia
- 5 Department of Research, MSM360, Pakistan
Abstract
One of the most significant public health challenges of our day is mental illness. Despite the benefits of psychotherapy and counseling, our understanding of conducting effective counseling conversations has been limited due to a lack of high-quality data with labeled results. This research presents a quantitative analysis of relatively good-quality data scraped from an online counseling forum. The dataset comprises questions related to various mental illnesses from actual patients and the responses from professional, certified therapists. Through graphical representations, we visualize the correlation between various linguistic aspects of conversations with conversation outcomes. We further apply certain language models, including the pre-trained BERT model, to analyze the quality of therapist responses. The results are then compared to identify effective conversational strategies contributing to improved outcomes. The novelty of this study lies in the mathematical explanations of Language models, making it a valuable resource for readers seeking a deep understanding of machine learning techniques. Additionally, it provides practical implementation guidance for the BERT model, enhancing its usability in real-world scenarios related to mental health challenges.
DOI: https://doi.org/10.3844/jcssp.2024.303.309
Copyright: © 2024 Saad Ahmed, Sidrah Khurshid, Muhammad Imran, Muhammad Shoaib Siddiqui, Saman Hina and Munad Ahmed. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 1,043 Views
- 694 Downloads
- 0 Citations
Download
Keywords
- Mental Health
- Counseling
- Psychotherapy
- Depression
- Therapist
- Chatbot
- NLP