Parameter-efficient counter-speech generation for hate speech mitigation in code-mixed Hinglish via large language models
Online hate speech in code-mixed languages poses a challenge for online safety that moderation systems built for monolingual text address poorly. This study concerns Hinglish, the variety in which Hindi and English are mixed within a single utterance and the Hindi component is written in Roman script. Counter-speech offers a proactive alternative to content removal, but adapting large language models to generate it is computationally expensive, and code-mixed settings are under-resourced. We curate a custom Hinglish hate-speech–counter-speech corpus of 2,204 human-authored pairs, split 70/20/10 (1,542/441/221 for train/val/test), and apply Low-Rank Adaptation (LoRA) to Gemma-7B using rank-32 adapters on the query and value projections. We extend the comparison to a second recent open-weight backbone, Qwen3.5-4B, evaluated both zero-shot and under identical LoRA adaptation, so that each fine-tuned system is measured against its own base model. Adaptation updates 0.2748% of backbone parameters and peaks at 16.48 GB of GPU memory during training on a single A100-40GB. Fine-tuning improves semantic alignment with the human references for both backbones (SBERT cosine similarity 0.4969 for Gemma-7B-LoRA against 0.2828 for the FLAN-T5 baseline; 0.598 against 0.4701 zero-shot for Qwen3.5-4B) and reduces mean toxicity (0.0616 against 0.1231). In a blinded evaluation, three bilingual annotators preferred Gemma-7B-LoRA over FLAN-T5 on relevance, respect and effectiveness (all \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p < 0.001$$\end{document}; Fleiss’ \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\kappa$$\end{document} 0.74–0.80). The automatic metrics are less clear-cut: a fine-tuned FLAN-T5 attains a marginally higher BERTScore F1 (0.8620) than Gemma-7B-LoRA (0.8541), and lexical diversity falls under adaptation for Qwen3.5-4B. A controlled ablation over adapter rank, run identically on both backbones, shows validation loss falling monotonically with rank, with the trend replicating across the two architectures. We report results on a single corpus authored by one research team, and we treat semantic similarity as proximity to a reference response rather than as evidence of persuasive effect; generalisation to other corpora and to deployed moderation settings is untested.
- Link
- https://www.semanticscholar.org/paper/355d69171aa2bc4f30423296bf996b052e6707b9
- Found by
- Semantic Scholar
- Authors
- Bhawani Rathore, Sandeep Chaurasia
- Categories
- evaluation, dataset
- Published
- 2026-11-27
- Last seen by the radar
- 2026-11-29
- Citations
- 0
- Influential citations
- 0
- Radar score
- 37.25 / 100 (how it is scored)
- Why it scored so
- Matched: corpora$, corpus, evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1007/s10791-026-10624-w
https://link.springer.com/content/pdf/10.1007/s10791-026-10624-w.pdf