Research Article

Comparative Evaluation of Sentiment Analysis Methods: From Traditional Techniques to Advanced Deep Learning Models

Fuhai Wang*
Faculty of Science and Technology, Beijing Normal University - Hong Kong Baptist University United International College, Shenzhen, China

* Corresponding author: [email protected]

Abstract

Sentiment evaluation plays a crucial role in deciphering public perception and consumer responses in today's digital landscape. This investigation offers a thorough assessment of diverse sentiment evaluation techniques, contrasting conventional machine learning methodologies with cutting-edge deep learning frameworks. In particular, the research scrutinizes the efficacy of Bidirectional Encoder Representations from Transformers (BERT)-derived architectures (BERT-Base and Robustly Optimized BERT Pretraining Approach (RoBERTa)), Convolutional Neural Networks (CNN), Long Short-Term Memory Networks (LSTM), Support Vector Machines (SVM), and Naive Bayes classifiers. The study gauges these approaches based on their precision, recall, F1-metric, overall accuracy, and computational efficiency using an extensive sentiment evaluation dataset. The results reveal that BERT-based models, particularly RoBERTa, achieve the highest accuracy (87.44%) and F1-score (0.8746), though they also require the longest training time (approximately 3 hours). CNN and LSTM models strike a balance between performance and efficiency, while traditional methods like SVM and Naive Bayes offer faster training and deployment with moderate accuracy. The insights gained from this study are valuable for both researchers and practitioners, highlighting the trade-offs between model performance, computational demands, and practical deployment considerations in sentiment analysis applications.

Keywords: Sentiment Analysis; BERT; Convolutional Neural Networks; Model Performance.
Published: November 15, 2024
DOI: 10.54254/2755-2721/105/2024TJ0056
Volume: ACE Vol.105
pp. 23-29
Download PDF

References

  1. Liu B. (2022). Sentiment analysis and opinion mining. Springer Nature
  2. Neri F Aliprandi C Capeci F et al. (2012). Sentiment analysis on social media. International conference on advances in social networks analysis and mining, 919-926
  3. Pang B Lee L Vaithyanathan S. (2002). Thumbs up? Sentiment classification using machine learning techniques. arXiv cs/0205070
  4. Graves A Graves. (2012). A Long short-term memory. Supervised sequence labelling with recurrent neural networks, 37-45
  5. Kim H Jeong Y S. (2019). Sentiment classification using convolutional neural networks. Applied Sciences, 9(11), 2347.
  6. Kenton J D M W C Toutanova L K. (2019). Bert: Pre-training of deep bidirectional transformers for language understanding. Proceedings of naacL-HLT, 1(2)
  7. Pang B Lee L. (2008) Opinion mining and sentiment analysis Foundations and Trends in information retrieval, 2, 1-135
  8. Soleymani M Garcia D Jou B Schuller B Chang S F Pantic M. (2017). A survey of multimodal sentiment analysis. Image and Vision Computing, 65, 3-14
  9. Barnes J Klinger R Schulte im Walde S. (2018). Bilingual Sentiment Embeddings: Joint Projection of Sentiment Across Languages. Proceedings of Annual Meeting of the Association for Computational Linguistics, 1, 2483-2493
  10. Blitzer J Dredze M Pereira F. (2007). Biographies, Bollywood, Boom-boxes and Blenders: Domain Adaptation for Sentiment Classification. Proceedings of Annual Meeting of the Association of Computational Linguistics, 440-447
  11. Socher R Perelygin A Wu J Chuang J Manning C D Ng A Potts C. (2013). Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of conference on empirical methods in natural language processing, 1631-1642