Nile Nexus at ArGuard Shared Tasks: Leakage-Controlled MARBERTv2–SVM Ensemble for Arabic Harmful-Prompt Classification

Miftahul Jannat Rishta, Sumaiya Zaman


Abstract
Arabic harmful-prompt detection has remained challenging due to dialectal variation, implicit expressions and context-dependent intent. In the ArGuard 2026 Shared Task, we have participated in Subtask B1, a binary safe/unsafe classification task scored by macro-F1. We have identified evaluation leakage in an initial pipeline: the development set has been reused for early stopping, threshold tuning and ensemble optimization, which has inflated development scores while masking poor generalization on the blind test set. To correct this, we have introduced a leakage-controlled protocol with separate fitting, checkpoint-selection and tuning splits and have compared a TF-IDF SVM baseline, MARBERTv2 and a stacking ensemble, selecting the best-performing method based on tuning-set results. We have further applied five rounds of error-driven data augmentation to address recurring failure patterns. Our final system has achieved 0.861 accuracy, 0.878 precision, 0.862 recall and 0.860 macro-F1 on the blind test leaderboard, ranking 5th. Manual error analysis has shown that remaining errors have mainly stemmed from false positives on sensitive but non-harmful content, confirming that leakage-controlled evaluation has been necessary for a reliable blind-test estimate.
Anthology ID:
2026.arabicnlp-sharedtasks.41
Volume:
Proceedings of The Fourth Arabic Natural Language Processing Conference: Shared Tasks
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Muhammad Abdul-Mageed, Tamer Elsayed, Houda Bouamor, Samhaa El-Beltagy, Hend Al-Khalifa, Ahmed Abdelali, AbdelRahim Elmadany, Abdellah El Mekki, Kareem Darwish, Sakhar Alkhereyf, Hamzah Luqman, Salam Khalifa, Samar Magdy, Zaid Alyafeai, Injy Hamed, Wajdi Zaghouani, Imed Zitouni
Venue:
ArabicNLP
SIG:
SIGARAB
Publisher:
Association for Computational Linguistics
Note:
Pages:
332–337
Language:
URL:
https://aclanthology.org/2026.arabicnlp-sharedtasks.41/
DOI:
Bibkey:
Cite (ACL):
Miftahul Jannat Rishta and Sumaiya Zaman. 2026. Nile Nexus at ArGuard Shared Tasks: Leakage-Controlled MARBERTv2–SVM Ensemble for Arabic Harmful-Prompt Classification. In Proceedings of The Fourth Arabic Natural Language Processing Conference: Shared Tasks, pages 332–337, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Nile Nexus at ArGuard Shared Tasks: Leakage-Controlled MARBERTv2–SVM Ensemble for Arabic Harmful-Prompt Classification (Rishta & Zaman, ArabicNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.arabicnlp-sharedtasks.41.pdf