HateCheck: Functional Tests for Hate Speech Detection Models

By Paul Röttger, Bertram Vidgen, Dong Nguyen, Zeerak Talat, Helen Z. Margetts, Janet B. Pierrehumbert. 2020

368 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Yejin Choi
  4. Noah A. Smith
  5. Jianfeng Gao
  6. Percy Liang
  7. Quoc V. Le
  8. Graham Neubig

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Douwe Kiela
  4. Samuel R. Bowman
  5. Noah A. Smith
  6. Luke S. Zettlemoyer
  7. Graham Neubig
  8. Jason Aaron Edward Weston

In Safety, Robustness & Interpretability

  1. Adina Williams
  2. Eric Michael Smith
  3. Dirk Hovy
  4. Y-Lan Boureau
  5. Douwe Kiela
  6. Emily Dinan
  7. Gavin Abercrombie
  8. Vinodkumar Prabhakaran

Citations in the corpus