Skip to main navigation Skip to search Skip to main content

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

  • Hamad bin Khalifa University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationLong Papers
EditorsVera Demberg, Kentaro Inui, Lluis Marquez Villodre
PublisherAssociation for Computational Linguistics (ACL)
Pages7848-7869
Number of pages22
ISBN (Electronic)9798891763807
DOIs
Publication statusPublished - 2026
Event19th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2026 - Rabat, Morocco
Duration: 24 Mar 202629 Mar 2026

Publication series

NameEACL 2026 - 19th Conference of the European Chapter of the Association for Computational Linguistics, Proceedings of the Conference, Vol. 1 - (Long Papers)
Volume1

Conference

Conference19th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2026
Country/TerritoryMorocco
CityRabat
Period24/03/2629/03/26

Fingerprint

Dive into the research topics of 'FanarGuard: A Culturally-Aware Moderation Filter for Arabic Language Models'. Together they form a unique fingerprint.

Cite this