From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigation
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Large language models (LLMs) demonstrate impressive performance across a wide range of general NLP tasks; however, their effectiveness in sensitive domains, such as hate speech detection, remains less clear. Prior studies comparing prompted LLMs with state-of-the-art encoder-based models (e.g., BERT variants (Roy et al., 2023; D"onmez et al., 2024)) have shown only marginal gains, suggesting that LLMs may not excel in hate speech detection or mitigation. In this work, we revisit this question through the lens of instruction tuning. By thoroughly unifying 36 English hate speech datasets spanning multiple labeling schemes, we fine-tune a generalist LLM, based on Qwen3 (Qwen Team, 2025), specifically for hate speech mitigation. Our results demonstrate not only state-of-the-art performance on in-domain benchmarks but also substantial improvements in cross-domain and cross-lingual generalization--areas where encoder-based specialist classifiers often struggle.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 44 of its 87 references that are in the map. First posted on arXiv 26 Aug 2026.
Builds on
44 of 87 references.
Closest ancestors · 1
Same direction, newest first
Other references · 43
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
- 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 271
- 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
- 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 268
- 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 217
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 216
- 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 207
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
31 more
- 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 166
- 2020Directions in Abusive Language Training Data: Garbage In, Garbage Outcited by 140
- 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
- 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 129
- 2019CONAN -- COunter NArratives through Nichesourcing: a Multilingual Dataset of Responses to Fight Online Hate Speechcited by 110
- 2020Toxicity Detection: Does Context Really Matter?cited by 93
- 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
- 2021Human-in-the-Loop for Data Collection: a Multi-Target Counter Narrative Dataset to Fight Online Hate Speechcited by 82
- 2017Detecting Online Hate Speech Using Context Aware Modelscited by 72
- 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
- 2023Probing LLMs for hate speech detection: strengths and vulnerabilitiescited by 52
- 2023SemEval-2023 Task 10: Explainable Detection of Online Sexismcited by 48
- 2021ConvAbuse: Data, Analysis, and Benchmarks for Nuanced Abuse Detection in Conversational AIcited by 46
- 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
- 2022Large-Scale Hate Speech Detection with Cross-Domain Transfercited by 41
- 2020Detecting East Asian Prejudice on Social Mediacited by 40
- 2022Human-Machine Collaboration Approaches to Build a Dialogue Dataset for Hate Speech Counteringcited by 40
- 2021Detecting Harmful Content On Online Platforms: What Platforms Need Vs. Where Research Efforts Gocited by 33
- 2022Hate Speech and Counter Speech Detection: Conversational Context Does Mattercited by 32
- 2024Content Moderation by LLM: From Accuracy to Legitimacycited by 30
- 2023Robust Hate Speech Detection in Social Media: A Cross-Dataset Empirical Evaluationcited by 28
- 2022APPDIA: A Discourse-aware Transformer-based Style Transfer Model for Offensive Social Media Conversationscited by 23
- 2024An Investigation of Large Language Models for Real-World Hate Speech Detectioncited by 20
- 2024Multilingual and Explainable Text Detoxification with Parallel Corporacited by 12
- 2020Galileo at SemEval-2020 Task 12: Multi-lingual Learning for Offensive Language Identification using Pre-trained Language Modelscited by 11
- 2019Right-wing German Hate Speech on Twitter: Analysis and Automatic Detectioncited by 9
- 2022Automated Identification of Toxic Code Reviews Using ToxiCRcited by 8
- 2025Can Prompting LLMs Unlock Hate Speech Detection across Languages? A Zero-shot and Few-shot Studycited by 7
- 2023LLMs and Finetuning: Benchmarking cross-domain performance for hate speech detectioncited by 3
- 2020Automated Detection of Cyberbullying Against Women and Immigrants and Cross-domain Adaptabilitycited by 1
- 2025HatePRISM: Policies, Platforms, and Research Integration. Advancing NLP for Hate Speech Proactive Mitigationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026LLMs-Integrated Automatic Hate Speech Recognition Using Controllable Text Generation Models
- 2024Towards Generalized Offensive Language Identification
- 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?
- 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaigns
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speech
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillation
- 2026Attribute-Based Diagnosis of LLM Alignment with Hate Speech Annotations
- 2025A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performance