针对注意力机制与卷积神经网络模型在方面级情感分析研究中,无法发掘句中长距离单词与相关句法约束间依存关系,而将与语法无关的上下文单词作为方面情感判断线索的问题,该文提出了一种结合图卷积网络(GCN)和注意-过度注意(AOA)神经网络的方面级情感分类模型(ASGCN-AOA)。首先,采用双向长短时记忆网络来对上下文词之间特定于方面的表示进行建模;其次,在每个句子的依赖树上,建立相应图形卷积网络(GCN),得到同时考虑句法依赖性和远距离多词关系的方面特征;最后,通过AOA注意力机制,捕获方面词与上下文句子之间的交互和表示,自动关注句子重要部分。在五个数据集Twitter、Lap14、Rest14、Rest15和Rest16上进行实验,采用Accuracy和Macro-F1指标进行评估。实验结果表明,该文模型与其他基于方面分析算法相比有较明显提升。
Abstract
Aiming at the problem that attention mechanism and convolutional neural network model cannot explore the dependencies between long-distance words and related syntactic constraints in a sentence in aspect-level sentiment analysis research, and the context words unrelated to grammar are used as aspect sentiment judgment clues. This paper proposes an aspect-level emotion classification model (ASGCN-AOA) combining graph convolution network (GCN) and attention-over-attention (AOA) neural network. Firstly, a bidirectional long short-term memory network is used to model the aspect-specific representations between context words. Then, in the dependency tree of each sentence, the corresponding graph convolution network (GCN) is established to obtain the aspect feature of considering syntactic dependence and long-distance multi-word relationship simultaneously. Finally, the AOA attention mechanism captures the interaction and representation between aspect words and context sentences, and automatically pays attention to important parts of sentences. Experiments were carried out on five data sets: Twitter, Lap14, Rest14, Rest15 and Rest16. Accuracy and Macro-F1 indicators were used to evaluate. Experimental results show that the model presented in this paper is significantly improved compared with other related aspect-based analysis algorithms.
关键词
自然语言理解 /
图卷积网络 /
长短时记忆网络 /
注意-过度注意神经网络 /
人工智能
{{custom_keyword}} /
Key words
natural language understanding /
graph convolution network /
long short-term memory network /
attention-over-attention neural network /
artificial intelligence
{{custom_keyword}} /
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] L Jiang, M Yu, M Zhou, et al. Target-dependent twitter sentiment classification [C]//Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, 2011: 151-160.
[2] S Kiritchenko, X Zhu, C Cherry, et al. Nrccanada-2014: Detecting aspects and sentiment in customer reviews [C]//Proceedings of the 8th International Workshop on Semantic Evaluation, 2014: 437-442.
[3] J Wagner, P Arora, S Cortes, et al. Dcu: Aspect-based polarity classification for SemEval task4 [C]//Proceedings of the 8th International Workshop on Semantic Evaluation, 2014: 223-229.
[4] S Poria, E Cambria, D Hazarika, et al, A deeper look into sarcastic tweets using deep convolutional neural networks [C]//Proceedings of the 26th International Conference on Computational Linguistics, 2016: 1601-1612.
[5] D Tang, B Qin, X Feng, et al. Effective LSTMS for target-dependent sentiment classification [C ]//Proceedings of COLING, the 26th International Conference on Computational Linguistics: Technical Papers, 2016: 3298-3307.
[6] V Mnih, N Heess, A Graves, etal. Recurrent models of visual attention [C]//Proceedings of the 27th International Conference on Neural Information Processing Systems. 2014: 2204-2212.
[7] D Bahdanau, K Cho, Y Bengio. Neural machine translation by jointly learning to align and translate [C]//Proceedings of the 3rd International Conference on Learning Representations, San Diego, United States, 2015.
[8] Y Wang, M Huang, L Zhao, et al. Attention-based LSTM for aspect-level sentiment classification [C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2016: 606-615.
[9] P Chen, Z Sun, L Bing, et al. Recurrent attention network on memory for aspect sentiment analysis [C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2017: 452-461.
[10] D Ma, S Li, X Zhang, et al. Interactive attention networks for aspect-level sentiment classification [C]//Proceedings of the 26th International Joint Conference on Artificial Intelligence, 2017: 4068-4074.
[11] Y Ma, H Peng, E Cambria. Targeted aspect-based sentiment analysis via embedding commonsense knowledge into an attentive LSTM [C]//Proceedings of the 32nd AAAI Conference on Artificial Intelligence, 2018: 5876-5883.
[12] Y Song, J Wang, T Jiang, et al. Attentional encoder network for targeted sentiment classification, CoRRabs [J/OL]. ArXiv preprint arXiv: 1902.09314, 2019.
[13] R Ma, K Wang, T Qiu, et al. Feature based compositing memory networks for aspect-based sentiment classification in social internet of things [J]. Future Generation Computer Systems. 2019, 92: 879-888.
[14] C Zhang, Q Li, D Song. Aspect based sentiment classification with aspect-specific graph convolutional Networks [J/OL]. arXiv preprint arXiv: 1909.03477v2, 2019.
[15] B Huang, Y Ou, Kathleen M Carley. Aspect level sentiment classification with attention-over-attention neural networks [C]//Proceedings of the Behavioral Cultural Modeling and Prediction and Behavior Representation in Modeling and Simulation, 2018: 197-206.
[16] D Tang, B Qin, X Feng, et al. Effective LSTMs for target-dependent sentiment classification [C]//Proceedings of the 26th International Conference on Computational Linguistics: Technical Papers, 2016: 3298-3307.
[17] D Tang, B Qin, T Liu. Aspect level sentiment classification with deep memory network [C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing, Austin, Texas, USA, 2016: 214-224.
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}
基金
国家自然科学基金(61672264)
{{custom_fund}}