Computer Science ›› 2023, Vol. 50 ›› Issue (4): 196-203.doi: 10.11896/jsjkx.220100105

• Artificial Intelligence • Previous Articles     Next Articles

Aspect-level Sentiment Classification Based on Interactive Attention and Graph Convolutional Network

WANG Yali1, ZHANG Fan1,2, YU Zeng1,2, LI Tianrui1,2   

  1. 1 School of Computing and Artificial Intelligence,Southwest Jiaotong University,Chengdu 611756,China
    2 National Engineering Laboratory of Integrated Transportation Big Data Application Technology,Chengdu 611756,China
  • Received:2022-01-11 Revised:2022-09-01 Online:2023-04-15 Published:2023-04-06
  • About author:WANG Yali,born in 1997,postgra-duate,is a member of China Computer Federation.Her main research interests include sentiment analysis and natural language processing.
    LI Tianrui,born in 1969,Ph.D,professor,Ph.D supervisor,is a distinguished member of China Computer Federation.His main research interests include big data intelligence,rough sets,granular computing.
  • Supported by:
    National Natural Science Foundation of China(61773324) and Sichuan Key R&D Project(2020YFG0035).

Abstract: Aspect-level sentiment analysis is a key task in fine-grained sentiment analysis,which aims to predict the sentiment tendency of different aspect terms in a sentence.In view of the fact that the current research combined with graph convolution network ignores the meaning of aspect terms themselves and the interaction between aspect terms and context,an interactive attention graph convolutional network model is proposed,named interactive attention graph convolution network(IAGCN).It firstlycombines BiLSTM and modified dynamic weights to model context.Secondly,the syntactic information is encoded by exploiting graph convolutional network on syntactic dependency tree.Then,the attention among context and aspect terms is investigated through interactive attention mechanism and the representation of context and aspect term is reconstructed.Finally,the sentiment polarity of a given aspect term is obtained through a softmax layer.Compared with the baseline models,the accuracy rate and F1 score of the proposed model improves by 0.56%~1.75% and 1.34%~4.04% on 5 datasets,respectively.At the same time,the pre-training model BERT is applied to this task.Compared with the IAGCN based on GloVe model,its accuracy rate and F1 score increases by 1.47%~3.95% and 2.59%~7.55%,respectively.Thus,the model effect has been further improved.

Key words: Aspect-level sentiment analysis, Deep learning, Graph convolutional network, Interactive attention mechanism, BERT

CLC Number: 

  • TP181
