mlsanityData to 7 Oct 2026

Probing LLMs for hate speech detection: strengths and vulnerabilities

arXiv 2310.12860 ↗First posted 19 Oct 2023cs.CL cs.CYcited by 52

Not on the map. Why?

Abstract (arXiv)

Recently efforts have been made by social media platforms as well as researchers to detect hateful or toxic language using large language models. However, none of these works aim to use explanation, additional context and victim community information in the detection process. We utilise different prompt variation, input information and evaluate large language models in zero shot setting (without adding any in-context examples). We select three large language models (GPT-3.5, text-davinci and Flan-T5) and three datasets - HateXplain, implicit hate and ToxicSpans. We find that on average including the target information in the pipeline improves the model performance substantially (~20-30%) over the baseline across the datasets. There is also a considerable effect of adding the rationales/explanations into the pipeline (~10-20%) over the baseline across the datasets. In addition, we further provide a typology of the error cases where these large language models fail to (i) classify and (ii) explain the reason for the decisions they take. Such vulnerable points automatically constitute 'jailbreak' prompts for these models and industry scale safeguard techniques need to be developed to make the models robust against such prompts.

Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). Builds on 14 of its 22 references that are in the map. First posted on arXiv 19 Oct 2023.

Builds on

14 of 22 references.

References · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2023Benchmarking Large Language Models for News Summarizationcited by 444
  6. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  7. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  8. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 262
  9. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
  10. 2019Explainable Machine Learning in Deploymentcited by 210
  11. 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 165
  12. 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
2 more
  1. 2017Latent Dirichlet Allocation (LDA) and Topic modeling: models, applications, a surveycited by 90
  2. 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 88

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 20; 2025: 24; 2026: 8.

52 papers.

Sort:

By area:

  1. 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?cited by 81
  2. 2024DELL: Generating Reactions and Explanations for LLM-Based Misinformation Detectioncited by 41
  3. 2024Content Moderation by LLM: From Accuracy to Legitimacycited by 30
  4. 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detectioncited by 24
  5. 2024Hate Personified: Investigating the role of LLMs in content moderationcited by 23
  6. 2025LLaMAs Have Feelings Too: Unveiling Sentiment and Emotion Representations in LLaMA Models Through Probingcited by 14
  7. 2025Is LLM an Overconfident Judge? Unveiling the Capabilities of LLMs in Detecting Offensive Language with Annotation Disagreementcited by 13
  8. 2024Multilingual and Explainable Text Detoxification with Parallel Corporacited by 12
  9. 2024Exploring the Limits of Zero Shot Vision Language Models for Hate Meme Detection: The Vulnerabilities and their Interpretationscited by 10
  10. 2024Dialectal Toxicity Detection: Evaluating LLM-as-a-Judge Consistency Across Language Varietiescited by 10
  11. 2024DESTEIN: Navigating Detoxification of Language Models via Universal Steering Pairs and Head-wise Activation Fusioncited by 9
  12. 2024Re-examining Sexism and Misogyny Classification with Annotator Attitudescited by 7
38 more
  1. 2025Can Prompting LLMs Unlock Hate Speech Detection across Languages? A Zero-shot and Few-shot Studycited by 7
  2. 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speechcited by 6
  3. 2025A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performancecited by 6
  4. 2025LLM-C3MOD: A Human-LLM Collaborative System for Cross-Cultural Hate Speech Moderationcited by 5
  5. 2026Eliciting Numerical Predictive Distributions of LLMs Without Autoregressioncited by 5
  6. 2024HateCOT: An Explanation-Enhanced Dataset for Generalizable Offensive Speech Detection via Large Language Modelscited by 4
  7. 2024Label-aware Hard Negative Sampling Strategies with Momentum Contrastive Learning for Implicit Hate Speech Detectioncited by 4
  8. 2024Benchmarking LLMs in Political Content Text-Annotation: Proof-of-Concept with Toxicity and Incivility Datacited by 4
  9. 2024Instruction Tuning Vs. In-Context Learning: Revisiting Large Language Models in Few-Shot Computational Social Sciencecited by 4
  10. 2025Distilling Knowledge from Large Language Models: A Concept Bottleneck Model for Hate and Counter Speech Recognitioncited by 4
  11. 2024MMIDR: Teaching Large Language Model to Interpret Multimodal Misinformation via Knowledge Distillationcited by 3
  12. 2025Evaluation of Hate Speech Detection Using Large Language Models and Geographical Contextualizationcited by 3
  13. 2025Evaluating Large Language Models for Detecting Antisemitismcited by 3
  14. 2024Cross-lingual Offensive Language Detection: A Systematic Review of Datasets, Transfer Approaches and Challengescited by 2
  15. 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?cited by 2
  16. 2025Bridging Gaps in Hate Speech Detection: Meta-Collections and Benchmarks for Low-Resource Iberian Languagescited by 2
  17. 2024PclGPT: A Large Language Model for Patronizing and Condescending Language Detectioncited by 1
  18. 2024Exploring Large Language Models for Hate Speech Detection in Rioplatense Spanishcited by 1
  19. 2025From Monolingual to Bilingual: Investigating Language Conditioning in Large Language Models for Psycholinguistic Taskscited by 1
  20. 2025Mapping Toxic Comments Across Demographics: A Dataset from German Public Broadcastingcited by 1
  21. 2025Black Box Absorption: LLMs Undermining Innovative Ideascited by 1
  22. 2025Can LLMs Evaluate What They Cannot Annotate? Revisiting LLM Reliability in Hate Speech Detectioncited by 1
  23. 2026X-MuTeST: A Multilingual Benchmark for Explainable Hate Speech Detection and A Novel LLM-consulted Explanation Frameworkcited by 1
  24. 2024HateDebias: On the Diversity and Variability of Hate Speech Debiasingcited by 0
  25. 2025Decoding Islamophobic Discourse: Using LLMs to Identify Tropes and Semi-Coded Hate Speechcited by 0
  26. 2025Large Language Models for Toxic Language Detection in Low-Resource Balkan Languagescited by 0
  27. 2025PromptAug: Fine-grained Conflict Classification Using Data Augmentationcited by 0
  28. 2025STEMTOX: From Collaborative Tags to Fine-Grained Toxic Meme Detection via Entropy-Guided Multi-Task Learningcited by 0
  29. 2025WATCHED: A Web AI Agent Tool for Combating Hate Speech by Expanding Datacited by 0
  30. 2025SMARTER: A Data-efficient Framework to Improve Toxicity Detection with Explanation via Self-augmenting Large Language Modelscited by 0
  31. 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?cited by 0
  32. 2025Leveraging LLMs for Context-Aware Implicit Textual and Multimodal Hate Speech Detectioncited by 0
  33. 2025From Insight to Exploit: Leveraging LLM Collaboration for Adaptive Adversarial Text Generationcited by 0
  34. 2025LLM-based Few-Shot Early Rumor Detection with Imitation Agentcited by 0
  35. 2026Fine-grained Verbal Attack Detection via a Hierarchical Divide-and-Conquer Frameworkcited by 0
  36. 2026HateXScore: A Metric Suite for Evaluating Reasoning Quality in Hate Speech Explanationscited by 0
  37. 2026DART: Mitigating Harm Drift in Difference-Aware LLMs via Distill-Audit-Repair Trainingcited by 0
  38. 2026Cyberbullying Governance on Social Media: A Unified Framework from Content Identification to Interventioncited by 0

50 most cited of 52 All 52 (JSON)