Reproduce “HateCheck: Functional Tests for Hate Speech Detection Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Paul Röttger, Bertram Vidgen, Dong Nguyen, Zeerak Waseem, Helen Margetts, Janet B. Pierrehumbert

Researchers from the University of Oxford, The Alan Turing Institute, Utrecht University, and the University of Sheffield introduced HATECHECK, a diagnostic test suite designed to pinpoint specific vulnerabilities in hate speech detection models. Their evaluation demonstrated that tested models often misclassify non-hateful content like reclaimed slurs and counter speech, and exhibit inconsistent performance across different protected groups, revealing limitations obscured by traditional aggregate evaluation metrics.

Key insights

  • Evaluated models exhibited an oversensitivity to specific keywords, particularly slurs, leading them to misclassify contextually nuanced content such as reclaimed slurs.
  • Models consistently struggled with non-hateful content that shares linguistic features with hate, like negated hateful statements and counter speech, indicating a failure to process reframing linguistic signals.
  • Significant 'unintended biases' were observed, with transformer models showing differential performance across various protected groups, implying uneven protection against hate speech.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.