Research Article

CNNs and RNNs in aspect-level sentiment analysis and comparison

Yijun Qi*
The University of Leicester

* Corresponding author: [email protected]

Abstract

Aspect-based sentiment analysis (ABSA), also known as fine-grained sentiment analysis, may offer a precise polarity for each aspect in statement aspect. CNN and RNN neural network models, the most fundamental and widely used deep neural network models, have been created by researchers using a variety of methodologies to offer reliable findings in ABSA. This paper will sort out the development process of CNN and RNN models in completing various tasks in aspect-level sentiment analysis and find out the current SOTA model. In addition, by comparing the representatives of the two models in the same environment, the advantages and disadvantages of the two models are analysed to provide guidance for choosing different baseline models. The results show that the CNN-based model has the advantages of high accuracy and fast training speed, but the design is more complicated, and the pooling layer is prone to lose position or sequence features. The RNN-LSTM based model is easier to capture sequence data, has high reliability, and has a relatively simple design structure. However, it requires significantly longer training time, the model is complex, and the computational cost is high. Considering the characteristics of the two most basic neural models, new tasks require researchers to propose better hybrid neural network models.

Keywords: deep learning network models; CNN; RNN; sentimentanalysis; aspect-level sentiment.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230417
Volume: ACE Vol.6
pp. 1118-1126
Download PDF

References

  1. Do H H, Prasad P W C, Maag A and Alsadoon A 2019 Deep learning for aspect-based sentiment analysis: a comparative review. J. Expert systems with applications, 118, 272-299.
  2. Lin M, Li S 2022 Aspect sentiment analysis integrating BERT embedding and attention mechanism. J. Modern Electronics Technique. 45(12):130-136.
  3. Komang W T and Huang J J 2022 Deep Learning Approach for Aspect-Based Sentiment Classification: A Comparative Review. J. Applied Artificial Intelligence, 36:1.
  4. Ren F, Feng L, Xiao D, Cai M and Cheng S 2020 DNet: a lightweight and efficient model for aspect based sentiment analysis J. Expert Systems with Applications 151, 113393.
  5. Sherstinsky A 2020 Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. J. Physica D: Nonlinear Phenomena, 404, 132306.
  6. Toh Z and Su J 2016 Nlangp at semeval-2016 task 5: Improving aspect based sentiment analysis using neural network features. In Proceedings of the 10th international workshop on semantic evaluation (SemEval-2016) (pp. 282-288).
  7. Hubel D H and Wiesel T N 1962 Receptive fields, binocular interaction and functional architecture in the cat's visual cortex. J. The Journal of physiology, 160(1), 106.
  8. Beini, Z, Xuee, C, Bo, L, and Weijia, W 2021. A new few-shot learning method of digital PCR image detection. IEEE Access, 9, 74446-74453.
  9. Dashtipour K, Poria S, Hussain A, Cambria E, Hawalah A Y, Gelbukh A and Zhou Q 2016. Multilingual sentiment analysis: state of the art and independent comparison of techniques  J. Cognitive computation, 8(4), 757-771.
  10. Gu X, Gu Y and Wu H 2017 Cascaded convolutional neural networks for aspect-based opinion summary. J. Neural Processing Letters, 46(2), 581-594.
  11. Xue W and Li T 2018 Aspect based sentiment analysis with gated convolutional networks arXiv preprint arXiv:1805.07043.
  12. Ramaswamy S L and Chinnappan J 2022 RecogNet-LSTM+ CNN: a hybrid network with attention mechanism for aspect categorization and sentiment classification. J. Journal of Intelligent Information Systems, 58(2), 379-404.
  13. Wang Y, Huang M, Zhu X and Zhao L 2016 Attention-based LSTM for aspect-level sentiment classification. In Proceedings of the 2016 conference on empirical methods in natural language processing (pp. 606-615).
  14. Tang D, Qin B, Feng X and Liu T 2015 Target-dependent sentiment classification with long short term memory arXiv preprint arXiv:1512.01100.
  15. Ma D, Li S, Zhang X and Wang H 2017 Interactive attention networks for aspect-level sentiment classification. arXiv preprint arXiv:1709.00893.
  16. Cai G and Li H 2018 Joint attention LSTM network for aspect-level sentiment analysis. In China Conference on Information Retrieval (pp. 147-157).
  17. abreel M, Hassan F and Moreno A 2018 Target-dependent sentiment analysis of tweets using bidirectional gated recurrent neural networks. In Advances in hybridization of intelligent methods (pp. 39-55).
  18. Gu S, Zhang L, Hou Y and Song, Y 2018 A position-aware bidirectional attention network for aspect-level sentiment analysis. In Proceedings of the 27th international conference on computational linguistics (pp. 774-784).
  19. Li L, Liu Y and Zhou A 2018 Hierarchical attention based position-aware network for aspect-level sentiment analysis. In Proceedings of the 22nd conference on computational natural language learning (pp. 181-189).