HomeLREC 2026WorkshopsNAKBANLPlrec2026-ws-nakbanlp-20
Back to NAKBANLP 2026
LREC 2026workshop

A2NLP at StanceNakba Shared Task: Fine-Tuned AraBERT for Topic-Based Arabic Stance Detection

Proceedings of the 2nd International Workshop on Nakba Narratives as Language Resources @ LREC 2026

DOI:10.63317/5jy5nrvfrzzk

Abstract

AbstractThis paper describes A2NLP’s system for Subtask B of the StanceNakba Shared Task, which addresses cross-topic Arabic stance detection. The goal is to classify sentence–topic pairs into pro, against, or neutral labels. We introduce a topic-conditioned prompting strategy built on AraBERTv0.2-Twitter, where each instance is reformulated into a structured prompt that explicitly models the interaction between the sentence and its target topic. The model is trained using 5-fold stratified cross-validation with class-weighted loss to ensure robustness under mild label imbalance. Our final submission achieves a Macro-F1 score of 0.8483 on the official test set, outperforming the AraBERTv2 baseline (0.810) and ranking fifth overall. Ablation analysis confirms that topic-conditioned prompting substantially improves generalization across topics. The findings demonstrate the importance of structured input design and domain-aligned pretraining for reliable stance detection in dialectal Arabic social media discourse.

Details

Paper ID
lrec2026-ws-nakbanlp-20
Pages
pp. 147-159
BibKey
nairat-etal-2026-a2nlp
Editors
Mustafa Jarrar, Mo El-Haj, Amal Haddad, Serin Atiani, Shadi Abudalfa, Terry Regier, Paul Rayson, Khalil Sima’an, Camille Mansour
Publisher
European Language Resources Association (ELRA)
ISSN
N/A
ISBN
N/A
Workshop
Proceedings of the 2nd International Workshop on Nakba Narratives as Language Resources @ LREC 2026
Location
Palma, Mallorca, Spain
Date
11 - 16 May 2026

Authors

  • AN

    Alaa Nairat

  • AN

    Aysar Mahmoud Nairat

Links