Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detection
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 612
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
- 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 476
26 more
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
- 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 216
- 2016Ex Machina: Personal Attacks Seen at Scalecited by 210
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2019Feature relevance quantification in explainable AI: A causal problemcited by 167
- 2018Reducing Gender Bias in Abusive Language Detectioncited by 152
- 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
- 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
- 2020Enabling Language Models to Fill in the Blankscited by 122
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
- 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 87
- 2020Aligning Faithful Interpretations with their Social Attributioncited by 79
- 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
- 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 65
- 2021Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactualscited by 55
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2020Interpretation of NLP models through input marginalizationcited by 44
- 2020Confronting Abusive Language Online: A Survey from the Ethical and Human Rights Perspectivecited by 43
- 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
- 2020On Cross-Dataset Generalization in Automatic Detection of Online Abusecited by 20
- 2020Considering Likelihood in NLP Classification Explanations with Occlusion and Language Modelingcited by 11
- 2021Double Trouble: How to not explain a text classifier's decisions using counterfactuals synthesized by masked language models?cited by 5
Built on by
Citing papers per year: 2022: 3; 2023: 4; 2024: 4; 2025: 3; 2026: 4.
18 papers.
Sort:
By area:
- 2024Recent Advances in Hate Speech Moderation: Multimodality and the Role of Large Modelscited by 26
- 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Modelscited by 20
- 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
- 2022Explainable Abuse Detection as Intent Classification and Slot Fillingcited by 11
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanationscited by 11
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speechcited by 11
- 2022Towards Procedural Fairness: Uncovering Biases in How a Toxic Language Classifier Uses Sentiment Informationcited by 6
- 2025Mechanistic Interpretability Needs Philosophycited by 6
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
- 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Modelscited by 2
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
6 more
- 2024ERAS: Evaluating the Robustness of Chinese NLP Models to Morphological Garden Path Errorscited by 1
- 2025Promoting Security and Trust on Social Networks: Explainable Cyberbullying Detection Using Large Language Models in a Stream-Based Machine Learning Frameworkcited by 0
- 2025Synthetic Homes: A Multimodal Generative AI Pipeline for Residential Building Data Generation under Data Scarcitycited by 0
- 2026Necessary or Sufficient? Evaluating LLM Explanations With Behavioural Evidencecited by 0
- 2026Regional Explanations via Causal Sufficiency and Necessitycited by 0
- 2026Does a model's stated reason for rejecting a candidate do any work?cited by 0
- 2026Does a model's stated reason for rejecting a candidate do any work?24 Sep 2026
- 2026Regional Explanations via Causal Sufficiency and Necessity16 Sep 2026
- 2026Necessary or Sufficient? Evaluating LLM Explanations With Behavioural Evidence4 Sep 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2025Synthetic Homes: A Multimodal Generative AI Pipeline for Residential Building Data Generation under Data Scarcity11 Sep 2025
- 2025Mechanistic Interpretability Needs Philosophy23 Jun 2025
- 2025Promoting Security and Trust on Social Networks: Explainable Cyberbullying Detection Using Large Language Models in a Stream-Based Machine Learning Framework7 Apr 2025
- 2024ERAS: Evaluating the Robustness of Chinese NLP Models to Morphological Garden Path Errors16 Oct 2024
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speech6 Jun 2024
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detection3 Feb 2024
- 2024Recent Advances in Hate Speech Moderation: Multimodality and the Role of Large Models30 Jan 2024
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations9 Oct 2023
6 more
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifiers4 Jul 2023
- 2023Towards Trustworthy Explanation: On Causal Rationalization25 Jun 2023
- 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Models29 May 2023
- 2022Towards Procedural Fairness: Uncovering Biases in How a Toxic Language Classifier Uses Sentiment Information19 Oct 2022
- 2022Explainable Abuse Detection as Intent Classification and Slot Filling6 Oct 2022
- 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Models8 Jun 2022
- 2025Mechanistic Interpretability Needs Philosophycited by 6
- 2025Mechanistic Interpretability Needs Philosophy23 Jun 2025
- 2024Recent Advances in Hate Speech Moderation: Multimodality and the Role of Large Modelscited by 26
- 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Modelscited by 20
- 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
- 2022Explainable Abuse Detection as Intent Classification and Slot Fillingcited by 11
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanationscited by 11
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speechcited by 11
- 2022Towards Procedural Fairness: Uncovering Biases in How a Toxic Language Classifier Uses Sentiment Informationcited by 6
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
- 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Modelscited by 2
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
- 2024ERAS: Evaluating the Robustness of Chinese NLP Models to Morphological Garden Path Errorscited by 1
12 most cited of 17 All 17 (JSON)
- 2026Does a model's stated reason for rejecting a candidate do any work?24 Sep 2026
- 2026Regional Explanations via Causal Sufficiency and Necessity16 Sep 2026
- 2026Necessary or Sufficient? Evaluating LLM Explanations With Behavioural Evidence4 Sep 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2025Synthetic Homes: A Multimodal Generative AI Pipeline for Residential Building Data Generation under Data Scarcity11 Sep 2025
- 2025Promoting Security and Trust on Social Networks: Explainable Cyberbullying Detection Using Large Language Models in a Stream-Based Machine Learning Framework7 Apr 2025
- 2024ERAS: Evaluating the Robustness of Chinese NLP Models to Morphological Garden Path Errors16 Oct 2024
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speech6 Jun 2024
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detection3 Feb 2024
- 2024Recent Advances in Hate Speech Moderation: Multimodality and the Role of Large Models30 Jan 2024
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations9 Oct 2023
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifiers4 Jul 2023
12 newest of 17 All 17 (JSON)