mlsanityData to 14 Oct 2026

Concept-Based Interpretability for Toxicity Detection

arXiv 2511.16689 ↗First posted 15 Nov 2025cs.CL cs.AIcited by 1

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

The rise of social networks has not only facilitated communication but also allowed the spread of harmful content. Although significant advances have been made in detecting toxic language in textual data, the exploration of concept-based explanations in toxicity detection remains limited. In this study, we leverage various subtype attributes present in toxicity detection datasets, such as obscene, threat, insult, identity attack, and sexual explicit as concepts that serve as strong indicators to identify whether language is toxic. However, disproportionate attribution of concepts towards the target class often results in classification errors. Our work introduces an interpretability technique based on the Concept Gradient (CG) method which provides a more causal interpretation by measuring how changes in concepts directly affect the output of the model. This is an extension of traditional gradient-based methods in machine learning, which often focus solely on input features. We propose the curation of Targeted Lexicon Set, which captures toxic words that contribute to misclassifications in text classification models. To assess the significance of these lexicon sets in misclassification, we compute Word-Concept Alignment (WCA) scores, which quantify the extent to which these words lead to errors due to over-attribution to toxic concepts. Finally, we introduce a lexicon-free augmentation strategy by generating toxic samples that exclude predefined toxic lexicon sets. This approach allows us to examine whether over-attribution persists when explicit lexical overlap is removed, providing insights into the model's attribution on broader toxic language patterns.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 22 of its 47 references that are in the map. First posted on arXiv 15 Nov 2025.

Builds on

22 of 47 references.

References · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  4. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
  5. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
  6. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
  7. 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
  8. 2019On Completeness-aware Concept-Based Explanations in Deep Neural Networkscited by 239
  9. 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 207
  10. 2020SemEval-2020 Task 12: Multilingual Offensive Language Identification in Social Media (OffensEval 2020)cited by 138
  11. 2023GPTEval: A Survey on Assessments of ChatGPT and GPT-4cited by 73
  12. 2020Demoting Racial Bias in Hate Speech Detectioncited by 62
10 more
  1. 2020Stereotypical Bias Removal for Hate Speech Detection Task using Knowledge-based Generalizationscited by 40
  2. 2016Rationale-Augmented Convolutional Neural Networks for Text Classificationcited by 39
  3. 2019Regression Concept Vectors for Bidirectional Explanations in Histopathologycited by 31
  4. 2022Hierarchical Attention Network for Explainable Depression Detection on Twitter Aided by Metaphor Concept Mappingscited by 23
  5. 2022Concept Gradient: Concept-based Interpretation Without Linear Assumptioncited by 20
  6. 2022Improving Generalizability in Implicitly Abusive Language Detection with Concept Activation Vectorscited by 14
  7. 2021ToxCCIn: Toxic Content Classification with Interpretabilitycited by 10
  8. 2021BERT-Based Sentiment Analysis: A Software Engineering Perspectivecited by 9
  9. 2020GUIR at SemEval-2020 Task 12: Domain-Tuned Contextualized Models for Offensive Language Detectioncited by 6
  10. 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Something Just Like TRuST : Toxicity Recognition of Span and Target
  2. 2025Rethinking Toxicity Evaluation in Large Language Models: A Multi-Label Perspective
  3. 2025SMARTER: A Data-efficient Framework to Improve Toxicity Detection with Explanation via Self-augmenting Large Language Models
  4. 2024ToxiCraft: A Novel Framework for Synthetic Generation of Harmful Information
  5. 2021Toxicity Detection can be Sensitive to the Conversational Context
  6. 2024Toxicity of the Commons: Curating Open-Source Pre-Training Data
  7. 2024Efficient Detection of Toxic Prompts in Large Language Models
  8. 2024ToXCL: A Unified Framework for Toxic Speech Detection and Explanation