ArabBert-LSTM: improving Arabic sentiment analysis based on transformer model and Long Short-Term Memory

被引:3
作者
Alosaimi, Wael [1 ]
Saleh, Hager [2 ,3 ,4 ]
Hamzah, Ali A. [5 ]
El-Rashidy, Nora [6 ]
Alharb, Abdullah [1 ]
Elaraby, Ahmed [7 ]
Mostafa, Sherif [2 ]
机构
[1] Taif Univ, Coll Comp & Informat Technol, Dept Informat Technol, Taif, Saudi Arabia
[2] South Valley Univ, Fac Comp & Artificial Intelligence, Hurghada, Egypt
[3] Galway Univ, Data Sci Inst, Galway, Ireland
[4] Atlantic Technol Univ, Letterkenny, Ireland
[5] Ahram Canadian Univ, 6th Of October City, Egypt
[6] Kafrelsheiksh Univ, Fac Artificial Intelligence, ML & Informat Retrieval Dept, Kafrelsheiksh, Egypt
[7] South Valley Univ, Fac Comp & Informat, Dept Comp Sci, Qena, Egypt
来源
FRONTIERS IN ARTIFICIAL INTELLIGENCE | 2024年 / 7卷
关键词
sentiment analysis; transformer models; deep learning; machine learning; Arabic sentiment analysis; Long Short-Term Memory;
D O I
10.3389/frai.2024.1408845
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Sentiment analysis also referred to as opinion mining, plays a significant role in automating the identification of negative, positive, or neutral sentiments expressed in textual data. The proliferation of social networks, review sites, and blogs has rendered these platforms valuable resources for mining opinions. Sentiment analysis finds applications in various domains and languages, including English and Arabic. However, Arabic presents unique challenges due to its complex morphology characterized by inflectional and derivation patterns. To effectively analyze sentiment in Arabic text, sentiment analysis techniques must account for this intricacy. This paper proposes a model designed using the transformer model and deep learning (DL) techniques. The word embedding is represented by Transformer-based Model for Arabic Language Understanding (ArabBert), and then passed to the AraBERT model. The output of AraBERT is subsequently fed into a Long Short-Term Memory (LSTM) model, followed by feedforward neural networks and an output layer. AraBERT is used to capture rich contextual information and LSTM to enhance sequence modeling and retain long-term dependencies within the text data. We compared the proposed model with machine learning (ML) algorithms and DL algorithms, as well as different vectorization techniques: term frequency-inverse document frequency (TF-IDF), ArabBert, Continuous Bag-of-Words (CBOW), and skipGrams using four Arabic benchmark datasets. Through extensive experimentation and evaluation of Arabic sentiment analysis datasets, we showcase the effectiveness of our approach. The results underscore significant improvements in sentiment analysis accuracy, highlighting the potential of leveraging transformer models for Arabic Sentiment Analysis. The outcomes of this research contribute to advancing Arabic sentiment analysis, enabling more accurate and reliable sentiment analysis in Arabic text. The findings reveal that the proposed framework exhibits exceptional performance in sentiment classification, achieving an impressive accuracy rate of over 97%.
引用
收藏
页数:17
相关论文
共 63 条
[1]  
Abdul-Mageed M., 2023, arXiv, DOI [10.18653/v1/2023.arabicnlp-1.62, DOI 10.18653/V1/2023.ARABICNLP-1.62]
[2]  
Ahmed D., 2021, International Conference on Emerging Technologies and Intelligent Systems, P623
[3]  
Ahmed M, 2021, FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL-IJCNLP 2021, P488
[4]  
Al Omari M, 2019, 2019 SIXTH INTERNATIONAL CONFERENCE ON SOCIAL NETWORKS ANALYSIS, MANAGEMENT AND SECURITY (SNAMS), P364, DOI [10.1109/SNAMS.2019.8931819, 10.1109/snams.2019.8931819]
[5]   Enhancing Aspect-Based Sentiment Analysis of Arabic Hotels' reviews using morphological, syntactic and semantic features [J].
Al-Smadi, Mohammad ;
Al-Ayyoub, Mahmoud ;
Jararweh, Yaser ;
Qawasmeh, Omar .
INFORMATION PROCESSING & MANAGEMENT, 2019, 56 (02) :308-319
[6]   AraSenTi-Tweet: A Corpus for Arabic Sentiment Analysis of Saudi Tweets [J].
Al-Twairesh, Nora ;
Al-Khalifa, Hend ;
Al-Salman, AbdulMalik ;
Al-Ohali, Yousef .
ARABIC COMPUTATIONAL LINGUISTICS (ACLING 2017), 2017, 117 :63-72
[7]   BERT Models for Arabic Text Classification: A Systematic Review [J].
Alammary, Ali Saleh .
APPLIED SCIENCES-BASEL, 2022, 12 (11)
[8]  
Alayba AM, 2018, 2018 IEEE 2ND INTERNATIONAL WORKSHOP ON ARABIC AND DERIVED SCRIPT ANALYSIS AND RECOGNITION (ASAR), P13, DOI 10.1109/ASAR.2018.8480191
[9]  
Alayba AM, 2017, 2017 1ST INTERNATIONAL WORKSHOP ON ARABIC SCRIPT ANALYSIS AND RECOGNITION (ASAR), P114, DOI 10.1109/ASAR.2017.8067771
[10]  
Alharbi L. M., 2021, 2021 National Computing Colleges Conference (NCCC), P1