Conference item
HateCheck: functional tests for hate speech detection models
- Abstract:
- 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.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 347.4KB, Terms of use)
-
- Publisher copy:
- 10.18653/v1/2021.acl-long.4
Authors
+ Engineering and Physical Sciences Research Council
More from this funder
- Funding agency for:
- Vidgen, B
- Margetts, H
- Pierrehumbert, JB
- Grant:
- EP/T001569/1
- EP/T023333/1
- Publisher:
- Association for Computational Linguistics
- Host title:
- Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)
- Pages:
- 41-58
- Publication date:
- 2021-07-27
- Acceptance date:
- 2021-05-05
- Event title:
- 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (ACL-IJCNLP 2021)
- Event location:
- Bangkok, Thailand
- Event website:
- https://2021.aclweb.org/
- Event start date:
- 2021-08-01
- Event end date:
- 2021-08-05
- DOI:
- Language:
-
English
- Pubs id:
-
1206189
- Local pid:
-
pubs:1206189
- Deposit date:
-
2024-01-09
- ARK identifier:
Terms of use
- Copyright holder:
- Association for Computational Linguistics
- Copyright date:
- 2021
- Rights statement:
- © 2021 Association for Computational Linguistics. Materials published in or after 2016 are licensed on a Creative Commons Attribution 4.0 International License.
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record