Currently, various attention-based neural networks have achieved successes in sentiment classification tasks, as attention mechanism is capable of focusing on those words contributing more to the sentiment polarity prediction than others. However, the major drawback of these approaches is that they only pay attention to the words, the sentimental information contained in the part-of-speech(POS) is ignored. To address this problem, in this paper, we propose Part-of-Speech based Transformer Attention Network(pos-TAN). This model not only uses the Self-Attention mechanism to learn the feature expression of the text but also incorporates the POS-Attention, which uses to capture sentimental information contained in part-of-speech. In addition, our innovative introduction of the Focal Loss effectively alleviates the impact of sample imbalance on model performance. We conduct substantial experiments on various datasets, and the encouraging results indicate the efficacy of our proposed approach.
CITATION STYLE
Cheng, K., Yue, Y., & Song, Z. (2020). Sentiment Classification Based on Part-of-Speech and Self-Attention Mechanism. IEEE Access, 8, 16387–16396. https://doi.org/10.1109/ACCESS.2020.2967103
Mendeley helps you to discover research relevant for your work.