Comparative Assessment of LLMs for Classifying Cognitive Theory Parameters in Patient-Chatbot Interactions

Authors

  • Laxmi Jayannavar M S Ramaiah Institute of Technology
  • T. N. R. Kumar M S Ramaiah Institute of Technology

DOI:

https://doi.org/10.59461/ijitra.v5i2.232

Keywords:

Large Language Models (LLMs), Beck’s Cognitive Theory, Cognitive Triad, Depression Detection, Patient–Chatbot Interactions.

Abstract

This study presents a comparative evaluation of leading Large Language Models (LLMs) for classifying cognitive triad parameters—self-negative, world-negative, and future-negative—in patient–chatbot interactions based on Beck’s Cognitive Theory. A dataset of patient statements extracted from chatbot conversations was analyzed using GPT-4, GPT-4o, GPT-4o-mini, Gemini 1.5 Pro, and Claude 3.5 Sonnet. Structured prompt-engineering techniques were employed to identify and categorize negative cognitive patterns associated with depression. The proposed framework uses a modular prompt-based architecture that independently detects self-directed, world-directed, and future-oriented negative thoughts. Experimental results demonstrate that all evaluated models achieved high classification performance, with GPT-4o obtaining the highest overall accuracy and macro F1-score. The findings highlight the potential of LLMs to support automated psychological assessment and early detection of depressive thought patterns. This work contributes toward the development of AI-assisted mental health systems capable of enhancing clinical decision-making and scalable mental health screening.

Downloads

Published

2026-06-30

How to Cite

Jayannavar, L., & T. N. R. Kumar. (2026). Comparative Assessment of LLMs for Classifying Cognitive Theory Parameters in Patient-Chatbot Interactions. International Journal of Information Technology, Research and Applications, 5(2), 34–41. https://doi.org/10.59461/ijitra.v5i2.232

Issue

Section

Regular Issue