Addressing the Complexity of Dialectal Arabic: An Enhanced Encoder-Decoder Ensemble Approach for Optimized Sentiment Analysis
Open Access
- 18 June 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Asian and Low-Resource Language Information Processing
- Vol. 24 (6) , 1-21
Abstract
Sentiment analysis has become an essential tool in understanding global narratives across social, economic, political, and commercial sectors. As social media platforms increasingly produce vast amounts of uncontrolled textual data, the need to analyze content in regional languages has grown significantly. This article focuses on the unique challenges posed by sentiment analysis in Arabic and dialectal Arabic, with a special emphasis on the Algerian Dialects often referred to as Darija, which is characterized by its linguistic diversity and multilingual nature. One of the primary issues addressed is the lack of annotated datasets for this dialect and the complexities of accurately interpreting this diverse language. To tackle these challenges, we present DZDialect, a new dataset comprising 117,569 annotated comments, and we explore various advanced methodologies for sentiment analysis. Furthermore, the study compares the performance of machine learning algorithms (SVM, NBM, and KNN), deep learning algorithms (LSTM and CNN) using wor2vec as word embedding tool, and transformer-based classifiers (AraBERT Base, AraBERT Mini, AraBERT Medium, DistilBERT Multilingual, and AraGPT-2) in classifying social media posts into positive or negative sentiment categories. In addition, we introduce an innovative ensemble architecture that combines multiple pre-trained models for enhanced performance. The system leverages DistilBERT and AraBERT Base as encoders, while AraGPT-2 serves as the decoder. These components work in concert through a sophisticated stacking and voting mechanism. The results reveal promising accuracy rates, with the AraBERT Base model achieving 87.9%, the LSTM model 85%, and the SVM classifier 82%. The stacking model attained an accuracy of 91.1%, while the majority voting model reached 90%. This research contributes valuable insights into sentiment analysis for dialectal Arabic, with practical implications for real-world applications across various sectors.Keywords
This publication has 30 references indexed in Scilit:
- Sentiment Analysis of Arabic Dialects: A Review Study2024
- Sentiment Analysis of Algerian Dialect Using a Deep Learning Approach2022
- Comparative study of various approaches, applications and classifiers for sentiment analysisGlobal Transitions Proceedings, 2021
- SANA: Sentiment analysis on newspapers comments in AlgeriaJournal of King Saud University Computer and Information Sciences, 2021
- An Experimental Study on Sentiment Classification of Algerian Dialect TextsProcedia Computer Science, 2020
- Ensemble learning: A surveyWIREs Data Mining and Knowledge Discovery, 2018
- AraSenTi-Tweet: A Corpus for Arabic Sentiment Analysis of Saudi TweetsProcedia Computer Science, 2017
- A web-based tool for Arabic sentiment analysisProcedia Computer Science, 2017
- Ensemble-based classifiersArtificial Intelligence Review, 2009
- Stacked generalizationNeural Networks, 1992