Sentiment Analysis of Xiaohongshu Texts Based on the RoBERTa Model
Abstract
This study investigates a novel sentiment analysis model designed for the Xiaohongshu platform, leveraging the RoBERTa model combined with BiLSTM and attention mechanisms. Xiaohongshu, a prominent social commerce platform in China, offers unique challenges for sentiment analysis due to its user-generated content, which is often informal and multi-dimensional. The RoBERTa-BiLSTM-Attention model is introduced to capture complex semantic nuances and enhance the accuracy of sentiment classification. A comparative experiment was conducted to evaluate this model's effectiveness against traditional methods, including Word2vec-LSTM, Word2vec-BiLSTM, BERT-BiLSTM, and BERT-BiLSTM-Attention. Results show that the RoBERTa-BiLSTM-Attention model outperforms these models in terms of accuracy and F1-score, demonstrating its potential to capture and classify sentiment in user-generated content on Xiaohongshu with improved robustness and depth.
References
- Lei Zhang, B. Liu. “Sentiment Analysis and Opinion Mining.” Synthesis Lectures on Human Language Technologies(2012).
- Jacob Devlin, Ming-Wei Chang et al. “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding.” North American Chapter of the Association for Computational Linguistics (2019).
- Muhammad Rizwan Rashid Rana, Asif Nawaz et al. “Sentiment Analysis of Product Reviews Using Transformer Enhanced 1D-CNN and BiLSTM.” Cybernetics and Information Technologies(2024).
- B. Pang, Lillian Lee et al. “Thumbs up? Sentiment Classification using Machine Learning Techniques.” ArXiv(2002).
- A. Mitra. “Sentiment Analysis Using Machine Learning Approaches (Lexicon based on movie review dataset).” Journal of Ubiquitous Computing and Communication Technologies(2020).
- Nayeli Hernández, I. Batyrshin et al. “Evaluation of deep learning models for sentiment analysis.” J. Intell. Fuzzy Syst.(2022).
- Yue Zhang, Duy-Tin Vo. “Neural Networks for Sentiment Analysis.” Conference on Empirical Methods in Natural Language Processing (2016).
- Dr. G. S. N. Murthy, Shanmukha Rao et al. “Text based Sentiment Analysis using LSTM.” International Journal of Engineering Research and (2020).
- Alpna Patel, A. Tiwari. “Sentiment Analysis by using Recurrent Neural Network.” Materials Science eJournal (2019).
- Faliang Huang, Xuelong Li et al. “Attention-Emotion-Enhanced Convolutional LSTM for Sentiment Analysis.” IEEE Transactions on Neural Networks and Learning Systems(2021).
- Jacob Devlin, Ming-Wei Chang et al. “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding.” North American Chapter of the Association for Computational Linguistics (2019).
- Yinhan Liu, Myle Ott et al. “RoBERTa: A Robustly Optimized BERT Pretraining Approach.” ArXiv (2019).
- K. N. Prasanthi, Rallabandi Eswari Madhavi et al. “A Novel Approach for Sentiment Analysis on social media using BERT & ROBERTA Transformer-Based Models.” 2023 IEEE 8th International Conference for Convergence in Technology (I2CT) (2023).
- Guixian Xu, Yueting Meng et al. “Sentiment Analysis of Comment Texts Based on BiLSTM.” IEEE Access (2019).
- Linkai Luo, Haiqing Yang et al. “EmotionX-DLC: Self-Attentive BiLSTM for Detecting Sequential Emotions in Dialogues.” ArXiv (2018).
- Shervin Minaee, Elham Azimi et al. “Deep-Sentiment: Sentiment Analysis Using Ensemble of CNN and Bi-LSTM Models.” ArXiv (2019).
- Md Abrar Jahin, Md Sakib et al. “TRABSA: Interpretable Sentiment Analysis of Tweets using Attention-based BiLSTM and Twitter-RoBERTa.” ArXiv (2024).
- Spyridon Kardakis, I. Perikos et al. “Examining Attention Mechanisms in Deep Learning Models for Sentiment Analysis.” Applied Sciences (2021).
- Wei Meng, Yongqing Wei et al. “Aspect Based Sentiment Analysis with Feature Enhanced Attention CNN-BiLSTM.” IEEE Access (2019).
- Huiyu Han, Jin Liu et al. “Attention-Based Memory Network for Text Sentiment Classification.” IEEE Access (2018).
- Maite Taboada, Julian Brooke et al. “Lexicon-Based Methods for Sentiment Analysis.” Computational Linguistics (2011).
- Minghui Huang, Haoran Xie et al. “Lexicon-Based Sentiment Convolutional Neural Networks for Online Review Analysis.” IEEE Transactions on Affective Computing (2020).