Outcome-Constrained Large Language Models for Countering Hate Speech

Lingzi Hong, Pengcheng Luo, Eduardo Blanco, Xiaoying SongEMNLP 2024

Abstract

Automatic counterspeech generation has traditionally focused on linguistic attributes like politeness and informativeness. However, a polite response that fails to de-escalate a toxic conversation is of limited utility. This paper proposes a shift toward outcome-oriented generation, where models are explicitly optimized to achieve positive social results, such as reducing thread incivility and encouraging non-hateful reentry from original posters. By evaluating instruction prompting, finetuning, and reinforcement learning (RL) on Reddit data, the authors demonstrate that RL-based models can effectively balance outcome success with natural conversational quality.

Introduction: From Style to Outcome

Hate speech remains a significant challenge for online platforms. Counterspeech—direct, constructive responses to hateful content—is a vital tool for mitigation. While previous research has successfully automated the generation of polite and informative counterspeech, these models often ignore the long-term trajectory of the conversation.

Conceptual framework of outcome-oriented counterspeech, focusing on follow-up conversation metrics like incivility and hater reentry.

The authors argue that the true measure of counterspeech is its impact on the subsequent dialogue. As shown in Figure 1, the goal is to generate a response ($u_2$) that leads to a "Follow-up conversation" characterized by low incivility and, if the original hater ($u_1$) returns, non-hateful behavior.

Methodology

The study utilizes the Llama2-7b-chat model and explores three distinct strategies to incorporate outcome constraints:

  1. Instruction Prompting: Models are prompted to generate replies specifically aimed at low incivility. A "Generate and Select" approach was also tested, using a classifier to pick the best candidate from multiple outputs.
  2. Finetuning (LoRA): The model is fine-tuned on historical Reddit data where counterspeech naturally led to positive outcomes.
  3. Reinforcement Learning (RL): Using Proximal Policy Optimization (PPO), the model is trained with a reward signal provided by RoBERTa-based Outcome Classifiers. These classifiers predict the likelihood of positive conversation outcomes based on the generated response.

Key Results

The experimental results highlight a clear trade-off between hitting outcome targets and maintaining conversational naturalness.

Performance comparison of different generation methods across validity, desired outcomes (Civility and Reentry), and similarity metrics.

As detailed in Figure 3, Reinforcement Learning proved highly effective for the "Civility" task, achieving a predicted success rate of 77%, a massive improvement over the 23% baseline. While instruction prompting (especially with "Generate and Select") also reached high outcome scores, human evaluators noted that these models often produced overly long, "essay-like" responses that felt unnatural in a social media context.

In contrast, RL and finetuned models maintained better text quality. RL models achieved the highest GRUEN scores (ranging from 0.71 to 0.87), indicating superior grammaticality and lower redundancy. Human evaluation further confirmed this, with the finetuned (0.80) and RL (0.74) models receiving much higher "Suitability" ratings than prompted models (0.50).

Discussion and Limitations

A significant finding is that predicting "Hater Reentry" is considerably more difficult than predicting general thread incivility. The classifiers used for RL rewards, while functional, have F1 scores between 0.61 and 0.66, suggesting that "noisy" reward signals remain a bottleneck for performance.

Furthermore, the study's reliance on Reddit data means the results may not perfectly generalize to platforms with different norms. Future work should focus on developing more robust, context-aware classifiers and exploring multi-modal signals to better capture the nuances of online social dynamics.

Conclusion

This research demonstrates that LLMs can be successfully steered toward specific social outcomes in counterspeech. By moving beyond linguistic surface features to conversational impact, AI can become a more effective tool for fostering civil online discourse.

Summary updated

BibTeX
@inproceedings{hong2024outcome,
  author = {Lingzi Hong and Pengcheng Luo and Eduardo Blanco and Xiaoying Song},
  title = {{Outcome-Constrained Large Language Models for Countering Hate Speech}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.260},
}
Figure