← Lab /AI/ML

Diacritic insertion drops Arabic model accuracy by up to 92%

Adversarial attacks, especially diacritic insertion, can reduce the accuracy of Arabic language models by up to 92%

AI/ML arXiv 28 Jul 2026 Measurement Simulation evidence Threat model

Published as “Evaluation of Adversarial Robustness in Arabic Language Models”

Why it matters

Current Arabic LMs are vulnerable to simple character-level manipulations, indicating that deployed systems in high-risk domains need stronger defenses beyond standard adversarial training.

Summary

Paraphrasing attacks cut model accuracy by an average of 76%, while diacritic insertion can drop accuracy by up to 92% and word-level conjunction changes cause up to a 58% drop. The authors evaluate five Arabic and multilingual BERT-based models with six black-box attacks and show that adversarial training improves robustness mainly against word- and sentence-level attacks, but character-level noise remains a major weakness. The evidence is based on a 16 K tweet sentiment dataset and reports absolute accuracy numbers; however, the paper notes that diacritic and visual attacks stay highly effective even after adversarial training.

What they found 3

  1. Diacritic insertion can reduce the accuracy of some models by 92%

    “insertion of diacritics can reduce the accuracy of some models by 92% while maintaining a low perturbation distance.”

  2. Manipulating Arabic conjunctions leads to up to a 58% accuracy degradation

    “manipulating Arabic conjunctions preserves high semantic similarity scores, low perturbation distance, and leads to an accuracy degradation of up to 58%.”

  3. Paraphrasing attacks lower model performance by an average of 76%

    “paraphrasing proves its effectiveness by an average reduction of 76% percent in the victim models’ performance.”

Caveats 3

  • Despite adversarial fine-tuning, Diacritic and Visual attacks remained highly effective in degrading performance.
  • resilience to character-level noise remains an open challenge.
  • The study focuses only on binary sentiment analysis, limiting generalizability to other NLP tasks.

What’s new here 3

  • Evaluates a comprehensive set of Arabic-specific adversarial attacks across character, word, and sentence levels.
  • Applies both edit-based and importance-based (SHAP) attack generation strategies to Arabic models.
  • Provides an empirical assessment of adversarial training as a defense for Arabic language models.

Threat model stated by the source

Adversaryblack-box attacker
Capabilitynon-targeted