Using Pre-Trained Language Models for Producing Counter Narratives Against Hate Speech: a Comparative Study

Serra Sinem Tekiroglu, Helena Bonaldi, Margherita Fanton, Marco GueriniACL 2022

Introduction

The standard industry response to online hate speech is "identify and remove." However, this approach is often criticized as censorship and can inadvertently harden extremist attitudes. An alternative strategy is the use of Counter Narratives (CNs): responses aimed at refuting hate speech with thoughtful, fact-bound arguments. While effective, manually writing these responses is difficult to scale. This study, presented at ACL 2022, systematically compares five pre-trained language models and various decoding strategies to automate high-quality CN generation.

Methodology

The researchers evaluated five Transformer-based architectures: BERT (Encoder-only), GPT-2 and DialoGPT (Autoregressive), and BART and T5 (Encoder-Decoder). These models were tested using both deterministic (Beam Search) and stochastic (Top-k, Top-p) decoding mechanisms.

Overview of the counter-narrative generation process using language models.

A key innovation in this work is the Automatic Post-Editing (APE) pipeline. Instead of relying on a single model's output, a second model acts as an "editor," refining the initial draft to better match human standards of quality and specificity. The models were trained on a dataset of 5,003 <Hate Speech, Counter Narrative> pairs collected via a human-in-the-loop process with expert NGO operators (Fanton et al., 2021).

Key Insights: The Safety vs. Novelty Trade-off

A central finding of the study is the inherent trade-off between "safety" and "novelty" in text generation. Deterministic methods like Beam Search produce grammatically correct and safe outputs, but these are often generic and repetitive (e.g., "We are all human"). In contrast, stochastic decoding (like Top-k) produces more specific and novel arguments, which are more effective for counter-speech but carry a higher risk of hallucination.

Correlation between novelty and standard overlap metrics (ROUGE, BLEU) across different decoding strategies.

As shown in the evaluation metrics, there is a clear negative correlation between novelty and traditional overlap metrics like ROUGE and BLEU. Models that achieve higher novelty scores tend to diverge more from the reference text, which is often desirable for generating diverse and persuasive arguments rather than "canned" responses.

Results and Performance

  • Model Preference: In head-to-head evaluations, GPT-2 and DialoGPT generally outperformed Seq2Seq models in producing specific and suitable arguments.
  • Grammaticality: While BART produced the most grammatically correct text (4.94/5), its responses were frequently seen as too generic.
  • Post-Editing Impact: Human annotators preferred post-edited CNs 37% of the time, compared to only 19% for raw GPT-2 output, demonstrating the value of the APE pipeline.
  • Target Portability: Models generalized well between semantically similar targets (e.g., from hate against Muslims to hate against Jews) but struggled when moving between unrelated categories like religion and gender.

Conclusion

This comparative study demonstrates that autoregressive models paired with stochastic decoding and post-editing pipelines can produce effective counter-narratives. However, the authors emphasize that these systems should currently serve as suggestion tools for human operators rather than fully autonomous bots, ensuring that the final output remains factually grounded and persuasive.

Reference: Tekiroğlu, S. S., Bonaldi, H., Fanton, M., & Guerini, M. (2022). Using Pre-Trained Language Models for Producing Counter Narratives Against Hate Speech: a Comparative Study. Findings of the Association for Computational Linguistics: ACL 2022, 3099–3114.

Summary updated

BibTeX
@inproceedings{tekiroglu2022using,
  author = {Serra Sinem Tekiroglu and Helena Bonaldi and Margherita Fanton and Marco Guerini},
  title = {{Using Pre-Trained Language Models for Producing Counter Narratives Against Hate Speech: a Comparative Study}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.245},
}
Figure