← voidwest    research notes

Jais 1 → Jais 2: What Changed in Arabic Morphology Probing?

a frozen-run comparison of Arabic morphology representations
mohammed al-thobaiti · 2026-08-30
Arabic NLP morphology probing evaluation reproducibility Jais

Jais 2 is not simply a uniformly better version of Jais 1 in this probe. it is much better on number, roughly similar on gender and POS in the main full-metadata interface, and changes more when the explicit lexical metadata is removed. the useful comparison is not a single leaderboard number; it is the pattern across tasks, lexical splits, and representation interfaces.

both runs use the same 4,701-example Modern Standard Arabic testbed, derived from Universal Dependencies Arabic-PADT and processed with CAMeL Tools. they use BF16 hidden-state captures, the same four feature interfaces, three tasks, random/lemma-heldout/root-heldout splits, five outer folds, and the same fixed probe:

StandardScaler + RidgeClassifier(alpha=1.0)

these are two separately frozen experiments, not a controlled intervention on one checkpoint. model revision, architecture, tokenizer, parameter count, and base-versus-chat training status all change together. the deltas below describe the two evaluated model configurations; they do not isolate a causal “Jais 2 effect.”

the two model configurations

model checkpoint role parameters hidden size layers context
Jais-13B base 13B 5,120 40 2,048
JAIS-2-8B-Chat chat 8B 3,328 32 8,192

Jais-13B uses inceptionai/Jais-13B at revision prefix 0d5eb87f; JAIS-2-8B-Chat uses inception42/Jais-2-8B-Chat at revision prefix da0e1639. both were requested and saved as BF16. the tokenizer revisions differ too: Jais 1 has 5,149 target-span tokens across the examples, while Jais 2 has 5,118. every example aligned successfully in both runs. absolute layer numbers therefore should not be compared as though the networks had the same depth.

the headline result is task-dependent

the table compares the main full_prompt_final interface, averaging each task over the lemma-heldout and root-heldout test splits. each underlying split value is itself a mean across five outer folds. the delta is Jais 2 minus Jais 1. accuracy is included because the number task is imbalanced across classes and its accuracy can hide a change in minority-class recovery.

task Jais 1 accuracy Jais 2 accuracy Δ accuracy Jais 1 macro-F1 Jais 2 macro-F1 Δ macro-F1
gender0.93150.9289−0.00250.92590.9251−0.0008
number0.93620.9773+0.04120.71770.9245+0.2068
POS0.88180.8543−0.02760.86120.8358−0.0254
Held-out macro-F1 for Jais 1 and Jais 2 on gender, number, and POS with the full metadata prompt Held-out macro-F1 for Jais 1 and Jais 2 on gender, number, and POS with the full metadata prompt
held-out macro-F1 in the full_prompt_final interface, averaged over lemma-heldout and root-heldout. the number gain is the largest visual separation; each bar is an unweighted task mean across the two grouped splits.

number is the clear separation. Jais 1's full-metadata held-out number macro-F1 is low despite 0.9362 accuracy, a sign that the majority class is doing much of the work. Jais 2 raises both metrics, and its macro-F1 gain is much larger than its accuracy gain. gender is nearly unchanged in this aggregate, while POS declines modestly. those summaries conceal an important interface effect.

metadata changes the comparison

full_prompt_final reads the final state of a prompt that contains surface, target, lemma, root, and pattern. the fields after the target are available at that endpoint. metadata_free_prompt_final removes the explicit lexical fields but remains a prompt-final representation. the following table uses only the two grouped splits:

task full metadata: J1 → J2 full Δ metadata-free: J1 → J2 metadata-free Δ
gender0.9259 → 0.9251−0.00080.9349 → 0.8580−0.0768
number0.7177 → 0.9245+0.20680.8023 → 0.8647+0.0624
POS0.8612 → 0.8358−0.02540.8816 → 0.8408−0.0408

the striking result is that the Jais 2 number gain survives without metadata, but is smaller there. gender loses about 0.077 macro-F1 in the metadata-free interface even though it is unchanged with the full prompt. this is why “Jais 2 is better at morphology” is too broad: the answer depends on which information is present at the extraction endpoint.

where the representation is read also matters

the two target-local interfaces read the final token overlapping the target or the mean of every target-overlapping token state. averaged over tasks and grouped splits, their macro-F1 comparison is:

interface Jais 1 Jais 2 Δ
full prompt-final0.83490.8951+0.0602
metadata-free prompt-final0.87290.8545−0.0184
target-final subtoken0.83870.9006+0.0619
target-mean span0.84210.8876+0.0455

Jais 2 is strongest on the target-final interface in this aggregate, narrowly ahead of full prompt-final. Jais 1's best aggregate here is metadata-free prompt-final. that reversal is not evidence that one pooling rule is universally correct; it shows that the probe's estimand includes where the state is read, what the causal prefix contains, and how a multi-token span is pooled.

held-out transfer is still not random interpolation

for the full-metadata interface, random, lemma-heldout, and root-heldout macro-F1 means across the three tasks are:

model random lemma-heldout root-heldout random − lemma random − root
Jais-13B0.90620.84570.8242+0.0605+0.0819
JAIS-2-8B-Chat0.96500.89970.8906+0.0653+0.0744

both models lose performance when familiar lemma or root groups are kept out of training. Jais 2's number result makes its grouped scores much higher, but the lexical gap does not disappear. random splitting remains an optimistic interpolation reference, not a measure of transfer to unseen lexical groups.

controls and scope

each run selected layers on development data only, refit on train-plus-development, and evaluated test once per outer fold. all 4,701 examples aligned successfully for both models. the Jais 2 archive contains 180 shuffled-label cells; none exceeds its train-only majority baseline. the larger Jais 1 archive contains 360 shuffled cells for its two designated primary models (Qwen3-0.6B and Llama-3.2-1B), not for Jais-13B itself. these controls check the pipeline; they are not a causal test of model behavior.

the result is therefore precise but narrow: under this prompt, lexical split, alignment rule, target interface, pooling rule, selected layer, and linear estimator, Jais 2 makes number more linearly recoverable than Jais 1 in these frozen captures. that does not establish better Arabic generation, universal Arabic competence, or that either model uses the decoded feature during generation.

frozen sources

the comparison is computed from the immutable result summaries, not from manuscript tables. the two source records are:

freezes/bf16-analysis-20260826-v2/snapshot/analysis/results/summary.csv
freezes/bf16-analysis-jais2-20260829-v1/snapshot/analysis/results/summary.csv

their analysis decisions record the five-fold, development-only protocol and the weight-free post-capture contract. the corresponding frozen model metadata and bundle manifests preserve the checkpoint revisions, tokenizer revisions, successful alignments, and BF16 representation semantics. both freezes are evidence records; neither should be regenerated or overwritten.

the broader study is documented in the arabic-morphology-probing-lre repository. the paper, “Lexical Split Design and Representation-Interface Validity in Decoder-Only Morphology Probing: An Arabic Evaluation Study,” is currently under editorial assignment at Language Resources and Evaluation.