Leveraging the Potential of Prompt Engineering for Hate Speech Detection in Low-Resource Languages
Not on the map. Why?
Abstract (arXiv)
The rapid expansion of social media leads to a marked increase in hate speech, which threatens personal lives and results in numerous hate crimes. Detecting hate speech presents several challenges: diverse dialects, frequent code-mixing, and the prevalence of misspelled words in user-generated content on social media platforms. Recent progress in hate speech detection is typically concentrated on high-resource languages. However, low-resource languages still face significant challenges due to the lack of large-scale, high-quality datasets. This paper investigates how we can overcome this limitation via prompt engineering on large language models (LLMs) focusing on low-resource Bengali language. We investigate six prompting strategies - zero-shot prompting, refusal suppression, flattering the classifier, multi-shot prompting, role prompting, and finally our innovative metaphor prompting to detect hate speech effectively in low-resource languages. We pioneer the metaphor prompting to circumvent the built-in safety mechanisms of LLMs that marks a significant departure from existing jailbreaking methods. We investigate all six different prompting strategies on the Llama2-7B model and compare the results extensively with three pre-trained word embeddings - GloVe, Word2Vec, and FastText for three different deep learning models - multilayer perceptron (MLP), convolutional neural network (CNN), and bidirectional gated recurrent unit (BiGRU). To prove the effectiveness of our metaphor prompting in the low-resource Bengali language, we also evaluate it in another low-resource language - Hindi, and two high-resource languages - English and German. The performance of all prompting techniques is evaluated using the F1 score, and environmental impact factor (IF), which measures CO2 emissions, electricity usage, and computational time.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 28 of its 66 references that are in the map. First posted on arXiv 30 Jun 2025.
Builds on
28 of 66 references.
References · 28
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 223
- 2017Deep Learning for Hate Speech Detection in Tweetscited by 180
- 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performancecited by 100
- 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Modelscited by 86
- 2020Learning from others' mistakes: Avoiding dataset biases without modeling themcited by 83
- 2024Don't Say No: Jailbreaking LLM by Suppressing Refusalcited by 56
16 more
- 2016A Deeper Look into Sarcastic Tweets Using Deep Convolutional Neural Networkscited by 33
- 2024Don't Go To Extremes: Revealing the Excessive Sensitivity and Calibration Limitations of LLMs in Implicit Hate Speech Detectioncited by 25
- 2022Towards Climate Awareness in NLP Researchcited by 19
- 2022Hate Speech and Offensive Language Detection in Bengalicited by 19
- 2023Moderating New Waves of Online Hate with Chain-of-Thought Reasoning in Large Language Modelscited by 18
- 2021BNLP: Natural language processing toolkit for Bengali languagecited by 17
- 2016A Dictionary-based Approach to Racism Detection in Dutch Social Mediacited by 15
- 2017A Web of Hate: Tackling Hateful Speech in Online Social Spacescited by 15
- 2022HateCheckHIn: Evaluating Hindi Hate Speech Detection Modelscited by 15
- 2024Flattering to Deceive: The Impact of Sycophantic Behavior on User Trust in Large Language Modelcited by 15
- 2022BD-SHS: A Benchmark Dataset for Learning to Detect Online Bangla Hate Speech in Different Social Contextscited by 14
- 2024Improving Adversarial Data Collection by Supporting Annotators: Lessons from GAHD, a German Hate Speech Datasetcited by 13
- 2020QutNocturnal@HASOC'19: CNN for Hate Speech and Offensive Content Identification in Hindi Languagecited by 9
- 2024Chain-of-Translation Prompting (CoTR): A Novel Prompting Technique for Low Resource Languagescited by 5
- 2023An energy-based comparative analysis of common approaches to text classification in the Legal domaincited by 1
- 2024Milestones in Bengali Sentiment Analysis leveraging Transformer-models: Fundamentals, Challenges and Future Directionscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Probing LLMs for hate speech detection: strengths and vulnerabilities
- 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?
- 2023HateRephrase: Zero- and Few-Shot Reduction of Hate Intensity in Online Posts using Large Language Models
- 2026Retrieval Augmented Enhanced Dual Co-Attention Framework for Target Aware Multimodal Bengali Hateful Meme Detection
- 2026X-MuTeST: A Multilingual Benchmark for Explainable Hate Speech Detection and A Novel LLM-consulted Explanation Framework
- 2025HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detection
- 2026Sledgehammer or Scalpel? A Fine-grained Adaptive Framework for Implicit Hate Speech
- 2026MemeScouts@LT-EDI 2026: Asking the Right Questions -- Prompted Weak Supervision for Meme Hate Speech Detection