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

被引:0
|
作者
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
来源
关键词
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
相关论文
共 50 条
  • [1] Arabic Language Opinion Mining Based on Long Short-Term Memory (LSTM)
    Setyanto, Arief
    Laksito, Arif
    Alarfaj, Fawaz
    Alreshoodi, Mohammed
    Kusrini
    Oyong, Irwan
    Hayaty, Mardhiya
    Alomair, Abdullah
    Almusallam, Naif
    Kurniasari, Lilis
    APPLIED SCIENCES-BASEL, 2022, 12 (09):
  • [2] Text Sentiment Analysis Based on Long Short-Term Memory
    Li, Dan
    Qian, Jiang
    2016 FIRST IEEE INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND THE INTERNET (ICCCI 2016), 2016, : 471 - 475
  • [3] Enhanced Long Short-Term Memory (ELSTM) Model for Sentiment Analysis
    Tiwari, Dimple
    Nagpal, Bharti
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2021, 18 (06) : 846 - 855
  • [4] Long short-term memory (LSTM)-based news classification model
    Liu, Chen
    PLOS ONE, 2024, 19 (05):
  • [5] Using long short-term memory deep neural networks for aspect-based sentiment analysis of Arabic reviews
    Mohammad Al-Smadi
    Bashar Talafha
    Mahmoud Al-Ayyoub
    Yaser Jararweh
    International Journal of Machine Learning and Cybernetics, 2019, 10 : 2163 - 2175
  • [6] Using long short-term memory deep neural networks for aspect-based sentiment analysis of Arabic reviews
    Al-Smadi, Mohammad
    Talafha, Bashar
    Al-Ayyoub, Mahmoud
    Jararweh, Yaser
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2019, 10 (08) : 2163 - 2175
  • [7] An efficient sentiment analysis methodology based on long short-term memory networks
    J. Shobana
    M. Murali
    Complex & Intelligent Systems, 2021, 7 : 2485 - 2501
  • [8] An efficient sentiment analysis methodology based on long short-term memory networks
    Shobana, J.
    Murali, M.
    COMPLEX & INTELLIGENT SYSTEMS, 2021, 7 (05) : 2485 - 2501
  • [9] A sentiment analysis method based on bidirectional long short-term memory networks
    Zhang, Haifei
    Xu, Jian
    Lei, Liting
    Qiu Jianlin
    Alshalabi, Riyad
    APPLIED MATHEMATICS AND NONLINEAR SCIENCES, 2023, 8 (01) : 55 - 68
  • [10] Coreloss Estimation via Long Short-Term Memory Model (LSTM) of Dry-Type Transformer based on FEA
    Kul, Seda
    Yildiz, Berat
    Tamyurek, Bunyamin
    Iskender, Ires
    10TH IEEE INTERNATIONAL CONFERENCE ON RENEWABLE ENERGY RESEARCH AND APPLICATIONS (ICRERA 2021), 2021, : 357 - 361