ArabicDialectSafety: A Dialect-Aware Benchmark for Arabic Content Safety Classification
Not on the map. Why?
Abstract (arXiv)
We present ArabicDialectSafety, a human-curated Arabic safety dataset of 25,071 prompts covering six Arabic varieties: Modern Standard Arabic, Syrian, Egyptian, Algerian, Palestinian, and Moroccan. The dataset is annotated with dialect labels and seven fine-grained harm categories. We introduce a dual-task evaluation framework for binary safe/unsafe detection and granular harm classification across dialects. Benchmarking seven supervised and generative models, we find that fine-tuned MARBERTv2 achieves the strongest performance, with Macro-F1 scores of 0.95 for binary classification and 0.90 for granular classification, substantially outperforming prompted frontier LLMs, including Arabic-specialized models. Our analyses show that dialect conditioning is most effective when integrated at the representation level, while significant performance gaps remain for low-resource Maghrebi dialects. We further evaluate seven frontier LLMs as response generators on harmful dialectal Arabic prompts and observe unsafe generation rates below 5 percent across models. We release the dataset and code upon acceptance to support future research on dialect-aware Arabic safety evaluation. Warning: This paper contains examples of harmful and potentially offensive content included solely for research purposes.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 41 references that are in the map. First posted on arXiv 2 Aug 2026.
Builds on
16 of 41 references.
References · 16
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2024Multilingual E5 Text Embeddings: A Technical Reportcited by 357
- 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 224
- 2020ARBERT & MARBERT: Deep Bidirectional Transformers for Arabiccited by 164
- 2025PolyGuard: A Multilingual Safety Moderation Tool for 17 Languagescited by 57
- 2020Arabic Dialect Identification in the Wildcited by 45
- 2024RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?cited by 34
- 2024Arabic Dataset for LLM Safeguard Evaluationcited by 17
- 2024AraTrust: An Evaluation of Trustworthiness for LLMs in Arabiccited by 16
4 more
- 2024A Survey of Large Language Models for Arabic Language and its Dialectscited by 13
- 2025MrGuard: A Multilingual Reasoning Guardrail for Universal LLM Safetycited by 9
- 2025Attributional Safety Failures in Large Language Models under Code-Mixed Perturbationscited by 6
- 2025FanarGuard: A Culturally-Aware Moderation Filter for Arabic Language Modelscited by 5
Built on by
Not cited yet.