"Sentiment Analysis: Four-Class Classification Models (Positive, Negative, Neutral, and Sarcastic) and Artificial Intelligence Challenges"

Authors

  • Abeiad Abulqasim Al-Taqazi Department of Information Technology, Al-Zahra Higher Institute of Science and Technology, Al-Zahra City, Libya Author
  • Mourad Hussein Kaib Department of Information Technology, Al-Zahra Higher Institute of Science and Technology, Al-Zahra City, Libya Author
  • Sulaiman Abduljalil Al-Moudi Department of Information Technology, Al-Zahra Higher Institute of Science and Technology, Al-Zahra City, Libya Author

DOI:

https://doi.org/10.65405/sjh.2.3.90

Keywords:

Sentiment Analysis, Sarcasm Detection, Polarity Inversion, Transformers, Multi-Task Learning, Arabic NLP

Abstract

 Sentiment Analysis (SA) is a fundamental application of Natural Language Processing (NLP), historically relying on a three-way classification (positive, negative, neutral) to evaluate public opinion trends. However, sarcasm poses a critical challenge to these systems due to "polarity inversion," leading to misleading classifications that rely on the superficial lexical tone of the text while ignoring the true intent. This paper presents a systematic literature review of recent studies to explore methodologies for overcoming this challenge, tracing the methodological evolution from traditional mechanisms to Transformer-based architectures and Multi-Task Learning (MTL) strategies. The findings demonstrate the superiority of models like RoBERTa in English (achieving an F1-score of up to 99%), while Arabic models like AraBERT recorded an accuracy approaching 84%. Furthermore, MTL frameworks proved highly effective in enhancing sarcasm detection performance through auxiliary tasks. Concurrently, the paper highlights the research gap in low-resource languages, particularly Arabic, with its morphological complexity, dialectal diversity, and non-standard writing phenomena (Franco-Arabic). The paper concludes with actionable recommendations centered around the urgent need to build rich, manually annotated Arabic datasets and employ advanced contextual models to achieve a deeper understanding of sarcastic texts.

References

1. Bodige, R., Akarapu, R., & Poladi, P. K. (2024). Transformer-based advances in sarcasm detection: a study of contextual models and methodologies. Knowledge and Information Systems.

2. Helal, N. A., Hassan, A., Badr, N. L., & Afify, Y. M. (2024). A contextual-based approach for sarcasm detection. Scientific Reports, 14, 15415.

3. Al-Hassan, M., & Ali, K. (2024). Evaluating Multilingual Approaches to Sarcasm Detection: Insights from English and Arabic Texts. IEEE Conference Proceedings.

4. El-Masri, S., et al. (2024). Multi-task learning for multi-dialect Arabic sentiment classification and sarcasm detection. Language Resources and Evaluation.

5. Shi, Z., & Agrawal, R. (2025). A comprehensive survey of contemporary Arabic sentiment analysis: Methods, Challenges, and Future Directions. arXiv preprint arXiv:2502.03827. (Accepted to NAACL 2025).

6. Chauhan, D. S., R, D. S., Ekbal, A., & Bhattacharyya, P. (Year). Do Emotions Help in Sarcasm? A Multi-task Learning Framework for Multimodal Sarcasm, Sentiment and Emotion Analysis. Shamra-Academia.

7. Adedigba, S. O., Barawi, M. H., Ibeke, E., & Norahim, N. (2025). A Systematic Literature Review on Enhancing Sarcasm Detection in Online Reviews through Emotional Transition Analysis and Contextual Embedding Techniques. Journal of Cognitive Science, 26(3), 227-269.

8. Medani, K., & Zenbout, I. (2025). الذكاء الاصطناعي في التحليل الآلي للمشاعر واكتشاف العواطف في النصوص العربية. مجلة الآداب والعلوم الاجتماعية, 58.

9. Zhang, Y., & Patel, R. (2024). A Review on Sentiment Analysis in Low-resource Languages Focusing on Fake News and Sarcasm Detection as Major Challenges. SN Computer Science, 6, 693.

10. Boutros, J., & Harfouche, A. (2024). Contribution to Sarcasm Detection in Arabic Using Natural Language Processing Techniques. Applied Sciences, 14(6), 2724.

11. Khalil, I., & Sharma, P. (2024). Analysis of Sentiment and Sarcasm in Arabic YouTube Comments Utilizing AraBERT. IEEE Conference Proceedings.

12. شندي، آية مدحت. (2024). تحليل المشاعر على منصات وسائل التواصل الاجتماعي. مجلة كلية الآداب جامعة بورسعيد.

13. أحمد، سعيد، و محمد، خالد. (2021). المحتوى الساخر على منصات التواصل الاجتماعي. مجلة القرار.

14. Attardo, S. (2000). Irony as relevant inappropriateness. Journal of Pragmatics, 32(6), 793-826

Downloads

Published

2026-09-25