Why Is It Hate Speech? Masked Rationale Prediction for Explainable Hate Speech Detection

Jiyun Kim, Byounghan Lee, Kyung-Ah Sohn
11/1/2022
cs.CLcs.AIcs.SI

Official code: alatteaday/mrp_hate-speech-detection (15 stars, Python, last commit 2023-04-10).

Abstract

In a hate speech detection model, we should consider two critical aspects in addition to detection performance-bias and explainability. Hate speech cannot be identified based solely on the presence of specific words: the model should be able to reason like humans and be explainable.

Show full abstract

To improve the performance concerning the two aspects, we propose Masked Rationale Prediction (MRP) as an intermediate task. MRP is a task to predict the masked human rationales-snippets of a sentence that are grounds for human judgment-by referring to surrounding tokens combined with their unmasked rationales. As the model learns its reasoning ability based on rationales by MRP, it performs hate speech detection robustly in terms of bias and explainability. The proposed method generally achieves state-of-the-art performance in various metrics, demonstrating its effectiveness for hate speech detection.

View on arXivView PDF

Code Implementations(1)

151Python, Jupyter NotebookJan 28, 20233 years ago

Similar Papers

Cite this paper

@article{kim2022hate,
  title  = {Why Is It Hate Speech? Masked Rationale Prediction for Explainable Hate Speech Detection},
  author = {Jiyun Kim and Byounghan Lee and Kyung-Ah Sohn},
  year   = {2022},
  eprint = {2211.00243},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.00243}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.00243.svg)](https://codeofpaper.com/paper/2211.00243)

Discussion