Author
Listed:
- Dost Muhammad
- Iftikhar Ahmed
- Khwaja Naveed
- Malika Bendechache
Abstract
Social media platforms, such as X (formerly Twitter), provide users with concise but impactful tools to express their views and feelings. Users present their views and express their feelings in hashtags and emojis on a wide range of topics. The sheer volume of this textual data offers a rich source for analyzing public sentiment and emotions. Numerous machine learning and deep learning approaches have been presented lately for optimal emotion detection and sentiment analysis of these tweets. Given the complexity of processing human language, natural language processing (NLP) techniques face the challenge of explainability in their decision-making process. To bridge this gap, we introduce an explainable NLP-based framework for the recognition of human emotions within textual data. We propose a novel recurrent neural network architecture incorporating a bidirectional long short-term memory layer for emotion prediction and sentiment analysis on English tweets. The performance of the proposed model is evaluated with real-world X data against benchmark techniques. The proposed model achieves accuracy, precision, recall, and an F1-score of over 90%, which is higher than the considered benchmark models. Subsequently, we integrate the explainable artificial intelligence (XAI) approaches, namely, local interpretable model-agnostic explanations (LIME) and SHapely Additive exPlanation (SHAP) to explain the decision-making process behind the proposed model’s prediction. Applying these XAI techniques not only boosts the proposed model’s transparency but also reinforces its reliability in accurately processing and explaining textual data.
Suggested Citation
Dost Muhammad & Iftikhar Ahmed & Khwaja Naveed & Malika Bendechache, 2025.
"Explainable AI Models for Decoding Emotional Subtexts on Social Media,"
Complexity, Hindawi, vol. 2025, pages 1-13, May.
Handle:
RePEc:hin:complx:9258956
DOI: 10.1155/cplx/9258956
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:complx:9258956. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.