Sentiment Analysis (SA) discerns the subjective tone within text, categorizing it as positive, neutral, or negative. Arabic Sentiment Analysis (ASA) has distinct obstacles owing to the language’s intricate morphology, many dialects, and elaborate linguistic frameworks. This study compares SA models for Arabic text across multiple datasets, evaluating traditional machine learning (ML) algorithms, such as Random Forest (RF) and Support Vector Machine (SVM); deep learning (DL) models, including Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU); and transformer-based models like BERT, AraBERT, and XLM-RoBERTa. Experiments on datasets—HARD, Khooli, AJGT, and Ar-Tweet—covering MSA and dialects such as Gulf and Egyptian demonstrate that transformer-based models, particularly AraBERT v02, achieve the highest accuracy of 93.9% on the HARD dataset. The study highlights the significance of dataset characteristics and the advantages of advanced models, offering valuable insights into Arabic NLP and advancing SA research.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A Comparative Evaluation of ML, DL, and Transformer Models in Arabic Sentiment Analysis

  • Amani A. Aladeemy,
  • Sachin N. Deshmukh

摘要

Sentiment Analysis (SA) discerns the subjective tone within text, categorizing it as positive, neutral, or negative. Arabic Sentiment Analysis (ASA) has distinct obstacles owing to the language’s intricate morphology, many dialects, and elaborate linguistic frameworks. This study compares SA models for Arabic text across multiple datasets, evaluating traditional machine learning (ML) algorithms, such as Random Forest (RF) and Support Vector Machine (SVM); deep learning (DL) models, including Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU); and transformer-based models like BERT, AraBERT, and XLM-RoBERTa. Experiments on datasets—HARD, Khooli, AJGT, and Ar-Tweet—covering MSA and dialects such as Gulf and Egyptian demonstrate that transformer-based models, particularly AraBERT v02, achieve the highest accuracy of 93.9% on the HARD dataset. The study highlights the significance of dataset characteristics and the advantages of advanced models, offering valuable insights into Arabic NLP and advancing SA research.