Skip to main content

Mental State-Based Dialogue System for Mental Health Care by Using GPT-3

  • Conference paper
  • First Online:
Proceedings of Eighth International Congress on Information and Communication Technology (ICICT 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 695))

Included in the following conference series:

  • 476 Accesses

Abstract

Mental health disorders are conditions of the mind that cause changes in emotion, thought, and behavior. It can be connected with distress and problems functioning in social, professional, or family activities. This study tries to address this issue and improve the user's mental health situation by using the proposed artificial intelligence dialogue system model. Moreover, this research aims to determine the user’s current situation through text-based conversation and provide suggestions to improve his mental health problem. The proposed methodology is divided into three parts: Dialogue analyzer or Natural language understanding (NLU), Dialogue manager, and Dialogue generation. The NLU is responsible for understanding user utterances and the dialogue manager is responsible for defining the policy. Finally, the dialogue generation module generates the response for the user. In the result section, we have tried to calculate every module’s training and validation accuracy, automatic evaluation by using embedding similarity and BLEU, ROUGE score. We got 0.66 and 0.93 testing accuracy for the NLU and dialogue manager modules, respectively. Finally, this study got a 0.63 task success rate by using a combined method of correct intent detection and human evaluation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Zhang T, Schoene AM, Ji S, Ananiadou S (2022) Natural language processing applied to mental illness detection: a narrative review. https://doi.org/10.1038/s41746-022-00589-7

  2. Vassilakopoulou P, Haug A, Salvesen LM, Pappas IO (2022) Developing human/AI interactions for chat-based customer services: lessons learned from the Norwegian government. Eur J Inf Sys, pp 1–13. https://doi.org/10.1080/0960085X.2022.2096490

  3. Dai HJ, Su CH, Lee YQ, Zhang YC, Wang CK, Kuo CJ, Wu CS (2021) Deep learning-based natural language processing for screening psychiatric patients. Front Psychiatry 11:533949. https://doi.org/10.3389/fpsyt.2020.533949

  4. Oh KJ, Lee D, Ko B, Choi HJ (2017) A chatbot for psychiatric counseling in mental healthcare service based on emotional dialogue analysis and sentence generation. In: Proceedings—18th IEEE international conference on mobile data management, MDM 2017. Institute of Electrical and Electronics Engineers Inc., pp 371–376. https://doi.org/10.1109/MDM.2017.64

  5. Patel F, Thakore R, Nandwani I, Bharti SK (2019) Combating depression in students using an intelligent ChatBot: a cognitive behavioral therapy. In: 2019 IEEE 16th India council international conference, INDICON 2019—Symposium Proceedings. Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/INDICON47234.2019.9030346

  6. Jackson RG, Patel R, Jayatilleke N, Kolliakou A, Ball M, Gorrell G, Roberts A, Dobson RJ, Stewart R (2017) Natural language processing to extract symptoms of severe mental illness from clinical text: the clinical record interactive search comprehensive data extraction (CRIS-CODE) project. BMJ Open 7. https://doi.org/10.1136/bmjopen-2016-012012

  7. Dosovitsky G, Pineda BS, Jacobson NC, Chang C, Escoredo M, Bunge EL (2020) Artificial intelligence chatbot for depression: descriptive study of usage. JMIR Form Res 4. https://doi.org/10.2196/17065

  8. Zhu Y, Wang R, Pu C (2022) “I am chatbot, your virtual mental health adviser.” What drives citizens’ satisfaction and continuance intention toward mental health chatbots during the COVID-19 pandemic? An empirical study in China. Digit Health 8. https://doi.org/10.1177/20552076221090031

  9. Vaidyam AN, Wisniewski H, Halamka JD, Kashavan MS, Torous JB (2019) Chatbots and conversational agents in mental health: a review of the psychiatric landscape. Can J Psychiatry. https://doi.org/10.1177/0706743719828977

    Article  Google Scholar 

  10. Kamita T, Ito T, Matsumoto A, Munakata T, Inoue T (2019) A chatbot system for mental healthcare based on SAT counseling method. Mob Inf Syst 2019. https://doi.org/10.1155/2019/9517321

  11. Louvan S, Magnini B (2020) Recent neural methods on slot filling and intent classification for task-oriented dialogue systems: a survey. https://doi.org/10.48550/arXiv.2011.00564

  12. Chen Q, Zhuo Z, Wang W (2019) BERT for joint intent classification and slot filling. https://doi.org/10.48550/arXiv.1902.10909

  13. Yu D, Yu Z (2019) MIDAS: a dialog act annotation scheme for open domain human machine spoken conversations

    Google Scholar 

  14. Li R, Lin C, Collinson M, Li X, Chen G (2018) A dual-attention hierarchical recurrent neural network for dialogue act classification

    Google Scholar 

  15. Althoff T, Clark K, Leskovec J (2016) Large-scale analysis of counseling conversations: an application of natural language processing to mental health

    Google Scholar 

  16. Socher R, Perelygin A, Wu JY, Chuang J, Manning CD, Ng AY, Potts C (2013) Recursive deep models for semantic compositionality over a sentiment treebank. Association for Computational Linguistics

    Google Scholar 

  17. Zhang X, LeCun Y (2015) Character-level convolutional networks for textclassification

    Google Scholar 

  18. Saravia E, Liu H-CT, Huang Y-H, Wu J, Chen Y-S (2018): CARER: contextualized affect representations for emotion recognition. https://doi.org/10.18653/v1/D18-1404

  19. Ritik K (2022) Psykh-a-mental-health-chatbot/data at main · ritik872000/Psykh-A-mental-health-chatbot. https://github.com/ritik872000/Psykh-A-Mental-Health-Chatbot/tree/main/data. Last accessed 11 Sept 2022

  20. Pandey A (2022) Chatbot-for-mental-health/Dataset at main · pandeyanuradha/Chatbot-for-mental-health. https://github.com/pandeyanuradha/Chatbot-for-mental-health/tree/main/Dataset. Last accessed 11 Sept 2022

  21. Brown TB, Mann B, Ryder N, Subbiah M, Kaplan J, Dhariwal P, Neelakantan A, Shyam P, Sastry G, Askell A, Agarwal S, Herbert-Voss A, Krueger G, Henighan T, Child R, Ramesh A, Ziegler DM, Wu J, Winter C, Hesse C, Chen M, Sigler E, Litwin M, Gray S, Chess B, Clark J, Berner C, McCandlish S, Radford A, Sutskever I, Amodei D (2020) Language models are few-shot learners. https://doi.org/10.48550/arXiv.2005.14165

  22. Pethani M (2019) Making of chatbot using rasa NLU & rasa core. https://chatbotslife.com/making-of-chatbot-using-rasa-nlu-rasa-core-part-2-e1dbd9b30b1e. Last accessed 10 Jan 2023

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Md Nadim Kaysar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kaysar, M.N., Shiramatsu, S. (2024). Mental State-Based Dialogue System for Mental Health Care by Using GPT-3. In: Yang, XS., Sherratt, R.S., Dey, N., Joshi, A. (eds) Proceedings of Eighth International Congress on Information and Communication Technology. ICICT 2023. Lecture Notes in Networks and Systems, vol 695. Springer, Singapore. https://doi.org/10.1007/978-981-99-3043-2_74

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-3043-2_74

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-3042-5

  • Online ISBN: 978-981-99-3043-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics