S2SAN: A sentence-to-sentence attention network for sentiment analysis of online reviews
作者:
Highlights:
• Introduce a sentence-level attention mechanism “sentence-to-sentence attention”.
• Proposed S2SAN outperforms baselines in domain-specific, cross- and multi-domain sentiment analysis tasks.
• Some classifiers yield better accuracy when embedded into a sentence-to-sentence attention framework.
摘要
Many existing attention-based deep learning approaches to sentiment analysis have focused on words and represent an entire review text as a word sequence. However, these approaches overlook the differences in the importance of each sentence to the complete text. To solve this problem, some work has been performed to calculate sentence-level attention, but these studies use the same approach that is applied to word-level attention, which leads to unnecessary sequential structures and increased complexity of sentence representation. Therefore, in this paper, we propose a sentence-to-sentence attention network1 (S2SAN) using multihead self-attention. We conducted several domain-specific, cross-domain and multidomain sentiment analysis experiments with real-world datasets. The experimental results show that S2SAN outperforms other state-of-the-art models. Some classical sentiment classifiers [e.g., convolutional neural network (CNN), recurrent neural network (RNN), and long short-term memory (LSTM) models] achieve better accuracies when they are reconfigured to include sentence-to-sentence attention.
论文关键词:Sentiment analysis,Attention mechanism,Hierarchical structure,Sentence-to-sentence attention
论文评审过程:Received 30 September 2020, Revised 18 May 2021, Accepted 19 May 2021, Available online 21 May 2021, Version of Record 19 August 2021.
论文官网地址:https://doi.org/10.1016/j.dss.2021.113603