Skip to content
Preprint

BanglaShield: A Script-Robust Safety Classifier and Benchmark for Bangla Native, Romanized, and Code-Mixed Prompts

Oct 2026 · 0 citations · 28 references
Computer Science

TL;DR

BanglaShield is introduced, a resource and model for graded prompt-safety classification across Bangla written forms, and outperforming the best LLM on each form by 42.8-46.1 points with ~130x fewer parameters than Gemma 4 31B.

Abstract

Safety classifiers for large language models (LLMs) are typically built and evaluated on standard-script text, yet Bangla, like many lower-resource languages, is routinely written in native script, in Latin-script romanization, and code-mixed with English, Hindi, or Urdu. We introduce BanglaShield, a resource and model for graded prompt-safety classification across these written forms. We consolidate 10,245 Bangla prompts from six sources under a four-level taxonomy (Safe, Offensive, Harmful, Severe) and render each prompt in three aligned forms that share labels and a group-aware split, enabling strictly paired comparisons. Benchmarking six contemporary LLMs, including a Bangla-specialized one, on 36,882 classification queries and 24,318 judged responses, we find that LLM classifiers label 47.0% of unsafe native-script prompts as Safe, rising to 63.4% under romanization, while response-level safety accuracy drops by 10.3 points. Three multilingual guard models also pass 30.3-57.3% of unsafe native-script prompts. Using a model's own classification as an input filter reduces harmful compliance by only about five points. In contrast, BanglaShield, a compact fine-tuned encoder, reaches 87.8 macro-F1 on native-script and 84.4 on romanized prompts, outperforming the best LLM on each form by 42.8-46.1 points with ~130x fewer parameters than Gemma 4 31B. We release the corpus, splits, judgments, and model.

View source

Similar papers

Conference Sep 2026

BhashaLLM: A QLoRA-Based Framework for Bangla Text Generation and Handwritten Character Recognition

Bangla is spoken by more than 250 million people but remains poorly served by mainstream large language models (LLMs), which are typically trained, tuned, and benchmarked with English or high-resource languages in mind. This paper presents BhashaLLM, a framework that pairs a QLoRA-fine-tuned instruction model with a vi...

Samiyeel Alim Binaaf, Md. Yeasin Arafat, Atique Shahrier Chaklader et al. · 0 citations
#natural language process... Preprint Oct 2026

BanglaDial-Abuse: A Corpus-Grounded Dataset for Regional Dialect Identification in Abusive Bangla Text

Regional linguistic variation remains an important challenge for Bangla natural language processing, particularly in informal and non-standard text. This paper introduces BanglaDial-Abuse, a balanced Bengali-script dataset developed for regional dialect identification in abusive and hostile Bangla text. The dataset con...

Hasin Almas Sifat · 0 citations
Open access Oct 2026

A Domain-Adapted Multilingual Large Language Model for Mining Safety in African Languages

The African mining industry continues to face a serious communication gap between technical safety documentation and the language used by the workforce. Safety manuals, operating procedures, and regulatory guidance are often produced in English or French, while many workers communicate in isiZulu, chiShona, and other l...

Macdonald Mashawi, R. Ganguli · 0 citations
#natural language process... Preprint Sep 2026

5-Dialects-BN: Unmasking the Impact of Transliteration on Bangla Dialectal LLMs

Large Language Models (LLMs) have achieved remarkable progress across natural language processing (NLP) tasks, yet their capabilities degrade sharply for low-resource languages and dialectally diverse settings. Bangla, the world's sixth most spoken language, exemplifies this gap: existing resources overwhelmingly targe...

M. Jawad, Galib Mahmud Jim, Rafid Ahmed et al. · 0 citations
Sep 2026

ObfXhate: a large-scale Arabic dataset and transformer-based framework for detecting obfuscated hate speech

This work offers a robust benchmark dataset, a three-tier labeling framework, and insights into preprocessing strategies tailored to Arabic’s linguistic complexity, advancing the development of culturally aligned and ethically sound Arabic large language models for content moderation and beyond.

Muteb Alqarni · 0 citations
#artificial intelligence Preprint Oct 2026

bharatSetu: a 1M x 22 bridge for indic translation

India's Eighth Schedule recognises 22 languages, yet parallel data is uneven across them, and many language pairs, especially among lower-resource languages such as Bodo, Dogri, Santali and Kashmiri, lack direct bitext. We present BharatSetu 22-Indic 1M, a row-aligned table of 984,764 English sentences, each paired wit...

Haq Nawaz Malik, Nahfid Nissar, Faiza Iqbal · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.