Mohamed Zaghoo

Applied Physicist · AI Post-Training Lead · Technical Founder

All research articles

AI evaluation research

What frontier models know about Saudi law, and why MENA needs better legal data

November 2026

I asked four frontier models 79 basic questions about Saudi legal procedure, fees and licensing, from memory. With Saudi law named as the jurisdiction, the best of them fully answered 33. None fully answered a single question on professional licensing. These are the kind of questions a court portal's help page answers, and the gaps say a lot about what data Arabic legal AI is still missing.

The test

The questions come from the Najiz set of ArabLegalEval, a public Arabic legal benchmark. Each has a short reference answer: a court fee, a deadline, the conditions for a licence, the body that decides a dispute. A Saudi lawyer would look most of them up in seconds.

Gemini 4 Carbon, GPT-6 Astra, Claude Opus 5.5 and Muse Spark 1.3 answered all 79 in Arabic, without search, tools or documents. Each was told to say «لا أعرف» ("I don't know") rather than guess. I graded every answer against a rubric of 270 required elements taken from the reference answers, weighted by type: core principles count most, then deadlines and amounts, then conditions and list items. A wrong amount or deadline cuts an answer's score by 70%, and a contradiction scores zero. Claude Sonnet 5.5 graded all four answer sets blind, one question at a time, with the answers relabelled in a fresh random order for each question.

ModelFully correctPartialWrong or no answerMean score«لا أعرف»
Gemini 4 Carbon3320260.59115
GPT-6 Astra2818330.50426
Claude Opus 5.51221460.3316
Muse Spark 1.31120480.32630
Grid of 79 squares per model showing which questions each of the four models answered correctly, partially or wrongly
One square per question, Q1 to Q79. A solid square is fully correct: a rubric score of at least 0.85 with every core principle, deadline and amount present.

Five findings

  1. Simple facts are the weak point. The best model was fully correct on 42% of the questions, and two of the four on 14–15%. These are not reasoning puzzles; each has one settled answer in a statute, regulation or ministry rule.
  2. Licensing is a blind spot for every model. None of the four fully answered any of the 10 questions on licensing lawyers, notaries, foreign law firms or enforcement service providers. The best mean score there was 0.13.
  3. Each model knows a different part of Saudi law. Gemini leads on criminal procedure (0.92), enforcement (0.72) and family law (0.71). Astra leads on court fees: it recalled 8 of the 16 fee and rate amounts exactly, against 6 for Gemini and 2 each for the other two.
  4. They fail in different ways. Astra declines when unsure and was wrong on only 7 of the 53 questions it attempted. Opus attempted 73 and was graded wrong on 40, including 8 wrong amounts or deadlines stated as fact.
  5. Naming the jurisdiction matters. The benchmark's questions never say "Saudi Arabia". In a first run without it, Gemini and Muse often answered in general terms or said the country was unspecified. One added line, «أجب وفق الأنظمة المعمول بها في المملكة العربية السعودية», raised Gemini's mean score from 0.47 to 0.59 and Muse's from 0.14 to 0.33.
Dot plot of each model's mean rubric score across seven areas of Saudi law
Mean rubric score by area of law. All four models do best on procedure set out in the main statutes and worst on licensing rules and fee schedules. Areas were assigned by the author from each question's subject.

Why the models miss

The likeliest explanation is that this material is thin in the models' training data. Saudi implementing regulations, fee schedules and licensing rules are published mostly in Arabic, change often, and are rarely discussed online the way, say, US federal procedure is. The pattern fits: every model did best on rules from the main statutes, which are widely reproduced, and worst on regulations and ministry procedures. This study can't separate missing training data from other causes, such as rules changing after a model's training or the effect of asking in Arabic.

What this means for MENA legal data

The results are small, but they point to five things that legal data for the region has to get right.

  1. The gap is shared, so the data is missing. Four models from four labs fail the same kind of question. That is unlikely to be one lab's design choice; it looks like a layer of Arabic regulatory knowledge that none of them was trained on.
  2. The gaps differ, so no one has filled them. If any lab had comprehensive Saudi regulatory data, its model would lead across the board. Instead each model knows different pieces, which is what you would expect from scattered, incidental coverage.
  3. Jurisdiction and date belong in the data. One line naming the country moved two models' scores by 0.12 and 0.18. Legal data for a region of many legal systems needs every item tagged with its jurisdiction, the date it was in force and its source, not just the text.
  4. Knowing when not to answer is part of the skill. In legal work a confident wrong amount or deadline is the costly failure. Training data and rewards should credit «لا أعرف» over a guess and penalise wrong figures heavily, as this rubric does.
  5. The checks behind a reward must be tested in Arabic. A reward for legal drafting is only as good as the checker that applies it. In my earlier work on reward reliability, a checker that couldn't read Arabic negation wrongly penalised 7 of 17 correct held-out sentences until it was fixed.

For anyone deploying legal AI in Saudi Arabia today: closed-book answers to basic procedural questions are not yet reliable from any of these models, and the prompt has to state the jurisdiction. A model needs current, cited sources, and a confident answer without one should be checked.

What this does not show yet

How it was run

The Saudi context did not reach each model in the same way. Gemini and Muse ran through an API with the one-line instruction above, and their requests had no search or tools enabled. Astra ran in Codex from a question file named after Najiz, the Saudi Ministry of Justice portal. Opus answered in a session already working on Saudi law. The benchmark has been public since 2024 and may be in any model's training data.

Every answer, the grader's element-by-element decisions, the blinding key and a script that recomputes all 316 scores are public in the najiz-closed-book-eval repository, with the full report as a PDF. The benchmark text itself belongs to ArabLegalEval and is downloaded from its source rather than redistributed.

Development used AI assistance for code, analysis and writing. No endorsement by any model provider or by the benchmark's authors is implied.