Detecting Cognitive Distortions from Patient-Therapist Interactions

Paper · Source
Therapy Practice and AINatural Language InferenceNLP and Linguistics

An important part of Cognitive Behavioral Therapy (CBT) is to recognize and restructure certain negative thinking patterns that are also known as cognitive distortions. This project aims to detect these distortions using natural language processing. We compare and contrast different types of linguistic features as well as different classification algorithms and explore the limitations of applying these techniques on a small dataset.

  1. Emotional Reasoning: Believing “I feel that way, so it must be true”

  2. Overgeneralization: Drawing conclusions with limited and often un negative experience.

  3. Mental Filter: Focusing only on limited negative aspects and not the excessive positive ones.

  4. Should Statements: Expecting things or personal behavior should be a certain way.

  5. All or Nothing: Binary thought pattern. Considering anything short of perfection as a failure.

  6. Mind Reading: Concluding that others are reacting negatively to you, without any basis in fact.

  7. Fortune Telling: Predicting that an event will always result in the worst possible outcome.

  8. Magnification: Exaggerating or Catastrophizing the outcome of certain events or behavior.

  9. Personalization: Holding oneself personally responsible for events beyond one’s control.

  10. Labeling: Attaching labels to oneself or others (ex: “loser”, “perfect”).

In particular, this research aims to answer the following questions:

  1. Which type of NLP features is more suitable for cognitive distortion detection: semantic or syntactic? Simply put, to compare what is said and how is it said in the context of this task. And, how important is word order in this context?

  2. How well do these NLP features and ML classification algorithms perform this task with a limited-sized dataset?

the annotators were asked to determine a dominant distortion for each of the entries, and an optional secondary distortion if it is too hard to determine a dominant distortion

On the other hand, some findings are more unexpected. The expectation with the “should statement” was to have a higher probability of having auxiliary verbs such as ‘should’, ‘must’, ‘ought to’ etc. However, the results show that should statement have a lower than average probability of having auxiliary verbs. An example of this distortion without using any of the words listed above could be “While others my age are busy with their jobs and life I am just wasting my time”.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

Does prioritizing empathy in AI therapy compromise clinical effectiveness? Do language models genuinely exhibit psychological understanding or simulate it? Can real-time working alliance measurement improve therapy session outcomes? How can AI systems maintain consistent personas across conversations? Why do writers and readers have conflicting AI disclosure preferences and trust effects? Do language models learn genuine linguistic structure or just surface patterns? Why does expressing understanding diverge from achieving genuine comprehension? Why does model self-revision amplify confidence in incorrect answers? How can clinicians assess the trustworthiness of AI medical advice? Can models effectively hide reward-seeking despite apparent safety alignment? How susceptible are language models to adopting and maintaining false beliefs? Does model reflection genuinely improve reasoning or just confirm beliefs? What are the fundamental limits of prompt-based debiasing? What mechanistic structures underlie the reasoning traces that language models produce? What tradeoffs emerge from fine-tuning models for extended reasoning? How much do LLMs rely on surface-level prompt characteristics rather than semantic meaning? What psychological and functional roles do emotions play in dialogue?