Skip to main content
Top

2025 | OriginalPaper | Chapter

Therapying Outside the Box: Innovating the Implementation and Evaulation of CBT in Therapeutic Artificial Agents

Authors : Sharjeel Tahir, Jumana Abu-Khalaf, Syed Afaq Ali Shah, Judith Johnson

Published in: Web Information Systems Engineering – WISE 2024

Publisher: Springer Nature Singapore

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

With the rise in sedentary lifestyles and burdening work routines, mental health problems have been growing exponentially in recent years. While there are many online therapy agents, most of them lack human-like cognitive capabilities. The objective of this study is to develop and analyze a framework for delivering and assessing Cognitive Behavioural Therapy (CBT), utilizing the sophisticated attributes of state-of-the-art large language models (LLM). This paper presents our three key contributions: (A) Implementation and evaluation of the efficacy of utilizing LLMs, such as Llama2, GPT-3.5, and GPT-4, on CBT data. (B) Curation of real-world CBT conversations, which were gathered and annotated with the help of professionals in the mental health domain. (C) A novel approach for evaluating the performance of AI-based CBT agents or chatbots. Our technique leverages widely used assessment scales in the fields of cognitive behavioral therapy (CBT), natural language processing (NLP), and computer vision. To improve the quality of CBT conversation creation in LLMs, we use a preference-based learning method that bears resemblance to reinforcement learning with human feedback (RLHF). By incorporating the novel evaluation scale alongside three widely used metrics-BLEU, PPL, and Distinct - we were able to establish that the proposed model outperforms state-of-the-art LLMs. For instance, a BLEU score of 0.1739 was achieved compared to GPT-4’s 0.1633.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
2.
go back to reference Abd-Alrazaq, A.A., Alajlani, M., Ali, N., Denecke, K., Bewick, B.M., Househ, M.: Perceptions and opinions of patients about mental health chatbots: scoping review. J. Med. Internet Res. 23(1), e17828 (2021)CrossRef Abd-Alrazaq, A.A., Alajlani, M., Ali, N., Denecke, K., Bewick, B.M., Househ, M.: Perceptions and opinions of patients about mental health chatbots: scoping review. J. Med. Internet Res. 23(1), e17828 (2021)CrossRef
5.
go back to reference Beck, A.T., Haigh, E.A.: Advances in cognitive theory and therapy: the generic cognitive model. Annu. Rev. Clin. Psychol. 10, 1–24 (2014)CrossRef Beck, A.T., Haigh, E.A.: Advances in cognitive theory and therapy: the generic cognitive model. Annu. Rev. Clin. Psychol. 10, 1–24 (2014)CrossRef
6.
go back to reference Bill, D., Eriksson, T.: Fine-tuning a LLM using reinforcement learning from human feedback for a therapy chatbot application (2023) Bill, D., Eriksson, T.: Fine-tuning a LLM using reinforcement learning from human feedback for a therapy chatbot application (2023)
7.
go back to reference Borsci, S., et al.: The chatbot usability scale: the design and pilot of a usability scale for interaction with AI-based conversational agents. Pers. Ubiquit. Comput. 26, 95–119 (2022)CrossRef Borsci, S., et al.: The chatbot usability scale: the design and pilot of a usability scale for interaction with AI-based conversational agents. Pers. Ubiquit. Comput. 26, 95–119 (2022)CrossRef
8.
go back to reference Chiu, Y.Y., Sharma, A., Lin, I.W., Althoff, T.: A computational framework for behavioral assessment of LLM therapists. arXiv preprint arXiv:2401.00820 (2024) Chiu, Y.Y., Sharma, A., Lin, I.W., Althoff, T.: A computational framework for behavioral assessment of LLM therapists. arXiv preprint arXiv:​2401.​00820 (2024)
9.
go back to reference Cho, Y., et al.: Evaluating the efficacy of interactive language therapy based on LLM for high-functioning autistic adolescent psychological counseling. arXiv preprint arXiv:2311.09243 (2023) Cho, Y., et al.: Evaluating the efficacy of interactive language therapy based on LLM for high-functioning autistic adolescent psychological counseling. arXiv preprint arXiv:​2311.​09243 (2023)
10.
go back to reference Dettmers, T., Pagnoni, A., Holtzman, A., Zettlemoyer, L.: QLoRA: efficient finetuning of quantized LLMs (2023) Dettmers, T., Pagnoni, A., Holtzman, A., Zettlemoyer, L.: QLoRA: efficient finetuning of quantized LLMs (2023)
13.
go back to reference Fowler, D., Garety, P., Kuipers, E.: Cognitive Behaviour Therapy for Psychosis: Theory and Practice. John Wiley & Sons (1995) Fowler, D., Garety, P., Kuipers, E.: Cognitive Behaviour Therapy for Psychosis: Theory and Practice. John Wiley & Sons (1995)
14.
go back to reference Hofmann, S.G., Asmundson, G.J., Beck, A.T.: The science of cognitive therapy. Behav. Ther. 44(2), 199–212 (2013)CrossRef Hofmann, S.G., Asmundson, G.J., Beck, A.T.: The science of cognitive therapy. Behav. Ther. 44(2), 199–212 (2013)CrossRef
15.
go back to reference Hu, E.J., et al.: LoRA: low-rank adaptation of large language models (2021) Hu, E.J., et al.: LoRA: low-rank adaptation of large language models (2021)
16.
go back to reference Jin, H., Chen, S., Wu, M., Zhu, K.Q.: PsyEval: a comprehensive large language model evaluation benchmark for mental health (2023) Jin, H., Chen, S., Wu, M., Zhu, K.Q.: PsyEval: a comprehensive large language model evaluation benchmark for mental health (2023)
17.
18.
go back to reference Lai, T., et al.: Psy-LLM: scaling up global mental health psychological services with AI-based large language models. arXiv preprint arXiv:2307.11991 (2023) Lai, T., et al.: Psy-LLM: scaling up global mental health psychological services with AI-based large language models. arXiv preprint arXiv:​2307.​11991 (2023)
19.
go back to reference Oh, J., Jang, S., Kim, H., Kim, J.J.: Efficacy of mobile app-based interactive cognitive behavioral therapy using a chatbot for panic disorder. Int. J. Med. Informatics 140, 104171 (2020)CrossRef Oh, J., Jang, S., Kim, H., Kim, J.J.: Efficacy of mobile app-based interactive cognitive behavioral therapy using a chatbot for panic disorder. Int. J. Med. Informatics 140, 104171 (2020)CrossRef
22.
go back to reference Rafailov, R., Sharma, A., Mitchell, E., Ermon, S., Manning, C.D., Finn, C.: Direct preference optimization: your language model is secretly a reward model. arXiv preprint arXiv:2305.18290 (2023) Rafailov, R., Sharma, A., Mitchell, E., Ermon, S., Manning, C.D., Finn, C.: Direct preference optimization: your language model is secretly a reward model. arXiv preprint arXiv:​2305.​18290 (2023)
24.
26.
go back to reference Zhao, W., Zhao, Y., Lu, X., Qin, B.: Don’t lose yourself! empathetic response generation via explicit self-other awareness. arXiv preprint arXiv:2210.03884 (2022) Zhao, W., Zhao, Y., Lu, X., Qin, B.: Don’t lose yourself! empathetic response generation via explicit self-other awareness. arXiv preprint arXiv:​2210.​03884 (2022)
Metadata
Title
Therapying Outside the Box: Innovating the Implementation and Evaulation of CBT in Therapeutic Artificial Agents
Authors
Sharjeel Tahir
Jumana Abu-Khalaf
Syed Afaq Ali Shah
Judith Johnson
Copyright Year
2025
Publisher
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-96-0573-6_15

Premium Partner