Sentiment analysis and implementation in film evaluation utilizing BERT
Abstract
This study explores the use of the dmsc_v2 dataset, which is a rich collection of over 2 million ratings and commentary data from over 700,000 users on 28 films, to train the BERT model for sentiment analysis. This expansive dataset, drawn from the popular Chinese movie-rating website, Douban, has been meticulously curated for this research. In the context of the methodology, it is comprehensive and involves multiple stages. Initially, data preprocessing is conducted to refine and format the dataset suitably for model training. Subsequently, the BERT model is trained using the prepared data. Following the training process, the model's performance is critically evaluated to validate its efficacy and accuracy. The resulting model is adept at performing sentiment classification on comments pertaining to films across various social media platforms such as Weibo, Xiaohongshu, and more. This is particularly beneficial as it enables a nuanced analysis of user opinions and trending topics, offering invaluable insights for businesses, movie producers, or marketers. The findings of this study demonstrate that the BERT sentiment analysis model, developed with the dmsc_v2 dataset, exhibits impressive performance and has expansive potential for application within the sphere of social media commentary analysis. The successful development and validation of this model underscore its potential to transform the way sentiment analysis is conducted, especially in the context of entertainment and social media discussions.
References
- Nasukawa, T., & Yi, J. (2003). Sentiment analysis: Capturing favorability using natural language processing. In Proceedings of the 2nd international conference on Knowledge capture (pp. 70-77). Sanibel Island, FL, USA: ACM.
- Pang, B., & Lee, L. (2008). Opinion mining and sentiment analysis. Foundations and Trends® in Information Retrieval, 2(1–2), 1-135.
- Zou, H., Tang, X., Xie, B., & Liu, B. (2015). Sentiment classification using machine learning techniques with syntax features. In 2015 International Conference on Computational Science and Computational Intelligence (CSCI) (pp. 175-179). Las Vegas, NV, USA: IEEE.
- Ye, Q., Zhang, Z., & Law, R. (2009). Sentiment classification of online reviews to travel destinations by supervised machine learning approaches. Expert Systems with Applications, 36(3), 6527-6535.
- Ni, X., Xue, G.-R., Ling, X., Yu, Y., & Yang, Q. (2007). Exploring in the weblog space by detecting informative and affective articles. In Proceedings of the 16th international conference on World Wide Web (pp. 281-290). Banff, Alberta, Canada: ACM.
- Yang, C., Lin, K. H.-Y., & Chen, H.-H. (2007). Emotion classification using web blog corpora. In IEEE/WIC/ACM International Conference on Web Intelligence (WI’07) (pp. 275-278). Frmont, CA, USA: IEEE.
- 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.
- Wang, P. et al. (2018). Concept and attention-based CNN for question retrieval in multi-view learning. ACM Transactions on Intelligent Systems and Technology, 9(4), 1-24.
- Weissenbacher, D., Sarker, A., Paul, M. J., & Gonzalez-Hernandez, G. (2018). Overview of the Third Social Media Mining for Health (SMM4H) Shared Tasks at EMNLP 2018. In Proceedings of the 2018 EMNLP Workshop SMM4H: The 3rd Social Media Mining for Health Applications Workshop & Shared Task (pp. 13-16). Brussels, Belgium: Association for Computational Linguistics.
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. Advances in neural information processing systems, 30.
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding.
- Gao, J. (2021). Chinese sentiment classification model based on pre-trained BERT. In 2021 2nd International Conference on Computers, Information Processing and Advanced Education (pp. 1296-1300). Ottawa, ON, Canada: ACM.
- Shao, Y., & Wang, L. (2022). GPSAttack: A unified glyphs, phonetics and semantics multi-modal attack against Chinese text classification models. In 2022 International Joint Conference on Neural Networks (IJCNN) (pp. 1-8). Padua, Italy: IEEE.
- Yang, X., Yang, L., Bi, R., & Lin, H. (2019). A comprehensive verification of transformer in text classification. In Chinese Computational Linguistics (pp. 207-218). Cham: Springer International Publishing.
- Ravi, K., & Ravi, V. (2015). A survey on opinion mining and sentiment analysis: Tasks, approaches and applications. Knowledge-Based Systems, 89, 14-46.
- Pemarathna, R. (2019). Impact of Xiaohongshu on its user base and society: A review, 2(11).
- Hoang, M., Bihorac, O. A., & Rouces, J. Aspect-based sentiment analysis using BERT.
- Liu, Y. et al. (2019). RoBERTa: A robustly optimized BERT pretraining approach.
- Zhao, L., Li, L., Zheng, X., & Zhang, J. (2021). A BERT based sentiment analysis and key entity detection approach for online financial texts. In 2021 IEEE 24th International Conference on Computer Supported Cooperative Work in Design (CSCWD) (pp. 1233-1238). Dalian, China: IEEE.
- Zheng, J., Wang, J., Ren, Y., & Yang, Z. (2020). Chinese sentiment analysis of online education and internet buzzwords based on BERT. Journal of Physics: Conference Series, 1631(1), 012034.
- Li, H., Ma, Y., Ma, Z., & Zhu, H. (2021). Weibo text sentiment analysis based on BERT and deep learning. Applied Sciences, 11(22), 10774.
- Li, Z., Zhou, L., Yang, X., Jia, H., Li, W., & Zhang, J. (2023). User sentiment analysis of COVID-19 via adversarial training based on the BERT-FGM-BiGRU model. Systems, 11(3), 129.