HateModerate: Testing Hate Speech Detectors against Content Moderation Policies

Jiangrui Zheng, Xueqing Liu, Guanqun Yang, Mirazul Haque, Xing Qian +3 more
7/23/2023
cs.SEcs.CL

No official code found. Best implementation: stevens-textmining/HateModerate (4 stars, last commit 2024-05-01).

Abstract

To protect users from massive hateful content, existing works studied automated hate speech detection. Despite the existing efforts, one question remains: do automated hate speech detectors conform to social media content policies? A platform's content policies are a checklist of content moderated by the social media platform. Because content moderation rules are often uniquely defined, existing hate speech datasets cannot directly answer this question. This work seeks to answer this question by creating HateModerate, a dataset for testing the behaviors of automated content moderators against content policies. First, we engage 28 annotators and GPT in a six-step annotation process, resulting in a list of hateful and non-hateful test suites matching each of Facebook's 41 hate speech policies. Second, we test the performance of state-of-the-art hate speech detectors against HateModerate, revealing substantial failures these models have in their conformity to the policies. Third, using HateModerate, we augment the training data of a top-downloaded hate detector on HuggingFace. We observe significant improvement in the models' conformity to content policies while having comparable scores on the original test data. Our dataset and code can be found in the attachment.

View on arXivView PDF

Code Implementations(1)

NAACL 2024 Findings

41Shell, PythonMar 19, 20242 years ago

Similar Papers

Cite this paper

@article{zheng2023hatemoderate,
  title  = {HateModerate: Testing Hate Speech Detectors against Content Moderation Policies},
  author = {Jiangrui Zheng and Xueqing Liu and Guanqun Yang and Mirazul Haque and Xing Qian and Ravishka Rathnasuriya and Wei Yang and Girish Budhrani},
  year   = {2023},
  eprint = {2307.12418},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.12418v2}
}

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/2307.12418.svg)](https://codeofpaper.com/paper/2307.12418)

Discussion