Skip to main navigation Skip to search Skip to main content

Evaluation of Pretrained and Instruction-Based Pretrained Models for Emotion Detection in Arabic Social Media Text

  • Md Rafiul Biswas
  • , Shimaa Ibrahim
  • , Mabrouka Bessghaier
  • , Wajdi Zaghoauni
  • Northwestern University in Qatar

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

Abstract

This study evaluates three approaches—instruction prompting of large language models (LLMs), instruction fine-tuning of LLMs, and transformer-based pretrained models on emotion detection in Arabic social media text. We compare pretrained transformer models like AraBERT, CaMelBERT, and XLM-RoBERTa with instruction prompting with advanced LLMs like GPT-4o, Gemini, Deepseek, and Fanar, and instruction fine-tuning approaches with LLMs like Llama 3.1, Mistral, and Phi. With a highly preprocessed dataset of 10,000 labeled Arabic tweets with overlapping emotional labels, our findings reveal that transformer-based pretrained models outperform instruction prompting and instruction fine-tuning approaches. Instruction prompts leverage general linguistic skills with maximum efficiency but fall short in detecting subtle emotional contexts. Instruction fine-tuning is more specific but trails behind pretrained transformer models. Our findings establish the need for optimized instruction-based approaches and underscore the important role played by domain-specific transformer architectures in accurate Arabic emotion detection.

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
Pages158-165
Number of pages8
ISBN (Electronic)9789544520984
DOIs
Publication statusPublished - 10 Sept 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 Sept 202510 Sept 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

Fingerprint

Dive into the research topics of 'Evaluation of Pretrained and Instruction-Based Pretrained Models for Emotion Detection in Arabic Social Media Text'. Together they form a unique fingerprint.

Cite this