• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (10): 1866-1873.

• Artificial Intelligence and Data Mining • Previous Articles     Next Articles

Aspect-level sentiment classification based on dual attention fusion knowledge

ZHANG Qian-kun,HAN Hu,HAO Jun   

  1. (School of Electronic & Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China)
  • Received:2022-01-04 Revised:2022-04-26 Accepted:2023-10-25 Online:2023-10-25 Published:2023-10-17

Abstract: Aspect-level sentiment classification aims to discriminate the sentiment polarity of a specific aspect in a sentence. Although attention-based recurrent neural network models perform well among existing solutions, they are not ideal for processing "semantically ambiguous" sentences that are short and contain many neologisms and polysemous words. Therefore, this paper proposes a neural network model based on knowledge graph and attention mechanism. The basic idea is to use a knowledge base to obtain a relevant concept set of aspect words and integrate external information to enhance the semantic representation of the text. Firstly, the output of bidirectional long short-term memory network is combined with self-attention mechanism to generate context representation. Then, the upper and lower context representations are combined to use dual attention to obtain external knowledge from the knowledge graph and obtain knowledge vectors related to aspect words. Finally, the two parts of content are input together into a fully connected network to calculate the aspect-level sentiment tendency. Experimental results show that compared with other models, the proposed model significantly improves classification performance.

Key words: aspect-level sentiment classification;knowledge graph;attention mechanism ,