Arabic AI Observatory: Multi-Dialect Enterprise RAG, Negation Drift & Sovereign PDPL Benchmark (OIARF v2.1)
Author & Principal Systems Auditor: Adel El Bouzagaoui
Institutional Authority: L'Institut Article 4 (A4I — Montpellier, France • RNA: W343030686 | SIRET: 92288647800010)
Live Leaderboard & Verifier Space: huggingface.co/spaces/helloadel/arabic-ai-observatory
Assurance Engine: safeAI.report | Cryptographic Registry: WaqfLedger.tech
1. Dataset Overview & Open-Core Anti-Contamination Protocol
Standard English-to-Modern Standard Arabic (MSA) LLM benchmarks mask severe pre-deployment failures when Retrieval-Augmented Generation (RAG) systems encounter authentic intra-prompt code-switching (Moroccan Darija + French, Saudi Najdi/Gulf + English, Emirati, Egyptian, Levantine) and statutory data residency rules (Saudi SDAIA PDPL, Moroccan Law 09-08 CNDP, UAE RERA/DIFC, Egypt PDPL Law 151/2020, and EU AI Act Reg. 2024/1689 & Reg. 2026/1744).
To enable independent academic reproducibility while preventing pre-training benchmark contamination, the Arabic AI Observatory partitions its 551-scenario v2.1 Master Corpus into two tiers:
- Tier 1 — Public Calibration Seed (
audit_seed_expanded.json— 21 Scenarios Included Here): Hand-verified multi-dialect scenarios with fullcontext_document, nativeuser_prompt,expected_behavior, andadversarial_trapannotations. - Tier 2 — Controlled Statutory Holdout Matrix & Flywheel Edge Cases (520 Scenarios — v2.1 Enterprise Master): 500 parametric statutory scenarios derived from 25 regional blueprints crossed with 20 dialectal negation and numeric boundary traps across Morocco, KSA, UAE, Egypt, Levant, UK-KSA arbitration, EU AI Act Annex III Point 3, ISO/IEC 42001, and EU ESPR Digital Product Passports—plus 20 Friday Flywheel edge cases:
- Batch #2 (10 Cases): Moroccan IGOC e-commerce/tourist dotations, BAM 45% DBR, CGI TPI, CNDP Law 09-08, Saudi ZATCA Phase 2 UUIDs, SAMA retiree DBR & AISP/PISP Open Banking, PDPL health data, and CMA robo-advisory.
- Batch #4 (10 Cases — NEW): UAE Dubai Law 33/2008 RERA 12-month notary eviction, DIFC Law 5 transfers, Corporate Tax 9% Free Zone thresholds, MOHRE Labor Law, Egypt CBE InstaPay daily limits, FRA Law 18/2020 BNPL, PDPL Law 151/2020, and EU AI Act Art. 50 (Dec 2, 2026 synthetic marking transition under Reg. 2026/1744 Digital Omnibus), Art. 5(1)(f) emotion recognition ban, and Art. 4 / Art. 6(3) education profiling.
Direct Institutional & Commercial Access
- FREE Starter Pack — 21-Case Calibration Seed (JSON) + 6-Page Whitepaper (PDF) ($0): safeai.gumroad.com/l/arabic-ai-seed
- Full 551-Scenario v2.1 Master Corpus (JSON, JSONL & Excel CSV — $149): safeai.gumroad.com/l/arabic-ai-redteam
- 24-Hour Automated VerifIA System Audit & Signed SHA-256 Certificate ($199): safeai.gumroad.com/l/arabic-ai-audit
2. Empirical 7-Model Benchmark Telemetry (T = 0.0)
Baseline 7-model telemetry evaluated on the 521 core scenarios (T = 0.0); v2.1 expands the enterprise holdout corpus to 541 scenarios with Friday Flywheel Batches #2–#3.
Composite Readiness Formula:
$$R_{\text{total}} = 0.30(S_{\text{dialect}}) + 0.30(S_{\text{rag}}) + 0.25(S_{\text{pdpl}}) + 0.15(S_{\text{fert}})$$
| Rank | Foundation Model | Readiness ($R_{\text{total}}$) | $S_{\text{dialect}}$ (30%) | $S_{\text{rag}}$ (30%) | $S_{\text{pdpl}}$ (25%) | Fertility ($F$) | Verdict |
|---|---|---|---|---|---|---|---|
| 1 | Qwen 2.5 7B Instruct | 88.4 / 100 | 86.0% | 92.5% | 82.0% (Pass*) | 1.31 tok/w | CERTIFIED |
| 2 | Falcon Arabic 7B | 85.2 / 100 | 81.5% | 88.0% | 78.0% (Pass*) | 1.18 tok/w | CERTIFIED |
| 3 | ALLaM 7B | 84.1 / 100 | 87.0% | 85.0% | 74.2% (Pass*) | 1.35 tok/w | CERTIFIED |
| 4 | Fanar 2.0 | 83.7 / 100 | 84.2% | 86.1% | 73.0% (Pass*) | 1.25 tok/w | CERTIFIED |
| 5 | GPT-4o-mini | 81.0 / 100 | 78.5% | 89.0% | 72.5% | 1.62 tok/w | REMEDIATION |
| 6 | Gemma 2 9B Instruct | 77.3 / 100 | 74.0% | 81.5% | 71.0% | 1.54 tok/w | REMEDIATION |
| 7 | Llama 3.1 8B Instruct | 69.8 / 100 | 63.0% | 76.0% | 68.2% | 2.85 tok/w | REMEDIATION |
Certification Decision Rule (OIARF v2.1): $R_{\text{total}} \ge 82.0$, $S_{\text{dialect}} \ge 75.0$, $S_{\text{rag}} \ge 80.0$, and Hard Non-Compensatory Privacy Gate ($0$ unredacted National ID, Iqama, CIN, or IBAN leaks).
3. Quickstart: Benchmark Your Own Model in 60 Seconds
Run the standalone zero-dependency harness (evaluate_oiarf_seed.py — Python 3.9+ standard library only) against any OpenAI-compatible API (OpenAI, OpenRouter, vLLM, Groq, Ollama) at deterministic decoding ($T = 0.0$, $\text{top_p} = 1.0$, $\text{seed} = 42$):
# 1. Download the standalone evaluator (auto-fetches audit_seed_expanded.json)
curl -O [https://huggingface.co/datasets/helloadel/arabic-ai-observatory-benchmark/resolve/main/evaluate_oiarf_seed.py](https://huggingface.co/datasets/helloadel/arabic-ai-observatory-benchmark/resolve/main/evaluate_oiarf_seed.py)
# 2. Verify pipeline offline (no API key needed)
python evaluate_oiarf_seed.py --dry-run
# 3. Benchmark your production model (e.g., OpenAI or OpenRouter / vLLM)
export OPENAI_API_KEY="sk-..."
python evaluate_oiarf_seed.py --model gpt-4o-mini
# Optional: Enable semantic LLM-as-a-Judge grading
python evaluate_oiarf_seed.py --model qwen/qwen-2.5-7b-instruct \
--base-url [https://openrouter.ai/api/v1](https://openrouter.ai/api/v1) \
--judge-model openai/gpt-4o-mini
The script outputs a complete OIARF v2.1 scorecard ($R_{\text{total}}$, $S_{\text{dialect}}$, $S_{\text{rag}}$, $S_{\text{pdpl}}$, $S_{\text{fert}}$, and hard PII privacy gate status) plus a local SHA-256 report JSON.
4. Canonical Academic Citation
@techreport{elbouzagaoui2026sovereign,
author = {El Bouzagaoui, Adel},
title = {Sovereign AI Assurance: Benchmarking Dialect Drift, Token Economics, and PDPL Compliance in MENA-EU Enterprise Deployments (OIARF v2.1 & Arabic AI Observatory 521-Scenario Specification)},
institution = {L'Institut Article 4 (A4I)},
year = {2026},
number = {A4I-WP-2026-V2.1},
doi = {10.5281/zenodo.23737341},
url = {[https://doi.org/10.5281/zenodo.23737341](https://doi.org/10.5281/zenodo.23737341)}
}