A review of sentiment analysis research in Arabic language

Oumaima Oueslati, Erik Cambria, Moez Ben HajHmida, Habib Ounelli · DOI

Introduction: The Linguistic Wall

Arabic is the fourth most used language on the internet, yet sentiment analysis (SA) for it remains in its relative infancy compared to English. The "Arab Spring" and the subsequent explosion of social media have made mining Arabic opinions a high-stakes endeavor for politics, economics, and customer service. However, researchers face a massive linguistic wall characterized by diglossia: a sharp divide between formal Modern Standard Arabic (MSA) and the diverse, unstandardized dialects used in daily life.

Beyond diglossia, Arabic morphology is incredibly complex. A single word can contain a root, prefixes, and suffixes that change its entire meaning. Traditional "bilingual" approaches—translating Arabic to English or vice versa—often fail because they strip away these crucial nuances. The field is currently transitioning from MSA toward the complex, "resource-poor" world of local dialects and the Latin-script "Arabizi" used across social media.

Key challenges in Arabic Sentiment Analysis, including linguistic and data-related hurdles.

Technical Approaches in ASA

Research in Arabic Sentiment Analysis (ASA) generally follows three primary technical paths:

  1. Monolingual Approaches:
  2. Machine Learning (ML): Standard supervised classifiers like Support Vector Machines (SVM), Naïve Bayes (NB), and K-Nearest Neighbor (KNN) are the traditional workhorses.
  3. Deep Learning (DL): Since 2017, there has been a surge in using CNNs, LSTMs, and Recursive Auto-Encoders (RAE) to automatically learn features from raw text, bypassing the need for manual linguistic rules.
  4. Lexicon-based: These methods use pre-defined dictionaries of sentiment-bearing words to calculate a "polarity score."
  5. Bilingual Approaches: These leverage high-resource languages (like English) via Machine Translation (MT) to either translate Arabic text into English for analysis or to translate English sentiment lexicons into Arabic.
  6. Hybrid Approaches: Combining lexicons with machine learning to improve accuracy, particularly in handling "fuzziness" where a review contains conflicting sentiment elements.

The field has seen a distinct shift in focus over the last decade. While early research focused almost exclusively on MSA, there is a growing movement toward the complex world of local dialects and "Arabizi."

Evolution of research focus in ASA, showing the rise of Deep Learning and dialect-focused studies over time.

As shown in the trends above, while MSA remains a dominant focus, research into dialects and Deep Learning has seen significant growth since 2014. Conversely, the use of Arabizi remains an underserved area despite its prevalence in social media.

Key Insights and Results

Several critical findings emerge from recent surveys:

  • The "MT Trap": Bilingual approaches are often inept because they cannot handle Arabic's unique structure. Translation often distorts meaning or ignores dialectal slang entirely.
  • The Arabizi Blind Spot: Traditionally, researchers filtered out Latin characters during preprocessing. However, in social media, these characters often represent "Arabizi." Deleting them results in losing significant sentiment data.
  • Morphology and Preprocessing: Tailored preprocessing (normalization, light stemming) significantly boosts classifier accuracy. In classical ML, SVM consistently shows superior performance.
  • The Deep Learning Edge: DL models are pushing the envelope. Character-level CNNs have achieved up to 94.33% accuracy on certain datasets by capturing sub-word nuances that traditional models miss.

Future Frontiers

Despite progress, several "open frontiers" remain for ASA. Sarcasm and spam detection are particularly difficult; sarcasm often uses positive words to convey negative sentiment, requiring deep contextual understanding. Furthermore, there is an urgent need for more diverse, publicly available corpora covering the full spectrum of Arab dialects (beyond the currently dominant Egyptian dialect) and the "code-switching" common among younger users. Moving toward "Sentic" computing—understanding the semantics and common-sense logic behind multi-word expressions—will be the next major step for the field.

Summary updated

BibTeX
@article{oueslati2020review,
  author = {Oumaima Oueslati and Erik Cambria and Moez Ben HajHmida and Habib Ounelli},
  title = {{A review of sentiment analysis research in Arabic language}},
  journal = {Future Generation Computer Systems},
  year = {2020},
  doi = {10.1016/j.future.2020.05.034},
}
Figure