PclGPT: A Large Language Model for Patronizing and Condescending Language Detection

Hongbo Wang, Mingda Li, Junyu Lu, Hebin Xia, Liang Yang, Bo Xu, Ruizhu Liu, Hongfei Lin

Introduction

While most toxic language detection systems focus on explicit harms like hate speech or slurs, there is a more insidious form of toxicity: Patronizing and Condescending Language (PCL). PCL is characterized by a superior attitude, false sympathy, or "pity" directed at marginalized communities. Because PCL often utilizes seemingly positive or neutral vocabulary, it frequently bypasses standard toxicity filters. This paper introduces PclGPT, a specialized bilingual framework designed to unmask this subtle, "kind-sounding" arrogance.

The Challenge of Implicit Toxicity

The core difficulty in detecting PCL lies in its semantic ambiguity. Unlike hate speech, which often contains explicit "attack" words, PCL is often "clean" from a machine-learning perspective.

Comparison of Sentiment and Toxicity scores between PCL and Hate Speech datasets, illustrating the 'Clean Text' trap.

As shown in the analysis of English and Chinese datasets, PCL samples (blue) consistently cluster at lower toxicity scores compared to traditional hate speech (orange). This confirms that PCL is semantically ambiguous; it may appear polite to a general-purpose model while remaining harmful to human readers.

Methodology: The PclGPT Framework

PclGPT addresses these challenges through a two-stage "staircase" training process, resulting in two specialized models: PclGPT-EN (based on LLaMA-2-7B) and PclGPT-CN (based on ChatGLM-3-6B).

The PclGPT architecture, detailing the domain-adaptive pre-training and instruction-based supervised fine-tuning stages.

1. Domain-Adaptive Pre-training (PT)

The models were first exposed to a massive corpus of 1.4 million entries from Reddit (RAL-P) and Sina Weibo (WEB-C). This data was specifically filtered for discussions involving vulnerable groups, allowing the models to learn the linguistic nuances of community-driven discourse.

2. Supervised Fine-Tuning (SFT)

The authors employed a novel Instruction Data Format. Rather than simple binary classification, the fine-tuning prompts included formal definitions of PCL and its subcategories. Crucially, the framework integrated a Toxicity Intensity Instruction, requiring the model to categorize the tone as mild, moderate, or severe based on Perspective API scores. This forced the model to develop a more granular understanding of linguistic tone.

Key Datasets

The study utilized several benchmarks to ensure cross-lingual robustness:

  • English: The "Don’t Patronize Me!" (DPM) news dataset and "TalkDown" (TD) Reddit dataset.
  • Chinese: The authors introduced CPCL (Chinese Patronizing and Condescending Language), a new dataset of 18,000 manually annotated social media posts categorized by target group (e.g., elderly, disabled) and PCL subcategory (e.g., "Unbalanced Power Relations").

Results and Insights

PclGPT established new state-of-the-art (SOTA) results across major benchmarks:

  • English Performance: PclGPT-EN achieved an F1-score of 81.1 on the DPM dataset, significantly outperforming RoBERTa (77.4) and general-purpose LLMs like GPT-4 (54.3).
  • Chinese Performance: PclGPT-CN reached an F1-score of 70.2 on the CPCL dataset.
  • Robustness: When tested against "fuzzy" or borderline samples, general models like GPT-4 saw performance drops of over 8%, while PclGPT's performance actually improved, suggesting that specialized instruction-tuning makes the model more resilient to linguistic ambiguity.

Conclusion and Future Work

PclGPT demonstrates that specialized domain-adaptive training and detailed instructional guidance are essential for detecting implicit toxicity. However, challenges remain, particularly regarding "insincere benevolence" and the limitations of Reinforcement Learning from Human Feedback (RLHF) in this domain. Future research will focus on refining the linguistic boundaries of microaggressions to further reduce false positives in PCL detection.

Summary updated

BibTeX
@inproceedings{wang2024pclgpt,
  author = {Hongbo Wang and Mingda Li and Junyu Lu and Hebin Xia and Liang Yang and Bo Xu and Ruizhu Liu and Hongfei Lin},
  title = {{PclGPT: A Large Language Model for Patronizing and Condescending Language Detection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.406},
}
Figure