Unveiling Sentiment Analysis: A Comparative Study of LSTM and Logistic Regression Models with XAI Insights

Chandu Vaidya *, Mayuri Botre**, Yash Rokde***, Sagar Kumbhalkar****, Soham Linge*****, Soham Pitale******, Shreyash Bawne*******
*-******* Department of Computer Science and Engineering, S.B. Jain Institute of Technology Management and Research, Nagpur, Maharashtra, India.
Periodicity:October - December'2023
DOI : https://doi.org/10.26634/jcom.11.3.20471

Abstract

In this study, we delve into sentiment analysis and the role of Explainable Artificial Intelligence (XAI), with a focus on techniques such as Lime that bring transparency to machine learning (Logistic Regression) and deep learning (LSTM) models. We explore how ML predictions can be biased using XAI and how XAI helps us understand DL models used in sentiment analysis through research that has been made. Examining various research, we notice a gap – the lack of training and interpretation for both ML and DL models on the same dataset using XAI. Our research fills this gap, shedding light on ML and DL model predictions through XAI's lens. By completing our research work, we come to know that even with an accuracy level of 83% for the DL model, they outperform the ML model with an accuracy level of 92% in some cases. This distinction is only identified with XAI techniques, particularly Lime.

Keywords

XAI (Explainable Artificial Intelligence), LIME (Local Interpretable Model Agnostic Explanations), Sentiment Analysis, Machine Learning, Deep Learning.

How to Cite this Article?

Vaidya, C. D., Botre, M., Rokde, Y., Kumbhalkar, S., Linge, S., Pitale, S., and Bawne, S. (2023). Unveiling Sentiment Analysis: A Comparative Study of LSTM and Logistic Regression Models with XAI Insights. i-manager’s Journal on Computer Science, 11(3), 36-46. https://doi.org/10.26634/jcom.11.3.20471

References

[12]. Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 1-10.
[17]. Raza, H., Faizan, M., Hamza, A., Mushtaq, A., & Akhtar, N. (2019). Scientific text sentiment analysis using machine learning techniques. International Journal of Advanced Computer Science and Applications, 10(12), 157-165.
[25]. Tyagi, A., & Sharma, N. (2018). Sentiment analysis using logistic regression and effective word score heuristic. International Journal of Engineering and Technology (UAE), 7(2.24), 20-23.
[27]. Wang, J., Yu, L. C., Lai, K. R., & Zhang, X. (2016, August). Dimensional sentiment analysis using a regional CNN-LSTM model. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, 2, 225-230.
If you have access to this article please login to view the article or kindly login to purchase the article

Purchase Instant Access

Single Article

North Americas,UK,
Middle East,Europe
India Rest of world
USD EUR INR USD-ROW
Pdf 35 35 200 20
Online 35 35 200 15
Pdf & Online 35 35 400 25

Options for accessing this content:
  • If you would like institutional access to this content, please recommend the title to your librarian.
    Library Recommendation Form
  • If you already have i-manager's user account: Login above and proceed to purchase the article.
  • New Users: Please register, then proceed to purchase the article.