← Latest papers
💬 NLP

Towards Consistent Detection of Cognitive Distortions: LLM-Based Annotation and Dataset-Agnostic Evaluation

This paper proposes using multiple independent LLM runs to generate consistent annotations for the subjective task of cognitive distortion detection and introduces a dataset-agnostic evaluation framework based on Cohen's kappa, demonstrating that LLM-generated data yields superior model performance compared to human-labeled data.

Original authors: Neha Sharma, Navneet Agarwal, Kairit Sirts

Published 2026-05-21
📖 5 min read🧠 Deep dive

Original authors: Neha Sharma, Navneet Agarwal, Kairit Sirts

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a computer to spot "cognitive distortions." These are like mental traps or twisted ways of thinking (e.g., "I failed one test, so I'm a total failure") that often show up in people's writing when they are struggling with mental health.

The problem is that spotting these traps is incredibly subjective. Even human experts often disagree on whether a specific sentence contains a distortion or not. It's like asking five people to judge if a cloud looks like a rabbit; some say yes, some say no, and there's no "right" answer. This disagreement makes the data "noisy" and unreliable for training computers.

This paper proposes two clever solutions to fix this mess.

1. The "Crowd of Robots" Strategy (Better Annotations)

Instead of asking one human or one AI to make a single guess, the researchers asked a Large Language Model (LLM)—specifically GPT-4—to look at the same text five times in a row.

  • The Analogy: Imagine you are trying to find a hidden object in a messy room. If you look once, you might miss it or see something else. But if you look at the room five times, and you see the object in the exact same spot every single time, you can be very confident it's really there.
  • The Method: They ran the AI five times. If the AI kept giving the same label (e.g., "This is 'All-or-Nothing Thinking'") in four or five out of the five tries, they accepted that label as the "truth." If the AI was confused and gave different answers each time, they marked that text as ambiguous.
  • The Result: This "consensus" approach created a much cleaner, more consistent dataset than the original human-labeled data. When they trained a new computer model on this "robot-consensus" data, it performed significantly better than models trained on the messy human data.

2. The "Fair Race" Metric (Better Evaluation)

Usually, to see which computer model is better, researchers compare their scores (like an F1 score) on a test. But this is unfair if the test questions are different. It's like comparing a runner's time on a flat track to another runner's time on a muddy, uphill trail. You can't just look at the numbers; the conditions matter.

  • The Analogy: Imagine two students take different math tests. One test is easy, the other is hard. If Student A gets 80% on the hard test and Student B gets 90% on the easy test, who is actually better? You need to know how much better they did compared to just guessing randomly.
  • The Method: The authors introduced a new way to measure success called Dataset-Agnostic Evaluation. Instead of just looking at the raw score, they calculated how much better the model did compared to a "random guesser" (someone just picking answers at random). They used a statistical tool called Cohen's Kappa to normalize this.
  • The Result: This allowed them to fairly compare models trained on different datasets. Even when accounting for the difficulty of the data, the models trained on the "robot-consensus" labels still showed they were learning much more effectively than those trained on human labels.

The Human Check (The Reality Check)

The researchers then asked three human psychology experts to review the results. They showed the experts pairs of sentences: one labeled by the original humans and one labeled by the "robot consensus."

  • The Outcome: The experts were confused. They couldn't agree on which label was better. In fact, the experts disagreed with each other almost as much as the original data suggested.
  • The Takeaway: This didn't prove the robots were "right" and humans "wrong." Instead, it highlighted that the data itself is tricky. Many of the text snippets didn't clearly state the distorted thought; they just described an event or an emotion. Without a therapist asking follow-up questions, it's often impossible to know for sure what the person was thinking. The "noise" wasn't just in the labeling; it was in the source material itself.

Summary

The paper argues that for subjective tasks like detecting mental health patterns:

  1. Consistency is key: Asking an AI to label the same thing multiple times and only trusting the answers it repeats creates a more reliable dataset than trusting a single human or a single AI guess.
  2. Fair comparison matters: You need a special metric (like the "random guess" baseline) to compare models fairly when they are trained on different types of data.
  3. The data is the bottleneck: Even with better labeling methods, if the original text doesn't clearly express the thought process, it's hard to detect the distortion accurately.

The authors conclude that while LLMs can act as consistent, reliable "annotators" to clean up noisy data, the ultimate challenge remains the quality and clarity of the text we are trying to analyze.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →