Can Prompting LLMs Unlock Hate Speech Detection across Languages? A Zero-shot and Few-shot Study

Faeze Ghorbanpour, Daryna Dementieva, Alexander Fraser
5/9/2025
cs.CLcs.CYcs.MM

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Despite growing interest in automated hate speech detection, most existing approaches overlook the linguistic diversity of online content. Multilingual instruction-tuned large language models such as LLaMA, Aya, Qwen, and BloomZ offer promising capabilities across languages, but their effectiveness in identifying hate speech through zero-shot and few-shot prompting remains underexplored. This work evaluates LLM prompting-based detection across eight non-English languages, utilizing several prompting techniques and comparing them to fine-tuned encoder models. We show that while zero-shot and few-shot prompting lag behind fine-tuned encoder models on most of the real-world evaluation sets, they achieve better generalization on functional tests for hate speech detection. Our study also reveals that prompt design plays a critical role, with each language often requiring customized prompting techniques to maximize performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ghorbanpour2025prompting,
  title  = {Can Prompting LLMs Unlock Hate Speech Detection across Languages? A Zero-shot and Few-shot Study},
  author = {Faeze Ghorbanpour and Daryna Dementieva and Alexander Fraser},
  year   = {2025},
  eprint = {2505.06149},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06149v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.06149.svg)](https://codeofpaper.com/paper/2505.06149)

Discussion