Implementing Cognitive Behavioral Therapy in Chatbots to Reduce Students’ Exam Stress using ChatGPT
Undergraduate students frequently encounter academic stress, highlighting the need for accessible and effective coping mechanisms. This study develops an AI chatbot grounded in Cognitive Behavioral Therapy (CBT) principles to meet the mental health needs of these students. The primary goal is to devise and assess a chatbot that delivers personalized support for managing academic stress. The chatbot engages students in meaningful conversations, identifies cognitive distortions in their thought processes, and provides customized coping strategies. It leverages OpenAI’s GPT-3.5 turbo LLM for generating lifelike interactions and uses a vector database to store domain-specific knowledge. Responses are preprocessed with OpenAI embeddings for intent classification. Support Vector Machines (SVM), Multinomial Logistic Regression, and Random Forest models are used for classifying cognitive distortions, with SVM achieving the highest accuracy of $85.94 \%$. Intent classification is refined using cosine similarity, enhancing the chatbot’s conversational accuracy. Although SVM outperforms other models, ongoing challenges call for further research to refine the chatbot’s functionality and improve its impact on student well-being.
Authors
- K.A.S.H. Kulathilake (ORCID: https://orcid.org/0000-0003-2514-9285)
- D. K. Hettiarachchi (ORCID: https://orcid.org/0000-0002-9160-6686)
- M. M. A. H. Indumini
Institutions
- Rajarata University of Sri Lanka (LK)
Publication Details
- Published
- 2024-12-18
- DOI
- https://doi.org/10.1109/slaai-icai63667.2024.10844930
- Primary Topic
- Health and Well-being Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00