Contextualizing Hate Speech Classifiers with Post-hoc Explanation

By Brendan Kennedy, Xisen Jin, Aida Mostafazadeh Davani, Morteza Dehghani, Xiang Ren. 2020

158 citations recorded by the source corpus.

Hate speech classifiers trained on imbalanced datasets struggle to determine if group identifiers like “gay” or “black” are used in offensive or prejudiced ways. Such biases manifest in false positives when these identifiers are present, due to models’ inability to learn the contexts which constitute a hateful usage of identifiers. We extract post-hoc explanations from fine-tuned BERT classifiers to detect bias towards identity terms. Then, we propose a novel regularization technique based on these explanations that encourages models to learn from the context of group identifiers in addition to the identifiers themselves. Our approach improved over baselines in limiting false positives on out-of-domain data while maintaining and in cases improving in-domain performance.

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. Dirk Hovy
  2. Douwe Kiela
  3. Bertie Vidgen
  4. Isabelle Augenstein
  5. Eduard H. Hovy
  6. Zeerak Talat
  7. Xiang Ren
  8. Mohit Bansal

In Natural Language Processing

  1. Dirk Hovy
  2. Douwe Kiela
  3. Bertie Vidgen
  4. Zeerak Talat
  5. Isabelle Augenstein
  6. Eduard H. Hovy
  7. Shrimai Prabhumoye
  8. Xiang Ren

In Safety, Robustness & Interpretability

  1. Dirk Hovy
  2. Bertie Vidgen
  3. Federico Bianchi
  4. Douwe Kiela
  5. Zeerak Talat
  6. Tristan Thrush
  7. Shrimai Prabhumoye
  8. Eduard H. Hovy

Citations in the corpus