NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Chain of Explanation: New Prompting Method to Generate Higher Quality Natural Language Explanation for Implicit Hate Speech

Fan Huang, Haewoon Kwak, Jisun AnarXiv 2022 · DOI

Here is a concise, engaging summary of the paper.

TL;DR

The authors introduce Chain of Explanation (CoE), a novel prompting method that helps language models generate high-quality natural language explanations for implicit hate speech. By explicitly structuring the prompt to identify the target group and hateful intent, the method dramatically improves explanation quality, boosting BLEU-1 scores from 44.2 to 61.8.

What Problem Does This Paper Address?

Detecting explicit hate speech is relatively straightforward, and feature-attribution tools like LIME or SHAP can easily highlight the specific offensive words used. However, implicit hate speech is much trickier. It relies on coded language, stereotypes, and subtext rather than outright slurs.

To help users and moderators understand why a piece of text is harmful, AI systems need to generate Natural Language Explanations (NLEs). While autoregressive language models can generate these explanations, previous approaches didn't use structured prompting, leading to suboptimal results. Furthermore, traditional evaluation metrics like BLEU and ROUGE struggle to accurately score the quality of these explanations because they focus on exact word overlaps rather than semantic meaning.

Methods

Inspired by Chain-of-Thought prompting, the authors propose the Chain of Explanation (CoE) prompting method. Instead of asking a model to generate an explanation directly from a tweet, CoE breaks the task down into a structured sequence of reasoning steps:

  1. Heuristic Context: Introduces the input text (e.g., "Given Text: [tweet]").
  2. Intent Demonstration: Explicitly states the hateful nature ("Is the text hateful? Yes").
  3. Target Group Identification: Specifies who is being targeted ("The target group is: [target]").
  4. Explanation Generation: Prompts the final NLE ("It is hateful because: [explanation]").

The authors benchmarked this prompt structure across several mainstream language models, including autoregressive models (GPT-2, GPT-Neo, OPT) and sequence-to-sequence (Seq2Seq) models (BART, T5).

Datasets

The models were trained and evaluated using the LatentHatred dataset. This dataset contains 6,358 implicit hateful tweets, each meticulously annotated with:

  • The specific hate category.
  • The target group (e.g., specific ethnicities, genders, or immigrant groups).
  • The implied statement (the ground-truth explanation of the implicit harm).

Key Insights and Ideas

  • The Target Group is the Secret Sauce: Knowing who is being attacked is the single most critical piece of context for the model. The prompt's performance hinges heavily on this information.
  • Confirming Intent Prevents Hallucination: Explicitly stating that the text is hateful acts as a guardrail, ensuring the model focuses on generating a meaningful explanation rather than questioning whether the text is actually benign.
  • Word Overlap Metrics are Flawed for NLEs: Traditional metrics like BLEU and ROUGE correlate poorly with human judgments of clarity and informativeness. Modern embedding-based metrics (like BLEURT and NUBIA) are far better suited for evaluating generated explanations.

Key Results

The CoE prompting method yielded massive performance gains across all tested models.

Table 2: Evaluation of the generated explanation in comparison with baseline models. The first row shows the experiment result reported in [7]. Different columns represent the different auto-evaluation metrics: BLEU unigram (B1), BLEU bigram (B2), Meteor (M), NIST(NI), f1-score of Rouge-1 (R1), Rouge-2 (R2), and Rouge-L (R-L), SARI (S), f1-score of the BERTScore (BS), BLEURT (BL), and NUBIA (NU).

As shown in Table 2, the Seq2Seq model BART emerged as the top performer. With CoE prompting, BART's BLEU-1 score jumped from a baseline of 43.2 to 61.8, and its Rouge-L score improved from 33.1 to 52.6.

An example of the generated outputs can be seen below, showcasing how CoE models align much closer to human ground truth:

An example of generated explanations.

To prove which parts of the prompt mattered most, the authors ran an ablation study (Table 3). Removing the target group information caused the BLEU-1 score to plummet by 16.3 points, confirming its status as the most vital component of the prompt.

The ablation test results of the chain of explanation prompt design for the Seq2Seq model BART.

Finally, the authors analyzed how automatic metrics correlate with human evaluations of Informativeness and Clarity (Table 4). They found that BLEURT and NUBIA had the highest correlation with human scores, while word-matching metrics like SARI performed the worst.

Spearman Rank Correlation between automatic and human evaluation metrics.

Limitations and Future Work

A major inherent risk of this work is that a model tasked with explaining hate speech must inherently process and sometimes generate toxic concepts. This can expose end-users or content moderators to additional psychological stress.

The authors suggest that future work should focus on developing shepherding systems—safety layers that can filter out or rewrite overly toxic generated explanations into non-hateful, objective language without losing the core explanatory meaning.

Summary updated

BibTeX
@misc{huang2022chain,
  author = {Fan Huang and Haewoon Kwak and Jisun An},
  title = {{Chain of Explanation: New Prompting Method to Generate Higher Quality Natural Language Explanation for Implicit Hate Speech}},
  year = {2022},
  eprint = {2209.04889},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.04889},
}
Figure