mlsanityData to 7 Oct 2026

An Investigation of Large Language Models for Real-World Hate Speech Detection

arXiv 2401.03346 ↗First posted 7 Jan 2024cs.CY cs.AI cs.CLcited by 20

Not on the map. Why?

Abstract (arXiv)

Hate speech has emerged as a major problem plaguing our social spaces today. While there have been significant efforts to address this problem, existing methods are still significantly limited in effectively detecting hate speech online. A major limitation of existing methods is that hate speech detection is a highly contextual problem, and these methods cannot fully capture the context of hate speech to make accurate predictions. Recently, large language models (LLMs) have demonstrated state-of-the-art performance in several natural language tasks. LLMs have undergone extensive training using vast amounts of natural language data, enabling them to grasp intricate contextual details. Hence, they could be used as knowledge bases for context-aware hate speech detection. However, a fundamental problem with using LLMs to detect hate speech is that there are no studies on effectively prompting LLMs for context-aware hate speech detection. In this study, we conduct a large-scale study of hate speech detection, employing five established hate speech datasets. We discover that LLMs not only match but often surpass the performance of current benchmark machine learning models in identifying hate speech. By proposing four diverse prompting strategies that optimize the use of LLMs in detecting hate speech. Our study reveals that a meticulously crafted reasoning prompt can effectively capture the context of hate speech by fully utilizing the knowledge base in LLMs, significantly outperforming existing techniques. Furthermore, although LLMs can provide a rich knowledge base for the contextual detection of hate speech, suitable prompting strategies play a crucial role in effectively leveraging this knowledge base for efficient detection.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 23 of its 38 references that are in the map. First posted on arXiv 7 Jan 2024.

Builds on

23 of 38 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2023A Survey of Large Language Modelscited by 2,537
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  8. 2020The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memescited by 485
  9. 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 472
  10. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  11. 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
  12. 2023Multilingual Machine Translation with Large Language Models: Empirical Results and Analysiscited by 156
11 more
  1. 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
  2. 2018Hate Lingo: A Target-based Linguistic Analysis of Hate Speech in Social Mediacited by 59
  3. 2021Detecting Hate Speech with GPT-3cited by 55
  4. 2020"Call me sexist, but...": Revisiting Sexism Detection Using Psychological Scales and Adversarial Samplescited by 48
  5. 2021Hate Towards the Political Opponent: A Twitter Corpus Study of the 2020 US Elections on the Basis of Offensive Speech and Stance Detectioncited by 45
  6. 2023"HOT" ChatGPT: The promise of ChatGPT in detecting and discriminating hateful, offensive, and toxic comments on social mediacited by 45
  7. 2021SWSR: A Chinese Dataset and Lexicon for Online Sexism Detectioncited by 42
  8. 2020Racism is a Virus: Anti-Asian Hate and Counterspeech in Social Media during the COVID-19 Crisiscited by 40
  9. 2023You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Contentcited by 37
  10. 2022On the Evolution of (Hateful) Memes by Means of Multimodal Contrastive Learningcited by 26
  11. 2022Chain of Explanation: New Prompting Method to Generate Higher Quality Natural Language Explanation for Implicit Hate Speechcited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 7; 2026: 7.

20 papers.

Sort:

By area:

  1. 2024HateTinyLLM : Hate Speech Detection Using Tiny Large Language Modelscited by 6
  2. 2025Echoes of Power: Investigating Geopolitical Bias in US and China Large Language Modelscited by 5
  3. 2024Words Matter: Reducing Stigma in Online Conversations about Substance Use with Large Language Modelscited by 3
  4. 2025Evaluation of Hate Speech Detection Using Large Language Models and Geographical Contextualizationcited by 3
  5. 2024Gen-AI for User Safety: A Surveycited by 2
  6. 2025Digital Guardians: Can GPT-4, Perspective API, and Moderation API reliably detect hate speech in reader comments of German online newspapers?cited by 2
  7. 2025Hope vs. Hate: Understanding User Interactions with LGBTQ+ News Content in Mainstream US News Media through the Lens of Hope Speechcited by 2
  8. 2025Artificial Conversations, Real Results: Fostering Language Detection with Synthetic Datacited by 2
  9. 2026On Theoretically-Driven LLM Agents for Multi-Dimensional Discourse Analysiscited by 1
  10. 2024Safe Guard: an LLM-agent for Real-time Voice-based Hate Speech Detection in Social Virtual Realitycited by 0
  11. 2024ContextIQ: A Multimodal Expert-Based Video Retrieval System for Contextual Advertisingcited by 0
  12. 2024MIMIC: Multimodal Islamophobic Meme Identification and Classificationcited by 0
8 more
  1. 2025SMARTER: A Data-efficient Framework to Improve Toxicity Detection with Explanation via Self-augmenting Large Language Modelscited by 0
  2. 2025LLM-based Few-Shot Early Rumor Detection with Imitation Agentcited by 0
  3. 2026LLMs-Integrated Automatic Hate Speech Recognition Using Controllable Text Generation Modelscited by 0
  4. 2026Attention-Based Offline Reinforcement Learning and Clustering for Interpretable Sepsis Treatmentcited by 0
  5. 2026Are Open-Weight LLMs Ready for Social Media Moderation? A Comparative Study on Blueskycited by 0
  6. 2026QwenSafe: Multimodal Content Rating Description Identification via Preference-Aligned VLMscited by 0
  7. 2026The Cross-Domain Generalization Cost of Offensive Language Detectioncited by 0
  8. 2026From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigationcited by 0