Few-shot and zero-shot Assamese hate speech detection: a comparative benchmark of large language models

Hate speech detection remains a critical challenge for natural language processing (NLP), particularly in low-resource languages such as Assamese. Although supervised models have shown promise, their performance is often constrained by the scarcity of annotated data and complex linguistic phenomena, such as code-mixing. In this study, we systematically benchmark large language models (LLMs), including GPT-4, GPT-3.5, and the open-source Mistral-7B, in prompt-based zero-shot and few-shot configurations, alongside fine-tuned multilingual transformers such as IndicBERT and mBERT, for Assamese hate speech detection. We evaluate these models on an extended Assamese hate speech dataset that combines a publicly available Kaggle corpus with additional code-mixed and transliterated examples. Our results show that GPT-4 achieves a macro-F1 score of 0.870 (few-shot, $$k=5$$), significantly outperforming previous best-reported models, such as fine-tuned mBERT (0.72 F1). GPT-3.5 and Mistral-7B also demonstrate strong performance (0.807 and 0.801 macro-F1, respectively), with Mistral offering a competitive open-source alternative that supports efficient local deployment. Notably, GPT-4 maintains robust performance across challenging code-mixed and Roman-script text, highlighting its superior cross-lingual adaptability. Error analysis reveals challenges in cultural nuance and subtle sarcasm, while statistical significance tests confirm consistent improvements.

Authors

Institutions

Publication Details

Journal
Social Network Analysis and Mining
Published
2025-12-02
DOI
https://doi.org/10.1007/s13278-025-01531-x
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Few-shot and zero-shot Assamese hate speech detection: a comparative benchmark of large language models

Basab Nath, Phaneendra Varma Chintalapati, Krishna Kant Pandey, Vinod Kumar Yadav
Social Network Analysis and Mining
Hate Speech and Cyberbullying Detection
article

Few-shot and zero-shot Assamese hate speech detection: a comparative benchmark of large language models

Basab Nath, Phaneendra Varma Chintalapati, Krishna Kant Pandey, Vinod Kumar Yadav
article en

Abstract

Hate speech detection remains a critical challenge for natural language processing (NLP), particularly in low-resource languages such as Assamese. Although supervised models have shown promise, their performance is often constrained by the scarcity of annotated data and complex linguistic phenomena, such as code-mixing. In this study, we systematically benchmark large language models (LLMs), including GPT-4, GPT-3.5, and the open-source Mistral-7B, in prompt-based zero-shot and few-shot configurations, alongside fine-tuned multilingual transformers such as IndicBERT and mBERT, for Assamese hate speech detection. We evaluate these models on an extended Assamese hate speech dataset that combines a publicly available Kaggle corpus with additional code-mixed and transliterated examples. Our results show that GPT-4 achieves a macro-F1 score of 0.870 (few-shot, $$k=5$$), significantly outperforming previous best-reported models, such as fine-tuned mBERT (0.72 F1). GPT-3.5 and Mistral-7B also demonstrate strong performance (0.807 and 0.801 macro-F1, respectively), with Mistral offering a competitive open-source alternative that supports efficient local deployment. Notably, GPT-4 maintains robust performance across challenging code-mixed and Roman-script text, highlighting its superior cross-lingual adaptability. Error analysis reveals challenges in cultural nuance and subtle sarcasm, while statistical significance tests confirm consistent improvements.

Social Network Analysis and MiningVol. 16(1)
Bennett University (IN), Hindu College of Pharmacy (IN), Manipal University Jaipur, University of Rajasthan (IN)
Openalex Percentile: Top 80%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.