Previous Article in Journal
Novel Extreme-Lightweight Fully Convolutional Network for Low Computational Cost in Microbiological and Cell Analysis: Detection, Quantification, and Segmentation
Previous Article in Special Issue
A Multimodal Machine Learning Model in Pneumonia Patients Hospital Length of Stay Prediction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Explainable Deep Learning for COVID-19 Vaccine Sentiment in Arabic Tweets Using Multi-Self-Attention BiLSTM with XLNet

by
Asmaa Hashem Sweidan
1,
Nashwa El-Bendary
2,
Shereen A. Taie
1,
Amira M. Idrees
3,* and
Esraa Elhariri
1
1
Faculty of Computers and Artificial Intelligence, Fayoum University, Fayoum 63514, Egypt
2
College of Computing and Information Technology, Arab Academy for Science, Technology, and Maritime Transport (AASTMT), Aswan 81516, Egypt
3
College of Business, King Khalid University, Abha 61421, Saudi Arabia
*
Author to whom correspondence should be addressed.
Big Data Cogn. Comput. 2025, 9(2), 37; https://doi.org/10.3390/bdcc9020037
Submission received: 29 November 2024 / Revised: 18 January 2025 / Accepted: 24 January 2025 / Published: 10 February 2025

Abstract

The COVID-19 pandemic has generated a vast corpus of online conversations regarding vaccines, predominantly on social media platforms like X (formerly known as Twitter). However, analyzing sentiment in Arabic text is challenging due to the diverse dialects and lack of readily available sentiment analysis resources for the Arabic language. This paper proposes an explainable Deep Learning (DL) approach designed for sentiment analysis of Arabic tweets related to COVID-19 vaccinations. The proposed approach utilizes a Bidirectional Long Short-Term Memory (BiLSTM) network with Multi-Self-Attention (MSA) mechanism for capturing contextual impacts over long spans within the tweets, while having the sequential nature of Arabic text constructively learned by the BiLSTM model. Moreover, the XLNet embeddings are utilized to feed contextual information into the model. Subsequently, two essential Explainable Artificial Intelligence (XAI) methods, namely Local Interpretable Model-Agnostic Explanations (LIME) and SHapley Additive exPlanations (SHAP), have been employed for gaining further insights into the features’ contributions to the overall model performance and accordingly achieving reasonable interpretation of the model’s output. Obtained experimental results indicate that the combined XLNet with BiLSTM model outperforms other implemented state-of-the-art methods, achieving an accuracy of 93.2% and an F-measure of 92% for average sentiment classification. The integration of LIME and SHAP techniques not only enhanced the model’s interpretability, but also provided detailed insights into the factors that influence the classification of emotions. These findings underscore the model’s effectiveness and reliability for sentiment analysis in low-resource languages such as Arabic.
Keywords: Arabic sentiment analysis (ASA); deep learning; explainable artificial intelligence (XAI); multi-self-attention; natural language processing; XLNet embeddings Arabic sentiment analysis (ASA); deep learning; explainable artificial intelligence (XAI); multi-self-attention; natural language processing; XLNet embeddings

Share and Cite

MDPI and ACS Style

Sweidan, A.H.; El-Bendary, N.; Taie, S.A.; Idrees, A.M.; Elhariri, E. Explainable Deep Learning for COVID-19 Vaccine Sentiment in Arabic Tweets Using Multi-Self-Attention BiLSTM with XLNet. Big Data Cogn. Comput. 2025, 9, 37. https://doi.org/10.3390/bdcc9020037

AMA Style

Sweidan AH, El-Bendary N, Taie SA, Idrees AM, Elhariri E. Explainable Deep Learning for COVID-19 Vaccine Sentiment in Arabic Tweets Using Multi-Self-Attention BiLSTM with XLNet. Big Data and Cognitive Computing. 2025; 9(2):37. https://doi.org/10.3390/bdcc9020037

Chicago/Turabian Style

Sweidan, Asmaa Hashem, Nashwa El-Bendary, Shereen A. Taie, Amira M. Idrees, and Esraa Elhariri. 2025. "Explainable Deep Learning for COVID-19 Vaccine Sentiment in Arabic Tweets Using Multi-Self-Attention BiLSTM with XLNet" Big Data and Cognitive Computing 9, no. 2: 37. https://doi.org/10.3390/bdcc9020037

APA Style

Sweidan, A. H., El-Bendary, N., Taie, S. A., Idrees, A. M., & Elhariri, E. (2025). Explainable Deep Learning for COVID-19 Vaccine Sentiment in Arabic Tweets Using Multi-Self-Attention BiLSTM with XLNet. Big Data and Cognitive Computing, 9(2), 37. https://doi.org/10.3390/bdcc9020037

Article Metrics

Back to TopTop