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

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

• Artificial Intelligence and Data Mining • Previous Articles     Next Articles

Aspect-level sentiment analysis of graph attention network fused with graph walk information

YANG Chun-xia1,2,3,GUI Qiang1,2,3,MA Wen-wen1,2,3,XU Ben1,2,3   

  1. (1.School of Automation,Nanjing University of Information Technology,Nanjing 210044;
    2.Key Laboratory of Big Data Analysis Technology of Jiangsu Province,Nanjing 210044;
    3.Jiangsu Province Atmospheric Environment and Equipment 
    Technology Collaborative Innovation Center,Nanjing 210044,China)
  • Received:2022-02-25 Revised:2022-05-13 Accepted:2023-10-25 Online:2023-10-25 Published:2023-10-17

Abstract: In the aspect-level sentiment analysis task, the attention mechanism is commonly used to obtain the weight information of words, ignoring the effect of syntactic structure on extracting the importance of different words in sentences. In addition, there is a problem of confusion between aspect words and sentiment words in multi-aspect word sentences. How to effectively pay attention to the context part related to the emotional polarity of the target aspect words is often ignored. A graph attention neural network model (GW-GAT) that integrates graph walk information is proposed. Graph walk is performed on the grammar graph to obtain the word weight coefficient of the sentence. The graph attention network is used to combine the word node weight and the weight between the nodes to highlight the context part that plays an important role in the word sen-timent polarity in the target aspect. Finally, the sentiment polarity is obtained through fully connected and softmax layers. The experimental results on the SemEval2014 task and the Twitter dataset show that the GW-GAT model outperforms the baseline model and obtains better experimental results. 

Key words: sentiment analysis, syntax graph, graph walk, graph neural network