Journal of King Saud University: Computer and Information Sciences (Feb 2023)

Aspect sentiment classification using syntactic neighbour based attention network

  • Tanu Sharma,
  • Kamaldeep Kaur

Journal volume & issue
Vol. 35, no. 2
pp. 612 – 625

Abstract

Read online

Aspect Level Sentiment Classification (ALSC) deals with classifying the sentiment polarity towards a particular aspect or target. The performance of any method in ALSC is primarily driven by its capability to map the aspect or target term to the correct sentiment context words. The dependency tree's syntactical information is crucial for correctly mapping the appropriate context terms to the aspect term. Thus, recent top-performing methods use the graph neural network (GNN) to incorporate the syntactical knowledge of the dependency tree. However, the architecture of such methods is quite complex with the computationally expensive GNNs. In this work, we propose a method syntactic neighbour-based attention network (SNBAN), that is architecturally simple, takes less computational time and is efficient. SNBAN has a novel and simple architecture that is based on Bi-GRU (Bi-directional Gated Recurrent unit). Specifically, SNBAN can exploit both semantic and syntactic knowledge of the input sentence using two muti-head attentions (MHATT) where the first and second MHATT handle the semantic and syntactic knowledge of the input sentence respectively. The experiments show that the proposed SNBAN significantly outperforms the non-syntactic knowledge-based baselines. The experiments also show that the proposed SNBAN takes a significantly reduced average training time in comparison to GNNs and at the same time performs with comparable accuracy and F1 score against the GNN based methods.

Keywords