shroukgbr at StanceNakba Shared Task: Transformer-Based Ensemble Learning for Actor-Level Stance Detection in Palestinian–Israeli Social Media Discourse

Shrouk Anwar Gbr, Mohamed Ibrahim Ragab


Abstract
Stance detection has become an essential task for understanding political discourse on social media, particularly in highly polarized contexts where sentiment alone is insufficient to capture author intent. This study addresses stance classification in discussions related to the Palestinian–Israeli conflict by developing transformer-based and ensemble learning approaches for three-class classification: Pr-Palestine, Pro-Israel, and Neutral. Using the StanceNakba 2026 Shared Task dataset, we fine-tune multiple pretrained transformer models, including MARBERT, ARBERT, BERT, RoBERTa, and DeBERTa, and evaluate their performance using stratified cross-validation with macro F1-score as the primary metric. In addition to individual model evaluation, a weighted ensemble combining BERT, RoBERTa, and DeBERTa is proposed to leverage complementary contextual representations. Experimental results show that the ensemble model achieves the best performance with an accuracy and macro F1-score of 0.8905, outperforming specialized Arabic models while maintaining strong class-wise balance. The proposed approach achieved first place on the Codabench leaderboard in both the development and final evaluation phases of the shared task, demonstrating its robustness and effectiveness in real-world stance detection settings.
Anthology ID:
2026.nakbanlp-1.44
Volume:
Proceedings of the 2nd International Workshop on Nakba Narratives as Language Resources @ LREC 2026
Month:
May
Year:
2026
Address:
Palma, Mallorca (Spain)
Editors:
Mustafa Jarrar, Mo El-Haj, Amal Haddad, Serin Atiani, Shadi Abudalfa, Terry Regier, Paul Rayson, Khalil Sima’an, Camille Mansour
Venues:
NakbaNLP | WS
SIG:
Publisher:
ELRA Language Resources Association (ELRA)
Note:
Pages:
284–288
Language:
External URL:
https://lrec.elra.info/lrec2026-ws-nakbanlp-44
DOI:
10.63317/4ej9gdhgd3vg
Bibkey:
Cite (ACL):
Shrouk Anwar Gbr and Mohamed Ibrahim Ragab. 2026. shroukgbr at StanceNakba Shared Task: Transformer-Based Ensemble Learning for Actor-Level Stance Detection in Palestinian–Israeli Social Media Discourse. In Proceedings of the 2nd International Workshop on Nakba Narratives as Language Resources @ LREC 2026, pages 284–288, Palma, Mallorca (Spain). ELRA Language Resources Association (ELRA).
Cite (Informal):
shroukgbr at StanceNakba Shared Task: Transformer-Based Ensemble Learning for Actor-Level Stance Detection in Palestinian–Israeli Social Media Discourse (Gbr & Ragab, NakbaNLP 2026)
Copy Citation: