Skip to main navigation Skip to search Skip to main content

Evaluating Large Language Models on Sentiment Analysis in Arabic Dialects

  • Maram Alharbi
  • , Saad Ezzini
  • , Tharindu Ranasinghe
  • , Hansi Hettiarachchi
  • , Ruslan Mitkov

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Despite recent progress in large language models (LLMs), their performance on Arabic dialects remains underexplored, particularly in the context of sentiment analysis. This study presents a comparative evaluation of three LLMs, DeepSeek-R1, Qwen2.5, and LLaMA-3, on sentiment classification across Modern Standard Arabic (MSA), Saudi dialect and Darija. We construct a balanced sentiment dataset by translating and validating MSA hotel reviews into Saudi dialect and Darija. Using parameter-efficient fine-tuning (LoRA) and dialect-specific prompts, we assess each model under matched and mismatched prompting conditions. Experimental results show that Qwen2.5 achieves the highest macro F1 score of 79% on Darija input using MSA prompts, while DeepSeek performs best when prompted in the input dialect, reaching 71% on Saudi dialect. LLaMA-3 exhibits stable performance across prompt variations, with 75% macro F1 on Darija input under MSA prompting. Dialect-aware prompting consistently improves classification accuracy, particularly for neutral and negative sentiment classes.

Original languageEnglish
Title of host publicationProceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era, RANLP 2025
EditorsGalia Angelova, Maria Kunilovskaya, Marie Escribe, Ruslan Mitkov
PublisherIncoma Ltd
Pages67-74
Number of pages8
ISBN (Electronic)9789544520984
DOIs
StatePublished - 2025
Event15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era, RANLP 2025 - Varna, Bulgaria
Duration: 8 Sep 202510 Sep 2025

Publication series

NameInternational Conference Recent Advances in Natural Language Processing, RANLP
ISSN (Print)1313-8502

Conference

Conference15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era, RANLP 2025
Country/TerritoryBulgaria
CityVarna
Period8/09/2510/09/25

Bibliographical note

Publisher Copyright:
© 2025 Incoma Ltd. All rights reserved.

ASJC Scopus subject areas

  • Software
  • Computer Science Applications
  • Artificial Intelligence
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'Evaluating Large Language Models on Sentiment Analysis in Arabic Dialects'. Together they form a unique fingerprint.

Cite this