From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigation

Lukas Edman, Daryna Dementieva, Alexander Fraser


Abstract
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önmez 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.
Anthology ID:
2026.emnlp-main.1643
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
37335–37355
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1643/
DOI:
Bibkey:
Cite (ACL):
Lukas Edman, Daryna Dementieva, and Alexander Fraser. 2026. From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigation. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 37335–37355, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigation (Edman et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1643.pdf