Research Article

Sentiment Analysis Techniques for Deep Learning Classification and Comparison

Shuaiyu Chen*
School of Science and Technology, Beijing Normal University - Hong Kong Baptist University United International College, Zhuhai, Guangdong, China

* Corresponding author: [email protected]

Abstract

Sentiment analysis, a critical tool in natural language processing (NLP), has seen significant advancements with the rise of machine learning and deep learning techniques. This paper explores the evolution of sentiment analysis from traditional models, such as CNN and RNN, to more sophisticated approaches like LSTM, LSTM-CNN, and BERT. Using the IMDb dataset for binary classification of sentiment, we utilize metrics like F-Score, Precision, Accuracy, and Recall to compare the way these models perform. Despite the progress made, sentiment analysis still faces challenges, particularly in handling multiple languages, incorporating multimedia content, and addressing privacy and ethical concerns. This paper also discusses future directions for sentiment analysis, including the development of models for low-resource languages, real-time sentiment analysis, and the ethical implications of data handling. Overall, the study highlights the potential of sentiment analysis and the opportunities for improvement through continued research and innovation.

Keywords: Sentiment analysis; deep learning; LSTM; natural language processing
Published: January 15, 2025
DOI: 10.54254/2753-8818/2025.20342
Volume: TNS Vol.86
pp. 74-80
Download PDF

References

  1. Ahmad, M., Aftab, S., Muhammad, S. S., & Ahmad, S. (2017). Machine learning techniques for sentiment analysis: A review. Int. J. Multidiscip. Sci. Eng, 8(3), 27.
  2. Ain, Q. T., Ali, M., Riaz, A., Noureen, A., Kamran, M., Hayat, B., & Rehman, A. (2017). Sentiment analysis using deep learning techniques: a review. International Journal of Advanced Computer Science and Applications, 8(6).
  3. Tan, K. L., Lee, C. P., Anbananthen, K. S. M., & Lim, K. M. (2022). RoBERTa-LSTM: a hybrid model for sentiment analysis with transformer and recurrent neural network. IEEE Access, 10, 21517-21525.
  4. Liao, S., Wang, J., Yu, R., Sato, K., & Cheng, Z. (2017). CNN for situations understanding based on sentiment analysis of twitter data. Procedia computer science, 111, 376-381.
  5. Basiri, M. E., Nemati, S., Abdar, M., Cambria, E., & Acharya, U. R. (2021). ABCDM: An attention-based bidirectional CNN-RNN deep model for sentiment analysis. Future Generation Computer Systems, 115, 279-294.
  6. Cheng, Y., Sun, H., Chen, H., Li, M., Cai, Y., Cai, Z., & Huang, J. (2021). Sentiment analysis using multi-head attention capsules with multi-channel CNN and bidirectional GRU. IEEE Access, 9, 60383-60395.
  7. Kurniasari, L., & Setyanto, A. (2020, February). Sentiment analysis using recurrent neural network. In Journal of Physics: Conference Series (Vol. 1471, No. 1, p. 012018). IOP Publishing.
  8. Ali, W., Yang, Y., Qiu, X., Ke, Y., & Wang, Y. (2021). Aspect-level sentiment analysis based on bidirectional-GRU in SIoT. IEEE Access, 9, 69938-69950.
  9. Murthy, G. S. N., Allu, S. R., Andhavarapu, B., Bagadi, M., & Belusonti, M. (2020). Text based sentiment analysis using LSTM. Int. J. Eng. Res. Tech. Res, 9(05).
  10. Souza, F. D., & Filho, J. B. D. O. E. S. (2022, March). BERT for sentiment analysis: pre-trained and fine-tuned alternatives. In International Conference on Computational Processing of the Portuguese Language (pp. 209-218). Cham: Springer International Publishing.
  11. Zhan, T., Shi, C., Shi, Y., Li, H., & Lin, Y. (2024). Optimization Techniques for Sentiment Analysis Based on LLM (GPT-3). arXiv preprint arXiv:2405.09770.
  12. Haque, M. R., Lima, S. A., & Mishu, S. Z. (2019, December). Performance analysis of different neural networks for sentiment analysis on IMDb movie reviews. In 2019 3rd International conference on electrical, computer & telecommunication engineering (ICECTE) (pp. 161-164). IEEE.
  13. Cen, P., Zhang, K., & Zheng, D. (2020). Sentiment analysis using deep learning approach. J. Artif. Intell, 2(1), 17-27.
  14. [12] Haque, M. R., Lima, S. A., & Mishu, S. Z. (2019, December). Performance analysis of different neural networks for sentiment analysis on IMDb movie reviews. In 2019 3rd International conference on electrical, computer & telecommunication engineering (ICECTE) (pp. 161-164). IEEE.Domadula, P. S. S. V., & Sayyaparaju, S. S. (2023). Sentiment analysis of IMDB movie reviews: a comparative study of Lexicon based approach and BERT Neural Network model.