FanarGuard: A Culturally-Aware Moderation Filter for Arabic Language Models

Masoomali Fatehkia, Enes Altinisik, Husrev Taha Sencar
11/24/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Content moderation filters are a critical safeguard against alignment failures in language models. Yet most existing filters focus narrowly on general safety and overlook cultural context. In this work, we introduce FanarGuard, a bilingual moderation filter that evaluates both safety and cultural alignment in Arabic and English. We construct a dataset of over 468K prompt and response pairs, drawn from synthetic and public datasets, scored by a panel of LLM judges on harmlessness and cultural awareness, and use it to train two filter variants. To rigorously evaluate cultural alignment, we further develop the first benchmark targeting Arabic cultural contexts, comprising over 1k norm-sensitive prompts with LLM-generated responses annotated by human raters. Results show that FanarGuard achieves stronger agreement with human annotations than inter-annotator reliability, while matching the performance of state-of-the-art filters on safety benchmarks. These findings highlight the importance of integrating cultural awareness into moderation and establish FanarGuard as a practical step toward more context-sensitive safeguards.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fatehkia2025fanarguard,
  title  = {FanarGuard: A Culturally-Aware Moderation Filter for Arabic Language Models},
  author = {Masoomali Fatehkia and Enes Altinisik and Husrev Taha Sencar},
  year   = {2025},
  eprint = {2511.18852},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.18852v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.18852.svg)](https://codeofpaper.com/paper/2511.18852)

Discussion