Research · Arabic, side by side
Arabic guardrail comparison: Guardrino vs English prompt guards on Arabic, dialects and Arabizi
We ran Guardrino and other prompt-attack classifiers on the same messages: well-known guards built for English, and guards other teams built for Arabic. This page gives every count, how the test was run, what it cannot tell you, and the data file behind it.
Guardrino is in development and offered through watch-only pilots. These are the results of one model version on our own test set, not a promise about your traffic: a pilot measures the same things on your own messages.
The results
Each cell gives the count and the share it makes, computed from the counts when the page is shown.
Arabiska, sida vid sida
Byggd för arabiska. I våra egna tester fångade Guardrino nästan 9 av 10 arabiska attacker; de mest kända engelska skydden ungefär 1 av 7.
| Modell | Fångade arabiska attacker (av 7 874) | Fångade arabizi-attacker (av 1 523) | Blockerade säkra meddelanden (av 31 348) |
|---|---|---|---|
| Guardrino-t7 v7 | 6 814 av 7 874 (86,5 %) | 1 319 av 1 523 (87 %) | 804 av 31 348 (2,6 %) |
| Guardrino-t7 v7, inställd på felblockeringsgraden för ArabGuard Samma modell med strängare tröskel, så att den blockerar lika få säkra meddelanden som ArabGuard. | 6 520 av 7 874 (82,8 %) | 1 214 av 1 523 (80 %) | 519 av 31 348 (1,7 %) |
| Ara-Prompt-Guard V1 (NAMAA, Arabic) Byggd för arabiska av ett annat team, mätt på samma sätt. | 2 033 av 7 874 (25,8 %) | 99 av 1 523 (7 %) | 615 av 31 348 (2,0 %) |
| ArabGuard (Egyptian) Byggd för arabiska av ett annat team, mätt på samma sätt. | 1 553 av 7 874 (19,7 %) | 2 av 1 523 (0 %) | 519 av 31 348 (1,7 %) |
| HARIS Byggd för arabiska av ett annat team, mätt på samma sätt. | 561 av 7 874 (7,1 %) | 0 av 1 523 (0 %) | 459 av 31 348 (1,5 %) |
| Prompt Guard 2 (Meta) | 1 128 av 7 874 (14,3 %) | 73 av 1 523 (5 %) | 882 av 31 348 (2,8 %) |
| Protect AI v2 | 894 av 7 874 (11,4 %) | 95 av 1 523 (6 %) | 589 av 31 348 (1,9 %) |
Metod: HisnLabs egen testuppsättning med 13 249 attacker och 31 348 säkra meddelanden, mest på arabiska. Det gynnar en modell som tränats på liknande data, som vår, så detta är inte ett oberoende test. Varje modells tröskel sattes så att den blockerar 1 av 100 säkra meddelanden på ett valideringsurval. Testat 26–27 oktober 2026. De externa modellerna byggdes för engelska, för en enda dialekt eller främst för modern standardarabiska; detta är ingen kritik mot dem. En offentlig källa i testuppsättningen (arabic-guardrail, 2 271 attacker) kan finnas i andra modellers träningsdata, och dess träningsdel fanns i vår; utan den fångar Guardrino-t7 4 596 av 5 603 arabiska attacker (82 %).
How we tested
The test set is HisnLabs’ own (“cells” in the data file): 13,249 attacks and 31,348 safe messages, mostly Arabic, with Arabizi and some English. Every model saw the same messages. Tested 26–27 October 2026.
Arabic attacks caught and Arabizi attacks caught: how many attacks written in Arabic script, and in Arabizi (Arabic in Latin letters and digits), the model flagged. Higher is better. Safe messages blocked: how many harmless messages it flagged by mistake. Lower is better. Read the two together: a guard can catch more attacks simply by blocking more messages.
Thresholds: a classifier gives each message a score, and a threshold turns that score into block or allow. Comparing models at their default thresholds would mostly compare how strict each one is. So each model’s threshold was set on a separate validation sample to block about one in 100 safe messages, then used unchanged on the test set. Each row’s threshold is in the data file.
Guardrino by dialect
Most Arabic attacks in the set carry a dialect label. Our row, split by dialect (the other models’ dialect counts are in the data file):
| Dialect | Arabic attacks in the set | Caught by Guardrino |
|---|---|---|
| Gulf | 1,918 | 1,642 of 1,918 (85.6%) |
| Egyptian | 1,834 | 1,573 of 1,834 (85.8%) |
| Levantine | 559 | 540 of 559 (96.6%) |
| Maghrebi | 654 | 624 of 654 (95.4%) |
| Modern Standard Arabic | 2,526 | 2,102 of 2,526 (83.2%) |
383 Arabic attacks have no dialect label: they count in the Arabic column only.
Why there are two Guardrino rows
The second row is Guardrino-t7 v7 at a stricter threshold (0.9818), chosen so that it blocks no more safe messages than ArabGuard: 519 of 31,348, against 519 for ArabGuard. Read it against ArabGuard. With the false blocks level, the difference in attacks caught is not bought by blocking more safe messages.
A public source that may overlap
One public dataset in the test set, arabic-guardrail, gives 2,271 of its attacks. It also gives 2,216 of the safe messages. Other models may have been trained on it, and its training split was in our own training data, so it can flatter any of them. Without it, Guardrino catches 4,596 of 5,603 Arabic attacks (82%).
The table without that source
The same rows with arabic-guardrail taken out of the test set, both its attacks and its safe messages. Only rows whose data includes this split are shown.
| Model | Arabic attacks caught (of 5,603) | Arabizi attacks caught (of 1,037) | Safe messages blocked (of 29,132) |
|---|---|---|---|
| Guardrino-t7 v7 | 4,596 of 5,603 (82.0%) | 844 of 1,037 (81%) | 744 of 29,132 (2.6%) |
| Ara-Prompt-Guard V1 (NAMAA, Arabic) | 1,568 of 5,603 (28.0%) | 97 of 1,037 (9%) | 612 of 29,132 (2.1%) |
| ArabGuard (Egyptian) | 1,208 of 5,603 (21.6%) | 2 of 1,037 (0%) | 516 of 29,132 (1.8%) |
| HARIS | 339 of 5,603 (6.1%) | 0 of 1,037 (0%) | 429 of 29,132 (1.5%) |
What this comparison cannot tell you
- It is our own test, not an independent one. The test set is mostly Arabic and close to the data Guardrino was trained on, which favours our model. We publish the counts so that others can check them, and we would welcome an independent test.
- One public source may overlap with training data, ours and other teams’ (see above). That is why the table without it is shown.
- Every number depends on the threshold rule. With a different false-block budget every row changes, and the order of close rows can change too.
- Some dialect sets are small: 559 Levantine and 654 Maghrebi attacks. A few dozen messages move those rows noticeably, so read them as a rough indication.
- The outside models were built for English, for one dialect or mainly for Modern Standard Arabic. The table shows what happens when they meet text they were not built for. It is not a judgement of those models.
- It measures one version, Guardrino-t7 v7, tested on 27 October 2026. Guardrino is in development: later versions are measured again, and your own traffic may differ. A watch-only pilot measures it on your messages.
The data
The file behind this page holds counts only, never percentages: for each model, the attacks it caught and the safe messages it blocked in each column, its threshold, the counts by dialect and the counts without the overlapping source. The page computes every share from it when shown.
Main fields: rows (one per model, each count as [caught, out of]; rows marked hidden stay in the file but are not shown here), columns, max_fpr (the share of safe messages each threshold was set to block), date_from and date, and overlap.