An improved aspect-category sentiment analysis model for text sentiment analysis based on RoBERTa

Wenxiong Liao,Bi Zeng,Xiuwen Yin,Pengfei Wei
DOI: https://doi.org/10.1007/s10489-020-01964-1
IF: 5.3
2020-11-15
Applied Intelligence
Abstract:The aspect-category sentiment analysis can provide more and deeper information than the document-level sentiment analysis, because it aims to predict the sentiment polarities of different aspect categories in the same text. The main challenge of aspect-category sentiment analysis is that different aspect categories may present different polarities in the same text. Previous studies combine the Long Short-Term Memory (LSTM) and attention mechanism to predict the sentiment polarity of the given aspect category, but the LSTM-based methods are not really bidirectional text feature extraction methods. In this paper, we propose a multi-task aspect-category sentiment analysis model based on RoBERTa (Robustly Optimized BERT Pre-training Approach). Treating each aspect category as a subtask, we employ the RoBERTa based on deep bidirectional Transformer to extract features from both text and aspect tokens, and apply the cross-attention mechanism to guide the model to focus on the features most relevant to the given aspect category. According to the experimental results, the proposed model outperforms other models for comparison in aspect-category sentiment analysis. Furthermore, the influencing factors of our proposed model are also analyzed.
computer science, artificial intelligence
What problem does this paper attempt to address?
This paper aims to tackle a challenge in fine-grained sentiment analysis, which is Aspect-Category Sentiment Analysis. As compared to document-level or sentence-level sentiment analysis, Aspect-Category Sentiment Analysis provides more detailed information as it aims to predict the sentiment polarity of different aspect categories within the same text. The main difficulty lies in the fact that different aspect categories within the same text may present different sentiment polarities. To overcome this problem, the paper proposes an improved multi-task Aspect-Category Sentiment Analysis model based on RoBERTa. RoBERTa is a pretrained deep bidirectional Transformer model that can extract features from both text and aspect annotations. By using a cross-attention mechanism, the model can focus on the most relevant text features for a given aspect category. Through experiments, the paper demonstrates that the proposed model outperforms other comparative models in Aspect-Category Sentiment Analysis and analyzes the influencing factors of the model. In summary, the paper attempts to address how to accurately analyze the sentiment inclination of different aspects in text to provide more detailed sentiment analysis results.