[1]PANG B,LEE L.Opinion mining and sentiment analysis[M].Now Publishers Inc,2008.
[2]LIU B.Sentiment analysis and opinion mining[J].SynthesisLectures on Human Language Technologies,2012,5(1):1-167.
[3]BAHDANAU D,CHO K,BENGIO Y.Neural machine translation by jointly learning to align and translate[J].arXiv:1409.0473,2014.
[4]SUN X W,WANG L,WANG X,et al.Aspect-based sentiment analysis model based on dual-attention networks[J].Journal of Computer Research and Development,2019,56(11):2384-2395.
[5]MA Y,CHENG C L.Joint left and right attention mechanismfor aspect-level text sentiment analysis[J].Application Research of Computers,2021,38(6):1753-1758.
[6]MARCHEGGIANI D,TITOV I.Encoding sentences with graph convolutional networks for semantic role labeling[C]//Procee-dings of the 2017 Conference on Empirical Methods in Natural Language Processing.2017:1506-1515.
[7]KIPF T N,WELLING M.Semi-supervised classification withgraph convolutional networks[J].arXiv:1609.02907,2016.
[8]HU M,LIU B.Mining opinion features in customer reviews[C]//Proceedings of the 19th National Conference on Artificial intelligence.2004:755-760.
[9]DING X,LIU B,YU P S.A holistic lexicon-based approach toopinion mining[C]//Proceedings of the 2008 International Conference on Web Search and Data Mining.2008:231-240.
[10]LIU Q,LIANG B,XU J,et al.A deep hierarchical neural network model for aspect-based sentiment analysis[J].Chinese Journal of Computers,2018,41(12):3-18.
[11]DONG L,WEI F,TAN C,et al.Adaptive recursive neural network for target-dependent twitter sentiment classification[C]//Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics.2014:49-54.
[12]TANG D,QIN B,FENG X,et al.Effective LSTMs for target-dependent sentiment classification[C]//Proceedings of the 26th International Conference on Computational Linguistics:Technical Papers.2016:3298-3307.
[13]WANG Y,HUANG M,ZHU X,et al.Attention-based LSTM for aspect-level sentiment classification[C]//Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.2016:606-615.
[14]ZHANG Z L,LI L C,ZHU X Q,et al.Aspect sentiment analysis combining on-lstm and self-attention mechanism[J].Journal of Chinese Computer Systems,2020,41(9):1839-1844.
[15]TANG D,QIN B,LIU T.Aspect level sentiment classification with deep memory network[C]//Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.2016:214-224.
[16]MA D,LI S,ZHANG X,et al.Interactive attention networks for aspect-level sentiment classification[C]//Proceedings of the 26th International Joint Conference on Artificial Intelligence.2017:4068-4074.
[17]SONG Y,WANG J,JIANG T,et al.Attentional encoder network for targeted sentiment classification[J].arXiv:1902.09314,2019.
[18]FAN C,GAO Q,DU J,et al.Convolution-based memory net-work for aspect-based sentiment analysis[C]//Proceedings of the 41st International ACM SIGIR Conference on Research & Development in Information Retrieval.2018:1161-1164.
[19]ZHANG C,LI Q,SONG D.Aspect-based sentiment classification with aspect-specific graph convolutional networks[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing(EMNLP-IJCNLP).2019:4568-4578.
[20]SUN K,ZHANG R,MENSAH S,et al.Aspect-level sentiment analysis via convolution over dependency tree[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing(EMNLP-IJCNLP).2019:5679-5688.
[21]ZHAO P,HOU L,WU O.Modeling sentiment dependencieswith graph convolutional networks for aspect-level sentiment classification[J].arXiv:1906.04501,2019.
[22]QI S Z,HUANG X Y,ZHU X F.Aspect-based sentiment analysis model based on weight enhancement[J/OL].Journal of Chinese Computer Systems,2021:1-8.https://kns.cnki.net/kcms/detail/21.1106.TP.20210319.1014.012.html.
[23]ZHOU J,HUANG J X,HU Q V,et al.SK-GCN:Modeling syntax and knowledge via graph convolutional network for aspect-level sentiment classification[J/OL].Knowledge-Based Systems,2020,205:106292.https://doi.org/10.1016/j.knosys.2020.106292.
[24]PENNINGTON J,SOCHER R,MANNINGG C D.Glove:Glo-bal vectors for word representation[C]//Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing.2014:1532-1543.
[25]KENTON J D M W C,TOUTANOVA L K.BERT:Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of Annual Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2019:4171-4186.
[26]PHAN M H,OGUNBONA P O.Modelling context and syntactical features for aspect-based sentiment analysis[C]//Procee-dings of the 58th Annual Meeting of the Association for Computational Linguistics.2020:3211-3220.
[27]PONTIKI M,GALANIS D,PAVLOPOULOS J,et al.SemEval-2014 Task 4:Aspect based sentiment analysis[C]//Proceedings of the 8th International Workshop on Semantic Evaluation.2014:27-35.
[28]PONTIKI M,GALANIS D,PAPAGEORGIOU H,et al.Semeval-2015 task 12:Aspect based sentiment analysis[C]//Proceedings of the 9th International Workshop on Semantic Evaluation.2015:486-495.
[29]PONTIKI M,GALANIS D,PAPAGEORGIOU H,et al.SemEval-2016 Task 5:Aspect based sentiment analysis[C]//Procee-dings of the 10th International Workshop on Semantic Evaluation.2016:19-30.
[30]HUANG B,OU Y,CARLEY K M.Aspect levelsentiment classification with attention-over-attention neural networks[C]//Proceedings of the International Conference on Social Computing,Behavioral-Cultural Modeling and Prediction and Behavior Representation in Modeling and Simulation.Cham:Springer,2018:197-206.
[31]HUANG B,CARLEY K M.Syntax-aware aspect level senti-ment classification with graph attention networks[C]//Procee-dings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing(EMNLP-IJCNLP).2019:5469-5477.
[32]KUMAR A,NARAPAREDDY V T,SRIKANTHrikanth V A,et al.Aspect-based sentiment classification using interactive gated convolutional network[J].IEEE Access,2020,8:22445-22453.
[33]XIAO L,HU X,CHEN Y,et al.Targeted sentiment classification based on attentional encoding and graph convolutional networks[J/OL].Applied Sciences,2020,10(3):957https://doi.org/10.3390/app10030957.
[1] LIU Zerun, ZHENG Hong, QIU Junjie. Smart Contract Vulnerability Detection Based on Abstract Syntax Tree Pruning [J]. Computer Science, 2023, 50(4): 317-322.
[2] XUE Fenghao, JIANG Haibo, TANG Dan. Review of Deep Learning Applications in Healthcare [J]. Computer Science, 2023, 50(4): 1-15.
[3] HAN Xueming, JIA Caiyan, LI Xuanya, ZHANG Pengfei. Dual-attention Network Model on Propagation Tree Structures for Rumor Detection [J]. Computer Science, 2023, 50(4): 22-31.
[4] LI Shuai, XU Bin, HAN Yike, LIAO Tongxin. SS-GCN:Aspect-based Sentiment Analysis Model with Affective Enhancement and Syntactic Enhancement [J]. Computer Science, 2023, 50(3): 3-11.
[5] DENG Liang, QI Panhu, LIU Zhenlong, LI Jingxin, TANG Jiqiang. BGPNRE:A BERT-based Global Pointer Network for Named Entity-Relation Joint Extraction Method [J]. Computer Science, 2023, 50(3): 42-48.
[6] ZHOU Mingqiang, DAI Kailang, WU Quanwang, ZHU Qingsheng. Attention-aware Multi-channel Graph Convolutional Rating Prediction Model for Heterogeneous Information Networks [J]. Computer Science, 2023, 50(3): 129-138.
[7] DONG Yongfeng, HUANG Gang, XUE Wanruo, LI Linhao. Graph Attention Deep Knowledge Tracing Model Integrated with IRT [J]. Computer Science, 2023, 50(3): 173-180.
[8] HUA Xiaofeng, FENG Na, YU Junqing, HE Yunfeng. Shooting Event Detection of Free Kick in Soccer Video Based on Rule Reasoning [J]. Computer Science, 2023, 50(3): 181-190.
[9] MEI Pengcheng, YANG Jibin, ZHANG Qiang, HUANG Xiang. Sound Event Joint Estimation Method Based on Three-dimension Convolution [J]. Computer Science, 2023, 50(3): 191-198.
[10] BAI Xuefei, MA Yanan, WANG Wenjian. Segmentation Method of Edge-guided Breast Ultrasound Images Based on Feature Fusion [J]. Computer Science, 2023, 50(3): 199-207.
[11] LIU Hang, PU Yuanyuan, LYU Dahua, ZHAO Zhengpeng, XU Dan, QIAN Wenhua. Polarized Self-attention Constrains Color Overflow in Automatic Coloring of Image [J]. Computer Science, 2023, 50(3): 208-215.
[12] CHEN Liang, WANG Lu, LI Shengchun, LIU Changhong. Study on Visual Dashboard Generation Technology Based on Deep Learning [J]. Computer Science, 2023, 50(3): 238-245.
[13] ZHANG Yi, WU Qin. Crowd Counting Network Based on Feature Enhancement Loss and Foreground Attention [J]. Computer Science, 2023, 50(3): 246-253.
[14] LIU Zhe, YIN Chengfeng, LI Tianrui. Chinese Spelling Check Based on BERT and Multi-feature Fusion Embedding [J]. Computer Science, 2023, 50(3): 282-290.
[15] YING Zonghao, WU Bin. Backdoor Attack on Deep Learning Models:A Survey [J]. Computer Science, 2023, 50(3): 333-350.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!