Research Article

Sentiment analysis based on BiLSTM with attention mechanism on Chinese comment with stickers

Yuchen Bao1,*, Hongyi Huang2, Zizhou Meng3
1. Jianghan University
2. Malvern college chengdu
3. Beijing No.13 High School

* Corresponding author: [email protected]

Abstract

As the Internet is progressively becoming larger and more intricate, more and more users of various social media choose to post their comments to express their opinions and thinking on those platforms. Analyzing the emotions contained in user comments holds great business value, helping to accurately perceive user consumption habits and improve user service levels. However, the use of emoticons and stickers in comments has increased dramatically in recent years, which brings new challenges to text sentiment analysis based on natural language processing. In this paper, in order to alleviate the above problems, we propose a method for analyzing the sentiment of Chinese comments based on the attention mechanism and BiLSTM. Specifically, we partitioned the original dataset from the Weibo platform according to the number and type of emoticons in the comments. By analyzing the actual data, the specific features of emojis that affect the performance of sentiment analysis are identified, and corresponding explanations are given. In addition, a hypothesis is proposed to quantify the impact of emoticons on model effectiveness. All the results demonstrate the effectiveness of our proposed method.

Keywords: sentiment analysis; BiLSTM; attention mechanism
Published: February 7, 2024
DOI: 10.54254/2755-2721/38/20230525
Volume: ACE Vol.38
pp. 26-34
Download PDF

References

  1. Alam K N, Khan M S, Dhruba A R, et al. Deep learning-based sentiment analysis of COVID-19 vaccination responses from Twitter data[J]. Computational and Mathematical Methods in Medicine, 2021, 2021.
  2. Shiha M, Ayvaz S. The effects of emoji in sentiment analysis[J]. Int. J. Comput. Electr. Eng. (IJCEE.), 2017, 9(1): 360-369.
  3. Li M, Ch’ng E, Chong A Y L, et al. Multi-class Twitter sentiment classification with emojis[J]. Industrial Management & Data Systems, 2018, 118(9): 1804-1820.
  4. Liu C, Fang F, Lin X, et al. Improving sentiment analysis accuracy with emoji embedding[J]. Journal of Safety Science and Resilience, 2021, 2(4): 246-252.
  5. Peng H, Cambria E, Hussain A. A review of sentiment analysis research in Chinese language[J]. Cognitive Computation, 2017, 9: 423-435.
  6. Wu J, Lu K, Su S, et al. Chinese micro-blog sentiment analysis based on multiple sentiment dictionaries and semantic rule sets[J]. IEEE Access, 2019, 7: 183924-183939.
  7. Zhang L, Wang S, Liu B. Deep learning for sentiment analysis: A survey[J]. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 2018, 8(4): e1253.
  8. Huang F, Li X, Yuan C, et al. Attention-emotion-enhanced convolutional LSTM for sentiment analysis[J]. IEEE transactions on neural networks and learning systems, 2021, 33(9): 4332-4345.
  9. Lou Y, Zhang Y, Li F, et al. Emoji-based sentiment analysis using attention networks[J]. ACM Transactions on asian and low-resource language information processing (TALLIP), 2020, 19(5): 1-13.
  10. Konrad A, Herring S C, Choi D. Sticker and emoji use in Facebook Messenger: Implications for graphicon change[J]. Journal of Computer-Mediated Communication, 2020, 25(3): 217-235.
  11. Huang Z, Xu W, Yu K. Bidirectional LSTM-CRF models for sequence tagging. arXiv 2015[J]. arXiv preprint arXiv:1508.01991, 2015.
  12. Lu W, Li J, Wang J, et al. A CNN-BiLSTM-AM method for stock price prediction[J]. Neural Computing and Applications, 2021, 33: 4741-4753.
  13. Jin Z, Yang Y, Liu Y. Stock closing price prediction based on sentiment analysis and LSTM[J]. Neural Computing and Applications, 2020, 32: 9713-9729.
  14. Rehman A U, Malik A K, Raza B, et al. A hybrid CNN-LSTM model for improving accuracy of movie reviews sentiment analysis[J]. Multimedia Tools and Applications, 2019, 78: 26597-26613.
  15. Hsieh Y H, Zeng X P. Sentiment analysis: An ERNIE-BiLSTM approach to bullet screen comments[J]. Sensors, 2022, 22(14): 5223.