A Privacy-Focused, Adaptable Chatbot for Detecting and Preventing Depression

Authors

  • Matviy Amchislavskiy The Governor’s Academy, Byfield, USA Author

DOI:

https://doi.org/10.60087/jklst.v4.n1.006

Keywords:

Artificial intelligence, deep learning, depression, social functioning, speech, chatbot

Abstract

According to the World Health Organization, approximately 280 million people have depression. However, mental health diagnostic and intervention tools remain largely inaccessible, unaffordable, and stigmatized. To address this global need, a novel, accessible, and nonintrusive diagnostic and assistive system was created through the development of two machine learning (ML) models and a web app. Psych2Go uses two ML models to nonintrusively detect depression (model 1) and emotion (model 2). Both achieve their respective goals by analyzing prosodic features in speech rather than the content. The first ML model achieves a depression detection accuracy of 75.54% and the second achieves an emotion detection accuracy of 77.60%. The assistive system is powered by the GPT-3.5 Turbo API. The API, using a custom prompt template, tailors responses and therapy techniques to the user-provided demographic information (name, gender, age) and the detected emotion from the second ML model. The prompt enables the GPT-3.5 Turbo API to apply cognitive behavioral therapy principles, identifying and addressing depression-related negative thoughts. Adhering to strict privacy standards, the chatbot eschews storage of personal conversations, focusing instead on session-specific data (the user’s time of a session, depression score, emotion, name, age, and gender). Psych2Go was deemed successful in providing privacy-focused, personalized emotional support and depression and emotion detection. The chatbot’s unprecedented privacy-focused approach and personalization allows for it to act as an aid for therapists to monitor progress and a support system for the user between therapy sessions.     

Downloads

Download data is not yet available.

References

Afshan, A., Guo, J., Park, S. J., Ravi, V., Flint, J., & Alwan, A. (2018). Effectiveness of voice quality features in detecting depression. Proceedings of Interspeech 2018, 1676–1680. https://doi.org/10.21437/interspeech.2018-1399

Al-Huthail, Y. R. (2008). Accuracy of referring psychiatric diagnosis. International Journal of Health Sciences, 2(1), 35–38. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3068718/#:~:text=The%2520accuracy%2520of%2520psychiatric%2520diagnosis

Bandelow, B., Michaelis, S., & Wedekind, D. (2022). Treat-ment of anxiety disorders. Generalized Anxiety Disorders, 19(2), 93–107. https://doi.org/10.31887/dcns.2017.19.2/bbandelow

Bendig, E., Erb, B., Schulze-Thuesing, L., & Baumeister, H. (2022). The next generation: Chatbots in clinical psychology and psychotherapy to foster mental health – A scoping review. Verhaltenstherapie, 32(S1), 64–76. https://doi.org/10.1159/000501812

Borenstein, J. (2020, August). Stigma, prejudice and discrim-ination against people with mental illness. American Psychi-atric Association. https://www.psychiatry.org/patients-families/stigma-and-discrimination

Fitzpatrick, K. K., Darcy, A., & Vierhile, M. (2017). Deliver-ing cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversa-tional agent (Woebot): A randomized controlled trial. JMIR Mental Health, 4(2), Article e19. https://doi.org/10.2196/mental.7785

Galderisi, S., Heinz, A., Kastrup, M., Beezhold, J., & Sartorius, N. (2015). Toward a new definition of mental health. World Psychiatry, 14(2), 231–233. https://doi.org/10.1002/wps.20231

Gopalkrishnan, N. (2018). Cultural diversity and mental health: Considerations for policy and practice. Frontiers in Public Health, 6, Article 179. https://doi.org/10.3389/fpubh.2018.00179

Gove, W. R., & Tudor, J. F. (1973). Adult sex roles and mental illness. American Journal of Sociology, 78(4), 812–835. https://doi.org/10.1086/225404

Hema, C., & Marquez, F. (2023). Emotional speech recogni-tion using CNN and deep learning techniques. Applied Acoustics, 211, Article 109492. https://doi.org/10.1016/j.apacoust.2023.109492

Inglis, A., Morris, E., & Austin, J. (2016). Prenatal genetic counselling for psychiatric disorders. Prenatal Diagnosis, 37(1), 6–13. https://doi.org/10.1002/pd.4878

Kasper, S. (2006). Anxiety disorders: under-diagnosed and insufficiently treated. International Journal of Psychiatry in Clinical Practice, 10(S1), 3–9. https://doi.org/10.1080/13651500600552297

Ly, K. H., Ly, A.-M., & Andersson, G. (2017). A fully auto-mated conversational agent for promoting mental well-being: A pilot RCT using mixed methods. Internet Interventions, 10, 39–46. https://doi.org/10.1016/j.invent.2017.10.002

Mittal, D., Drummond, K. L., Blevins, D., Curran, G., Corri-gan, P., & Sullivan, G. (2013). Stigma associated with PTSD: Perceptions of treatment seeking combat veterans. Psychiatric Rehabilitation Journal, 36(2), 86–92. https://doi.org/10.1037/h0094976

National Alliance on Mental Illness California. (n.d.). About mental illness. https://namica.org/what-is-mental-illness/

National Institute of Mental Health. (2023, January). Psy-chotherapies. https://www.nimh.nih.gov/health/topics/psychotherapies#:~

Osisanwo, F. Y., Akinsola, J. E. T., Awodele, O., Hinmikaiye, J. O., Olakanmi, O., & Akinjobi J. (2017). Supervised machine learning algorithms: Classification and comparison. Interna-tional Journal of Computer Trends and Technology, 48(3), 128–138. https://doi.org/10.14445/22312803/ijctt-v48p126

Parish, A. L., Gillis, B., & Anthamatten, A. (2023). Pharma-cotherapy for depression and anxiety in the primary care set-ting. Journal for Nurse Practitioners, 19(4), Article 104556. https://doi.org/10.1016/j.nurpra.2023.104556

Puyat, J. H., Kazanjian, A., Goldner, E. M., & Wong, H. (2016). How often do individuals with major depression receive minimally adequate treatment? A population-based, data linkage study. Canadian Journal of Psychiatry, 61(7), 394–404. https://doi.org/10.1177/0706743716640288

Schulze, B. (2007). Stigma and mental health professionals: A review of the evidence on an intricate relationship. Interna-tional Review of Psychiatry, 19(2), 137–155. https://doi.org/10.1080/09540260701278929

Shatte, A. B. R., Hutchinson, D. M., & Teague, S. J. (2019). Machine learning in mental health: A scoping review of methods and applications. Psychological Medicine, 49(9), 1426–1448. https://doi.org/10.1017/s0033291719000151

Xu, L., Sanders, L., Li, K., & Chow, J. (2021). Chatbot for healthcare and oncology applications using artificial intelli-gence and machine learning: Systematic review. JMIR Cancer, 7(4), Article e27850. https://doi.org/10.2196/27850

Yokoya, S., Maeno, T., Sakamoto, N., Goto, R., & Maeno, T. (2018). A brief survey of public knowledge and stigma to-wards depression. Journal of Clinical Medicine Research, 10(3), 202–209. https://doi.org/10.14740/jocmr3282

Downloads

Published

06-12-2024

Data Availability Statement

The data supporting the outcome of this research work has been reported in this manuscript. If further information is needed, contact author.

How to Cite

Amchislavskiy, M. . (2024). A Privacy-Focused, Adaptable Chatbot for Detecting and Preventing Depression. Journal of Knowledge Learning and Science Technology ISSN: 2959-6386 (online), 4(1), 52-60. https://doi.org/10.60087/jklst.v4.n1.006

Most read articles by the same author(s)

<< < 20 21 22 23 24 25