Detection and Positive Reconstruction of Cognitive Distortion Sentences: Mandarin Dataset and Evaluation

Shuya Lin, Yuxiong Wang, Jonathan Dong, Shiguang NiACL 2024

Introduction

Cognitive distortions—irrational and rigid negative thought patterns—are significant contributors to psychological distress, including depression and anxiety. While cognitive restructuring is a proven therapeutic technique, its accessibility is limited by the availability and cost of professional mental health services. This research introduces the first comprehensive Mandarin dataset designed to detect these distortions and automatically reframe them into constructive, positive perspectives.

Theoretical Framework: Positive Reconstruction

The study is grounded in the "broaden-and-build" theory of positive psychology, which posits that positive emotions broaden an individual's momentary thought-action repertoire, facilitating the building of personal resources and resilience.

The Positive Reconstruction Framework integrates the Broaden-and-Build theory to map specific positive emotions to reconstruction strategies.

The framework identifies five core reconstruction strategies: Optimism, Gratitude, Individual Growth, Relaxation Mindset, and Acceptance. Each strategy is linked to specific positive emotions (e.g., joy and hope for Optimism) to ensure that the generated reframes are psychologically sound rather than mere linguistic inversions.

Dataset and Methodology

The researchers developed a benchmark dataset derived from PsyQA, a Chinese psychological Q&A platform.

  • Detection Set: 4,001 instances annotated by psychology postgraduates, with 1,129 identified as containing cognitive distortions.
  • Reconstruction Set: 1,900 instances where trained participants provided five distinct positive reframes per distorted sentence, corresponding to the five strategies.

The technical approach involved two stages:

  1. Detection: Binary classification using a RoBERTa-wwm-ext backbone. The best-performing model utilized full fine-tuning, achieving an accuracy of 0.896 and an F1 score of 0.822.
  2. Reconstruction: Generating reframed text using Large Language Models (LLMs). The study compared P-Tuning (V2) on ChatGLM-6B, fine-tuning on ChatGPT-3.5, and standard prompt engineering.

Results and Analysis

The experimental results highlight the efficacy of specialized tuning over general-purpose prompting.

Automatic evaluation results comparing fine-tuning and prompt engineering across different LLMs.

As shown in the evaluation metrics, the P-tuned ChatGLM-6B model consistently outperformed other configurations in ROUGE-1 and BERTScore. Notably, this smaller, more efficient model (6B parameters) surpassed the larger ChatGPT-3.5 in semantic similarity and preservation of meaning. Human evaluations corroborated these findings, with ChatGLM-6B receiving high marks for "Preservation of Meaning" (4.08/5).

Analysis of the strategies revealed an "Optimism bias," where models most effectively generated reframes using the Optimistic Strategy. This suggests that while LLMs excel at modeling hope, more nuanced strategies like Acceptance or Relaxation Mindset may require further specialized data.

Conclusion

This work provides a robust foundation for automated mental health support in Mandarin. By combining a theoretically grounded framework with high-quality data, the researchers demonstrate that fine-tuned LLMs can serve as effective tools for cognitive restructuring. Future research will focus on real-world clinical testing and addressing model biases toward specific reconstruction strategies.

Summary updated

BibTeX
@inproceedings{lin2024detection,
  author = {Shuya Lin and Yuxiong Wang and Jonathan Dong and Shiguang Ni},
  title = {{Detection and Positive Reconstruction of Cognitive Distortion Sentences: Mandarin Dataset and Evaluation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.399},
}
Figure