HARE: Explainable Hate Speech Detection with Step-by-Step Reasoning

Yongjin Yang,Joonkee Kim,Yujin Kim,Namgyu Ho,James Thorne,Se-young Yun
2023-11-22
Abstract:With the proliferation of social media, accurate detection of hate speech has become critical to ensure safety online. To combat nuanced forms of hate speech, it is important to identify and thoroughly explain hate speech to help users understand its harmful effects. Recent benchmarks have attempted to tackle this issue by training generative models on free-text annotations of implications in hateful text. However, we find significant reasoning gaps in the existing annotations schemes, which may hinder the supervision of detection models. In this paper, we introduce a hate speech detection framework, HARE, which harnesses the reasoning capabilities of large language models (LLMs) to fill these gaps in explanations of hate speech, thus enabling effective supervision of detection models. Experiments on SBIC and Implicit Hate benchmarks show that our method, using model-generated data, consistently outperforms baselines, using existing free-text human annotations. Analysis demonstrates that our method enhances the explanation quality of trained models and improves generalization to unseen datasets. Our code is available at <a class="link-external link-https" href="https://github.com/joonkeekim/hare-hate-speech.git" rel="external noopener nofollow">this https URL</a>.
Computation and Language
What problem does this paper attempt to address?
The problem this paper attempts to address is: in the context of widespread use of social media, how to accurately detect and interpret hate speech, especially those in subtle forms. Existing methods can classify explicit hate speech but have significant logical reasoning gaps in understanding and interpreting implicit hate speech, leading to limited model performance. Therefore, this paper proposes a new framework—HARE (Explainable Hate Speech Detection with Step-by-Step Reasoning), which utilizes large language models (LLMs) to generate detailed reasoning steps to fill these logical gaps, thereby improving the performance and interpretability of hate speech detection models. Specifically, the paper focuses on the following aspects: 1. **Identifying and interpreting hate speech**: It is not only necessary to accurately identify hate speech but also to provide an interpretable reasoning process to help users understand its potential harm. 2. **Filling logical reasoning gaps in existing annotation schemes**: Existing annotation schemes have issues with logical inconsistency when explaining hate speech, affecting the model's supervision effectiveness. 3. **Improving the model's generalization ability**: By generating high-quality reasoning steps, the model can perform well on unseen datasets. To achieve these goals, the paper proposes two methods: - **Fr-HARE**: Fully relies on large language models to automatically generate reasoning steps. - **Co-HARE**: Combines human-annotated reasoning steps to generate reasoning steps that better fit the characteristics of the dataset. Through experimental validation, the HARE framework demonstrates superior performance over baseline methods across multiple datasets and generates higher quality explanations.