mlsanityData to 14 Oct 2026

Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detection

arXiv 2205.03302 ↗First posted 6 May 2022cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

We present a novel feature attribution method for explaining text classifiers, and analyze it in the context of hate speech detection. Although feature attribution models usually provide a single importance score for each token, we instead provide two complementary and theoretically-grounded scores -- necessity and sufficiency -- resulting in more informative explanations. We propose a transparent method that calculates these values by generating explicit perturbations of the input text, allowing the importance scores themselves to be explainable. We employ our method to explain the predictions of different hate speech detection models on the same set of curated examples from a test suite, and show that different values of necessity and sufficiency for identity terms correspond to different kinds of false positive errors, exposing sources of classifier bias against marginalized groups.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 38 of its 48 references that are in the map. First posted on arXiv 6 May 2022.

Builds on

38 of 48 references.

References · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  6. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
  7. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  8. 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
  9. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
  10. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 612
  11. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
  12. 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 476
26 more
  1. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
  2. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
  3. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  4. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
  5. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
  6. 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 216
  7. 2016Ex Machina: Personal Attacks Seen at Scalecited by 210
  8. 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
  9. 2019Feature relevance quantification in explainable AI: A causal problemcited by 167
  10. 2018Reducing Gender Bias in Abusive Language Detectioncited by 152
  11. 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
  12. 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
  13. 2020Enabling Language Models to Fill in the Blankscited by 122
  14. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
  15. 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 87
  16. 2020Aligning Faithful Interpretations with their Social Attributioncited by 79
  17. 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
  18. 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 65
  19. 2021Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactualscited by 55
  20. 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
  21. 2020Interpretation of NLP models through input marginalizationcited by 44
  22. 2020Confronting Abusive Language Online: A Survey from the Ethical and Human Rights Perspectivecited by 43
  23. 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
  24. 2020On Cross-Dataset Generalization in Automatic Detection of Online Abusecited by 20
  25. 2020Considering Likelihood in NLP Classification Explanations with Occlusion and Language Modelingcited by 11
  26. 2021Double Trouble: How to not explain a text classifier's decisions using counterfactuals synthesized by masked language models?cited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 4; 2024: 4; 2025: 3; 2026: 4.

18 papers.

Sort:

By area:

  1. 2024Recent Advances in Hate Speech Moderation: Multimodality and the Role of Large Modelscited by 26
  2. 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Modelscited by 20
  3. 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
  4. 2022Explainable Abuse Detection as Intent Classification and Slot Fillingcited by 11
  5. 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanationscited by 11
  6. 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speechcited by 11
  7. 2022Towards Procedural Fairness: Uncovering Biases in How a Toxic Language Classifier Uses Sentiment Informationcited by 6
  8. 2025Mechanistic Interpretability Needs Philosophycited by 6
  9. 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3
  10. 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
  11. 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Modelscited by 2
  12. 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
6 more
  1. 2024ERAS: Evaluating the Robustness of Chinese NLP Models to Morphological Garden Path Errorscited by 1
  2. 2025Promoting Security and Trust on Social Networks: Explainable Cyberbullying Detection Using Large Language Models in a Stream-Based Machine Learning Frameworkcited by 0
  3. 2025Synthetic Homes: A Multimodal Generative AI Pipeline for Residential Building Data Generation under Data Scarcitycited by 0
  4. 2026Necessary or Sufficient? Evaluating LLM Explanations With Behavioural Evidencecited by 0
  5. 2026Regional Explanations via Causal Sufficiency and Necessitycited by 0
  6. 2026Does a model's stated reason for rejecting a candidate do any work?cited by 0