Skip to content

ArGuard shared task: harmful content detection in Arabic memes and LLM promptsArGuard Shared Task: Harmful Content Detection in Arabic Memes and LLM Prompts

arXiv: Dangerous Capabilities & Safety Evals· arXiv:2609.29349· Proceedings of The Fourth Arabic Natural Language Processing Conference: Shared Tasks 2026· Firoj Alam, Md. Rafiul Biswas, Mohamed Bayan Kmainasi, Ali Ezzat Shahroor, Hamdy Mubarak, George Mikros, Abul Hasnat, Wajdi Zaghouani·Indexed by this site · 2026-09-30· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

ArGuard shared task evaluates Arabic meme hate and LLM prompt harmful detection; A2 fine-grained macro-F1 highest only 0.419.

Questions
Arabic harmful content appears both in multimodal memes and in LLM prompts that attempt to bypass safety guardrails. Existing resources mostly study these separately and have coarse labels.
Methods
ArGuard 2026 sets up two tracks and four subtasks: meme binary classification and ten-class multi-label, and prompt safety binary classification and seven harm categories, all ranked by macro-F1.
Experiments and results
35 teams entered final evaluation. Highest macro-F1 for A1, A2, B1, B2 are 0.823, 0.419, 0.984, 0.790 respectively; the authors state fine-grained meme classification is the hardest.
Limitations and future work
The authors point out that A’s fine-grained labels are imbalanced, with few training samples for Exclusion and others; B currently covers six Arabic variants, with more dialects and code-switching left for expansion.
Experimental setupQwen3-VL、Qwen3-VL-8B-Instruct et al. · ArGuard、AHA-Memes et al. · macro-F1、micro-F1 et al.
Evaluated models
Qwen3-VLQwen3-VL-8B-InstructMARBERTv2AraBERTv02-twitterJais-6.7BLlama-3.2-VisionGemma 4CAMeLBERTALLaM-7B
Benchmarks
ArGuardAHA-MemesArabicDialectSafetyAraSafe
Metrics
macro-F1micro-F1accuracymacro precisionmacro recallweighted F1per-class F1Cohen’s κ
AI summaryThe ArGuard shared task evaluates harmful content detection in Arabic memes and LLM prompts, with two tracks: Arabic meme multimodal hate detection (Track A) and harmful prompt detection for Arabic LLM safety evaluation (Track B).

