HateCheck: Functional Tests for Hate Speech Detection Models
Paul Röttger, Bertie Vidgen, Dong Nguyen, Zeerak Waseem, Helen Z. Margetts, Janet B. Pierrehumbert
摘要
Detecting online hate is a difficult task that even state-of-the-art models struggle with. Typically, hate speech detection models are evaluated by measuring their performance on held-out test data using metrics such as accuracy and F1 score. However, this approach makes it difficult to identify specific model weak points. It also risks overestimating generalisable model performance due to increasingly well-evidenced systematic gaps and biases in hate speech datasets. To enable more targeted diagnostic insights, we introduce HATECHECK, a suite of functional tests for hate speech detection models. We specify 29 model functionalities motivated by a review of previous research and a series of interviews with civil society stakeholders. We craft test cases for each functionality and validate their quality through a structured annotation process. To illustrate HATECHECK's utility, we test near-state-of-the-art transformer models as well as two popular commercial models, revealing critical model weaknesses.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 52 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Adversarial NLI: A New Benchmark for Natural Language Understanding 引用了 Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
- Evaluating Models' Local Decision Boundaries via Contrast Sets 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
- Evaluating Models' Local Decision Boundaries via Contrast Sets 引用了 Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
- Evaluating Models' Local Decision Boundaries via Contrast Sets 引用了 Predictive Biases in Natural Language Processing Models: A Conceptual Framework and Overview
- Perturbation Augmentation for Fairer NLP 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
- Perturbation Augmentation for Fairer NLP 引用了 Dynaboard: An Evaluation-As-A-Service Platform for Holistic Next-Generation Benchmarking
- Red Teaming Language Models with Language Models 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
- Dynaboard: An Evaluation-As-A-Service Platform for Holistic Next-Generation Benchmarking 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
- Dynaboard: An Evaluation-As-A-Service Platform for Holistic Next-Generation Benchmarking 引用了 Beyond Accuracy: Behavioral Testing of NLP Models with CheckList
引用它的顶会 Paper52
- Red Teaming Language Models with Language ModelsEthan Perez, Saffron Huang, H. Francis Song, Trevor Cai 等EMNLP 2022 · 239 次引用
- Dynaboard: An Evaluation-As-A-Service Platform for Holistic Next-Generation BenchmarkingZhiyi Ma, Kawin Ethayarajh, Tristan Thrush, Somya Jain 等NeurIPS 2021 · 76 次引用
- You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic ContentXinlei He, Savvas Zannettou, Yun Shen, Yang ZhangS&P 2024 · 74 次引用
- Is Your Toxicity My Toxicity? Exploring the Impact of Rater Identity on Toxicity AnnotationNitesh Goyal, Ian D. Kivlichan, Rachel Rosen, Lucy VassermanCSCW 2022 · 74 次引用
- Perturbation Augmentation for Fairer NLPRebecca Qian, Candace Ross, Jude Fernandes, Eric Michael Smith 等EMNLP 2022 · 54 次引用
它引用的 Paper9
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 次引用
- Adversarial NLI: A New Benchmark for Natural Language UnderstandingYixin Nie, Adina Williams, Emily Dinan, Mohit Bansal 等ACL 2020 · 602 次引用
- Evaluating Models' Local Decision Boundaries via Contrast SetsMatt Gardner, Yoav Artzi, Victoria Basmova, Jonathan Berant 等EMNLP Findings 2020 · 260 次引用
- Predictive Biases in Natural Language Processing Models: A Conceptual Framework and OverviewDeven Shah, H. Andrew Schwartz, Dirk HovyACL 2020 · 93 次引用
- Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Túlio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer SinghACL 2020 · 51 次引用
相关 Paper
- Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate DetectionBertie Vidgen, Tristan Thrush, Zeerak Waseem, Douwe KielaACL 2021
- LJPCheck: Functional Tests for Legal Judgment PredictionYuan Zhang, Wanhong Huang, Yi Feng, Chuanyi Li 等ACL Findings 2024 · 4 次引用
- HateDay: Insights from a Global Hate Speech Dataset Representative of a Day on TwitterManuel Tonneau, Diyi Liu, Niyati Malhotra, Scott A. Hale 等ACL 2025 · 12 次引用
- HARE: Explainable Hate Speech Detection with Step-by-Step ReasoningYongjin Yang, Joonkee Kim, Yujin Kim, Namgyu Ho 等EMNLP Findings 2023 · 24 次引用
- HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate CampaignsXinyue Shen, Yixin Wu, Yiting Qu, Michael Backes 等USENIX Security 2025
