mucAI at Ahasis Shared Task: Sentiment Analysis with Adaptive Few Shot Prompting

Ahmed Mohamed Abdelaal Abdou


Abstract
Sentiment Analysis is a crucial task in Natural Language Processing (NLP) focused on identifying and categorizing emotional tones or opinions within text. For Arabic customer reviews, sentiment analysis is particularly challenging. The language’s rich diversity, with numerous regional dialects differing significantly from Modern Standard Arabic (MSA) and each other in lexicon, syntax, and sentiment expression, complicates consistent performance across dialects. In this paper, we present our approach, submitted to the AHASIS Shared Task 2025, focusing on sentiment analysis for Arabic dialects in the hotel domain. Our method leverages the capabilities of GPT-4o through adaptive few-shot prompting technique, where similar contextual examples are dynamically selected for each review using a k-Nearest Neighbors (kNN) search over train embeddings from a fine-tuned encoder model. This approach tailors the prompt to each specific instance, enhancing classification performance over minority class. Our submission achieved an F1-score of 76.0% on the official test set, showing stronger performance for the Saudi dialect compared to Darija.
Anthology ID:
2025.ranlp-ahasis.9
Volume:
Proceedings of the Shared Task on Sentiment Analysis for Arabic Dialects
Month:
September
Year:
2025
Address:
Varna, Bulgaria
Editors:
Maram Alharbi, Salmane Chafik, Saad Ezzini, Ruslan Mitkov, Tharindu Ranasinghe, Hansi Hettiarachchi
Venues:
RANLP | WS
SIG:
Publisher:
INCOMA Ltd., Shoumen, Bulgaria
Note:
Pages:
54–61
Language:
URL:
https://aclanthology.org/2025.ranlp-ahasis.9/
DOI:
Bibkey:
Cite (ACL):
Ahmed Mohamed Abdelaal Abdou. 2025. mucAI at Ahasis Shared Task: Sentiment Analysis with Adaptive Few Shot Prompting. In Proceedings of the Shared Task on Sentiment Analysis for Arabic Dialects, pages 54–61, Varna, Bulgaria. INCOMA Ltd., Shoumen, Bulgaria.
Cite (Informal):
mucAI at Ahasis Shared Task: Sentiment Analysis with Adaptive Few Shot Prompting (Abdou, RANLP 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.ranlp-ahasis.9.pdf