The ArGuard shared task evaluates harmful content detection in Arabic memes and LLM prompts, with two tracks: Arabic meme multimodal hate detection (Track A) and harmful prompt detection for Arabic LLM safety evaluation (Track B).

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Arabic meme hate and LLM prompt harm detection lack a unified, fine-grained evaluation.

    Arabic harmful content detection is split across two scenarios, memes and LLM prompts, and labels are often too coarse, lacking a reproducible unified evaluation.

    • Scenarios: The authors state that Arabic memes on social media can use images, embedded text, humor, sarcasm, and cultural references to attack protected groups; when interacting with LLMs, users can submit prompts requesting harmful information or attempting to bypass safety guardrails. Reliable detection must both block harmful content and avoid imposing unnecessary restrictions on benign content.
    • Language challenges: The authors state that Arabic spans Modern Standard Arabic (MSA) and regional dialects, and online text also has code-switching, non-standard spelling, and Arabizi; harmful intent is often expressed indirectly through euphemism, sarcasm, stereotypes, or cultural references. Transliteration can also weaken LLM guardrails.
    • Existing resources: The authors state that ArMeme, ArAIEval, MAHED, etc., advance propaganda and harmful meme research, and AHA-Memes adds fine-grained attack types and non-hate subtypes; HarmBench, WildGuard, AraSafe, ArabicDialectSafety, etc., cover prompt safety. But multimodal memes and LLM prompts are mostly evaluated separately, and many resources lean toward propaganda or binary classification.
    • This paper proposes: The authors organized the ArGuard 2026 shared task with two tracks and four subtasks: Track A is Arabic meme hate detection (A1 binary, A2 ten-class fine-grained multi-label), and Track B is Arabic LLM prompt harm detection (B1 safety binary, B2 seven harm categories). They also release datasets, baselines, metrics, and scoring tools.
  2. What related research exists?

    Related work is divided into meme hate detection, Arabic content moderation shared tasks, and LLM prompt safety.

    Multimodal hateful memes

    • Hateful Memes Challenge (Kiela et al., 2020) — defines meme hate detection as a cross-modal problem requiring joint reasoning over image and text. Subsequent work explores multimodal fusion, external knowledge, vision-to-text prompting, and explanation-based reasoning (Kumar and Nandakumar, 2022; Cao et al., 2022; Sharma et al., 2022; Kmainasi et al., 2025).
    • MultiOFF and MAMI (Suryawanshi et al., 2020; Fersini et al., 2022) — extend the setting to political and misogynistic memes with finer labels; recent work extends to more languages and cultures (Bui et al., 2025; Shahroor et al., 2026). The authors state the literature remains English-centric or relies on smaller non-English data.
    • Arabic resources: On the text side, OSACT4, OSACT5 (Mubarak et al., 2020, 2022) evaluate offensive language, hate speech, and fine-grained hate categories. On the multimodal side, ArMeme, ArAIEval, SemEval-2024, MAHED (Alam et al., 2024; Hasanain et al., 2024; Dimitrov et al., 2024; Zaghouani et al., 2025) cover propaganda and hate. AHA-Memes (Kmainasi et al., 2026b) provides 5,000 Arabic memes with binary hate labels as well as fine-grained annotations of hate attack types and non-hate subtypes.

    LLM prompt safety

    • HarmBench, WildGuard (Mazeika et al., 2024; Han et al., 2024) — advance LLM safety evaluation and guardrail models with standardized red-teaming and moderation benchmarks. The authors state multilingual safety research remains English-centric (Yong et al., 2025).
    • Arabic: Al Ghanim et al. (2024) show that transliteration and Arabizi can weaken guardrails. Subsequent resources include culturally adapted safety questions (Ashraf et al., 2025), fine-grained prompt safety in AraSafe (Mubarak et al., 2025), Arabic–English bilingual moderation in FanarGuard (Fatehkia et al., 2026), and ArabicDialectSafety (Zaghouani et al., 2026): 25,071 manually curated prompts covering MSA and five regional dialects, supporting binary safety detection and seven harm categories.

    Baselines and data

    • Baseline methods: All four subtasks use organizer baselines; Tables 5–6 specify AraBERTv2; Tables 7–8 only say Baseline, and the paper does not state the model name in the tables.
    • Benchmarks/datasets: Track A uses AHA-Memes; Track B combines ArabicDialectSafety and AraSafe.

    The authors position this paper as: building on the above work, placing multimodal memes and LLM prompts in the same evaluation framework, and covering both settings with binary and fine-grained classification.

  3. How does the paper address this problem?

    ArGuard uses AHA-Memes and dialect safety data, sets four subtasks and ranks by macro-F1.

    ArGuard 2026 turns Arabic harmful content detection into a shared task: Track A looks at memes, Track B looks at LLM prompts, each with binary and fine-grained classification.

    Task Definition

    • A1: Classify memes as Hateful or Not Hateful. Direct or indirect attacks based on protected characteristics (race, religion, nationality, gender, sexual orientation, disability, or disease) are hateful; offensive content not targeting a protected group is labeled Not Hateful.
    • A2: Ten-class multi-label. Hate attack types are Mocking, Incitement, Dehumanization, Slurs, Contempt, Inferiority, Exclusion; non-hate subtypes are Humor, Sarcasm; Other can be used for either binary class. A meme can have multiple fine-grained labels.
    • B1: Prompts are classified as Safe or Unsafe. Unsafe expresses explicit or implicit harmful intent; Safe can discuss sensitive topics but does not request harmful behavior.
    • B2: Single-label seven-class classification on a task-specific pool, independent of the B1 safety labels: Self-Harm, Harm to Others, Harassment, Fraud & Deception, Bullying, Hate Speech, Adult Content.
    • Both tracks require combining evidence: in A, hate may come from the relationship between the image and the overlaid text; each sample contains the meme image and its OCR text.

    Data and Splits

    • Track A: AHA-Memes has 5,000 human-annotated Arabic memes from public sources on Facebook, Instagram, Pinterest, Twitter/X, deduplicated and OCR-filtered, retaining instances with both visual and text. Native annotators labeled according to a bilingual guideline. Cohen’s κ is macro-averaged over label–annotator pairs: 0.91 for binary, 0.75 for hate types, 0.67 for non-hate subtypes.
    • Splits: During the development phase, train and dev are used for training and submissions on dev_test; then dev_test labels are released, and final training can use 4,500 instances, with 500 blind test instances. Table 1: train/dev/dev-test/test are 3,500/500/500/500. In the annotated splits, 37.8% are Hateful. Among fine-grained labels, Mocking is the most frequent (1,007 total), Exclusion the least (17 total).
    • Track B: Combines ArabicDialectSafety and AraSafe, with no duplicate prompts across the two sources. The former provides 21,066 human-annotated prompts covering six variants: MSA, Syrian, Egyptian, Algerian, Palestinian, Moroccan; AraSafe adds 5,981 test-set prompts. Train and dev use only ArabicDialectSafety; the test set combines both sources. B1 has 27,047 instances total, B2 task pool 25,219.
    • Label Alignment: Some AraSafe fine-grained labels were recoded to the ArabicDialectSafety scheme, e.g., Safe→safe, Illegal Activities→Bully, Violence or Harm→harm-to-others. The authors note that some mappings are not exact, especially harm-to-others, harassment, and Bully, which may cause systems to misclassify a small number of test items. The test set remains blind during the competition; the discrepancy is disclosed to participants after the competition. ArabicDialectSafety’s Cohen’s κ: 0.88 for safe/unsafe, 0.81 for harm categories.
    • Distribution: In Table 2, B1 train/dev are predominantly Unsafe (13,437/1,930), test is near-balanced (Safe 3,958, Unsafe 3,851). Among harm categories, Adult Content is the most frequent (6,560 total), Hate Speech the least (1,429 total).

    Evaluation Protocol

    • Official metric is macro-F1. A1 averages F1 over Hateful and Not Hateful; A2 computes F1 per fine-grained label and macro-averages, weighting frequent and rare classes equally. B1 averages F1 over Safe and Unsafe; B2 computes F1 per harm category and macro-averages.
    • For analysis, accuracy is also reported; A also reports macro precision, recall, weighted F1, and per-class F1. B also reports accuracy.
    • All four subtasks have organizer baselines. Submission counts for A1–A2, B1, B2 are 16, 11, 22, 17.

    Main Designs of Participating Systems

    • Track A: Most systems fuse Arabic text encoders (mostly MARBERTv2 or AraBERT) with CLIP, SigLIP, ViT, or ResNet via late, gated, or attention fusion; others use LoRA or QLoRA to adapt Qwen3-VL, Llama-3.2-Vision, Gemma 4, or classify LLM embeddings. A1 also includes text-only MARBERTv2. A2 commonly uses multi-task learning, label-aware objectives, hierarchical constraints, ensembles, and class thresholds.
    • A1 Best System (iMak AI Lab): Ensemble of 22 models, 18 VLM based on Qwen3-VL and 4 Arabic text encoders based on MARBERTv2 and AraBERTv02-twitter. The VLM processes both image and OCR text; the text branch uses only OCR. Text models primarily use binary classification with a secondary 10-class multi-label objective. Probability fusion is P(Hateful) = 0.85 P_VLM + 0.15 P_text. Uses only official data, no external data or augmentation.
    • A2 Best System (Ahmed Younis): LoRA fine-tuning on Qwen3-VL-8B-Instruct (QCRI/MemeLens-VLM) adapted for Arabic meme understanding, with the vision tower frozen and a classification head on the final hidden state instead of generating text. Jointly trains A1 and A2: one binary output and 10 sigmoid outputs, with class-weighted binary cross-entropy. Finally averages probabilities from 8 random seed models, 5 trained on the official training set and 3 on train plus dev.
    • Track B: Primarily encoders like MARBERTv2, AraBERT, CAMeLBERT, often ensembled, or supplemented with TF-IDF and character n-grams; also fine-tuned Jais, ALLaM-based inference, translate-then-classify, LLM embeddings, and lightweight lexical models. Some systems use dialect-specific models, routing, or input prefixes to explicitly include dialect information.
    • B1 Best System (AK_QMUL): 4-bit QLoRA adaptation of Jais-6.7B, with a linear classifier on the last non-padding hidden state, class-weighted cross-entropy, and final refit on train plus dev. Dialect-decomposed objective predicts four classes: safe-MSA, safe-other, unsafe-MSA, unsafe-other, collapsed to binary at inference. Because safe-MSA is low in the data, augment that class with manually written safe MSA prompts from AraSafe.
    • B2 Best System: Same Jais-6.7B and QLoRA setup, but a direct seven-class classifier without external augmentation. Averages softmax probabilities from five models with seeds 42–46, selecting the class with the highest average probability; no additional stacking, threshold tuning, or post-processing.
    • Common practices across tracks include class weighting or focal loss, multi-seed and multi-model ensembling, data augmentation, and threshold tuning. Several Track B systems also identify and correct train–test class prior shift.
  4. What experiments did the paper conduct?

    In the blind test of the four subtasks, ranked by macro-F1, A2 was the highest at 0.419, and B1 was the highest at 0.984.

    Experimental Setup

    • Task Scale: 58 teams registered, 35 entered final evaluation, 27 submitted system description papers. Submission counts for A1, A2, B1, B2 are 16, 11, 22, 17.
    • Data: Track A blind test 500 memes (AHA-Memes total 5,000). Track B B1 test set 7,809 instances (total 27,047), B2 test pool 5,979 (total 25,219).
    • Systems Tested: Participating main models include AraBERT, MARBERTv2, CAMeLBERT, Qwen3-VL (including 8B/32B and Qwen3-VL-8B-Instruct), Jais-6.7B, CLIP, SigLIP, ViT, ResNet, Llama-3.2-Vision, Gemma 4, ALLaM-7B, DeepSeek-V4, etc.; Tables 3–4 list backbones and techniques by team.
    • Baselines: A1, A2 are AraBERTv2. B1, B2 tables show Baseline; the paper does not specify the model name in the table.
    • Metrics: Official ranking is macro-F1. A2 also reports micro-F1. Analysis metrics include accuracy; A also includes macro precision, recall, weighted F1, and per-class F1. The paper does not report number of repetitions or significance tests.
    • Review: Labels come from human annotation; systems submit predictions, ranked by organizer on macro-F1. The paper does not mention an LLM review model.

    Main Results

    Official test set macro-F1 (A1/B1/B2 also give accuracy; A2 gives micro-F1 and macro-F1). Only top few, baseline, and lowest score in each table are listed.

    Swipe horizontally to read the table

    SubtaskSystemAcc or Mi-F1Ma-F1Source
    A1iMak AI LabAcc 0.8460.823Table 5
    A1AraBERTv2 baselineAcc 0.7060.678Table 5
    A1kannanrrkAcc 0.7340.692Table 5
    A2Ahmed YounisMi-F1 0.5760.419Table 6
    A2AraBERTv2 baselineMi-F1 0.4110.295Table 6
    A2NAMAA (10th)Mi-F1 0.4200.242Table 6
    B1AK_QMUL; Lattice AIAcc 0.9840.984Table 7
    B1BaselineAcc 0.6240.592Table 7
    B1_orni_Acc 0.3680.295Table 7
    B2AK_QMULAcc 0.8010.790Table 8
    B2BaselineAcc 0.7020.687Table 8
    B2kannanrrkAcc 0.2210.056Table 8
    • The authors state that all A1 submissions across the four subtasks are above baseline; A2 highest 0.419, fine-grained is clearly harder. B1 top two tie at 0.984, from fine-tuned Jais decoder and Arabic encoder ensemble respectively. B2 highest 0.790, against baseline 0.687, top two differ by 0.002.
    • In Table 5, A1 second place is DetectorAI with macro-F1 0.790. In Table 6, A2 second place iMak AI Lab is 0.390; rank 6 QuadCore (0.335) is higher than several systems after rank 7, but two NAMAA submissions are 0.314 and 0.242, the latter below baseline 0.295. In Table 7, systems ranked 16–20 have macro-F1 from 0.654 to 0.609, still above baseline 0.592, rank 21 _orni_ is 0.295. In Table 8, CalibGuard (0.689) is above baseline, then scalarlab (0.681), dbilianos (0.612) below baseline.
    • The tables omit intermediate ranks. A1 does not list teams among ranks 2–15 except those mentioned; A2 does not list specific scores for ranks 3–9; B1 does not list any scores for ranks 2–20 except baseline position; B2 does not list ranks 2–13.

    Memes: Modality and Errors

    • What was tested: The authors compare text-only systems with text–vision fusion and cite modality ablations from participating papers.
    • Results: The authors state that text-only MARBERTv2 outperforms many systems fusing CLIP, SigLIP, ViT, or ResNet; Hossain (2026) and Tonny et al. (2026) find adding image features harmful, and when fusion helps, the gain is small (Ilesanmi et al., 2026). The top three all LoRA fine-tune Qwen3-VL on both modalities; the winner’s VLM ensemble is 8 points higher than its own text-only ensemble (Lipinski and Makarov, 2026). The paper does not list the two macro-F1 values corresponding to that 8-point difference.
    • Authors’ interpretation: OCR text carries most of the predictive signal, but the strongest systems still benefit from multimodal VLMs, ensembling, and class-aware training. Remaining errors concentrate on distinguishing hateful Mocking from benign Sarcasm and Humor, where the key is who is being attacked.

    Distribution Shift and Rare Classes

    • A2: The authors state that the test set contains fewer hateful memes and more Humor, Sarcasm, and Contempt relative to training. Younis (2026) tunes class decision thresholds and uses hierarchy-aware decoding. Dynamos and DetectorAI perform especially low on the rare class Exclusion (Wahid et al., 2026; Al-Ani and Hassaan, 2026); the paper does not give per-class F1 for that class.
    • B1: Unsafe is about 80% of train and development, but only 49% of the test set. Several systems use threshold tuning or prior correction. The authors state this indicates calibration is as important as representation learning. Table 2 counts: train Unsafe 13,437/16,833, dev 1,930/2,405, test 3,851/7,809.
    • B2: The authors state that further improvement may require better distinguishing similar harm categories. Inexact AraSafe label mapping causes a small number of test items to be misclassified; the paper does not give the number of misclassified items.

    Other Ablations and Analyses

    • The authors compare model families: the meme track is led by multimodal and VLM ensembles; on the prompt safety track, both decoder LLMs and Arabic encoder ensembles are strong, with no single model family leading across all tasks.
    • Class-aware training, ensembling, and threshold tuning are common in strong systems. iMak’s fusion weights are 0.85 (VLM) and 0.15 (text); AK_QMUL’s B2 uses five models with seeds 42–46.
    • A2 labels range from hundreds of Mocking to only a few Exclusion; Table 1 shows Exclusion train/dev/dev-test/test as 10/4/0/3.
    • B1 best system augments with manually written safe MSA prompts from AraSafe due to low safe-MSA proportion; B2 best system uses no external data.
    • The paper does not report a full table of per-class F1 values, nor statistical significance.
  5. What are some points that can be further explored?

    The authors hope to fill in rare attack types, more dialects and code-switching, and examine robustness across cultures and data sources.

    Limitations and future directions noted by the authors

    • Rare classes: The Limitations section states that Track A fine-grained labels are highly imbalanced, and a few attack strategy categories (e.g., Exclusion) have relatively few training samples, which may make per-class estimates less stable. The Conclusion and Future Work section states that future work should improve coverage of rare hate attack types.
    • Dialect coverage: The Limitations section states that Track B currently covers six Arabic varieties, with more dialects and code-switched text left for expansion. The Conclusion also states extending prompt safety evaluation to more dialects and code-switched Arabic.
    • Robustness: The Conclusion and Future Work section states that robustness across cultural contexts and data sources should be studied.
    • Label mapping: In Section 3.2, the authors acknowledge that differences in label mapping from AraSafe to ArabicDialectSafety are a limitation and were disclosed to participants after the competition.
    • Deployment risk: The Ethics section states that systems trained on this data may miss harmful content and may also over-flag benign content, and should be used with human oversight rather than as automated moderators. This is the authors' statement on usage.

    Experimental coverage

    • The final evaluation had 35 teams and 27 system descriptions; the number of submissions for the four subtasks was 16, 11, 22, and 17, respectively, all ranked by macro-F1 on the blind test set.
    • Track A data is 5,000 memes from AHA-Memes, with 500 in the blind test; annotation agreement is κ 0.91 for binary, 0.75 for hate type, and 0.67 for non-hate subtype.
    • Track B combines ArabicDialectSafety (21,066 items, six varieties) with AraSafe test prompts; B1 has 27,047 items total, and the B2 pool has 25,219 items. The κ for safe/unsafe is 0.88, and for harm category is 0.81.
    • The organizers reported model families, fusion, imbalance handling, and ensembling of participating systems, and discussed OCR and image features and train–test prior shift. The paper does not give full per-class F1 in the main text, nor does it report significance tests or number of repeats.
    • Data release: The authors state that Task A (AHA-Memes) is publicly available for non-commercial research; Task B is provided through a controlled access process.
  6. Summarize the main content of the paper

    ArGuard uniformly evaluates Arabic memes and prompt safety; fine-grained meme macro-F1 highest 0.419.

    ArGuard 2026 is a shared task for Arabic harmful content, placing meme hate detection and LLM prompt safety in the same evaluation framework.

    • Problem: Arabic harmful content spans MSA and dialects, and appears as image–text memes or prompts attempting to elicit unsafe responses. Existing resources often study them separately and tend toward binary classification or propaganda labels.
    • Tasks: A1 judges whether a meme is hateful, A2 does ten-class multi-label (seven attack types, Humor, Sarcasm, and Other). B1 judges prompts Safe/Unsafe, B2 does seven harm categories. Official metrics are all macro-F1. Track A uses 5,000 AHA-Memes, blind test 500; Track B combines ArabicDialectSafety and AraSafe.
    • Participation: 58 teams registered, 35 entered final evaluation, 27 submitted system descriptions. Systems cover Arabic encoders, VLMs, decoder LLMs, and lexical models.
    • Results: A1 highest macro-F1 is 0.823 (iMak AI Lab; AraBERTv2 baseline 0.678). A2 highest 0.419 macro-F1, 0.576 micro-F1 (Ahmed Younis; baseline 0.295). On B1, AK_QMUL and Lattice AI both 0.984 (baseline 0.592). B2 highest 0.790 (AK_QMUL; baseline 0.687), top two differ by 0.002.
    • Authors’ conclusions: Fine-grained classification is harder than binary, with the largest gap on memes. OCR text carries most of the meme signal, but the strongest systems still use VLMs, ensembling, and class-aware training. On the prompt side, train–test class prior and source shift affect generalization; distribution-aware strategies, external data, or zero-shot LLMs perform robustly. Class-aware training, ensembling, and threshold tuning are common in strong systems. Future work points to rare attack types, more dialects and code-switching, and robustness across cultures and data sources.
Read originalProceedings of The Fourth Arabic Natural Language Processing Conference: Shared Tasks 2026