BanglaShield: A Script-Robust Safety Classifier and Benchmark for Bangla Native, Romanized, and Code-Mixed Prompts
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 15 of its 28 references that are in the map. Submitted 16 Oct 2026.
Builds on
15 of 28 references.
References · 15
- 2024The Llama 3 Herd of Modelscited by 16,114
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,337
- 2023Low-Resource Languages Jailbreak GPT-4cited by 338
- 2021MuRIL: Multilingual Representations for Indian Languagescited by 189
- 2020SimAlign: High Quality Word Alignments without Parallel Training Data using Static and Contextualized Embeddingscited by 164
- 2025PolyGuard: A Multilingual Safety Moderation Tool for 17 Languagescited by 73
- 2024Code-Switching Red-Teaming: LLM Evaluation for Safety and Multilingual Understandingcited by 38
- 2025TigerLLM - A Family of Bangla Large Language Modelscited by 18
- 2025X-Guard: Multilingual Guard Agent for Content Moderationcited by 15
- 2023Offensive Language Identification in Transliterated and Code-Mixed Banglacited by 13
- 2026IndicJR: A Judge-Free Benchmark of Jailbreak Robustness in South Asian Languagescited by 7
3 more
- 2023OffMix-3L: A Novel Code-Mixed Dataset in Bangla-English-Hindi for Offensive Language Identificationcited by 6
- 2026IndicGuard: A Multilingual Safety Guard Model and Dataset for Indic Languagescited by 1
- 2026BanglaVeilGuard: Cross-Script Safety Benchmarking and Lightweight Guardrails for Bangla Large Language Modelscited by 1
Built on by
Not cited yet.