Abstract
Aspect-based sentiment analysis (ABSA) is a prominent and challenging issue in natural language processing tasks. It aims to analyze the emotion of the aspect words in given subjective sentences. A subjective sentence usually contains one or more aspect words, and there are potential associations between different aspect words. At present, many works in the literature ignore the potential relationship between aspect words. Therefore, in this paper, we propose an oriented inter-aspect modeling hierarchical network (IA-HiNET), which aims to mine and strengthen the relationship between different aspect words, and further realize the task of sentence-level sentiment analysis based on aspect words. Specifically, we introduce part-of-speech information and position information as a priori knowledge, and then construct a graph convolution network (GCN) based on sentence dependency to capture emotional cues related to aspect words. We design an aspect-oriented self-attention mechanism to map different aspect words with the same attribute into the same vector space to determine the correlation between different aspect words. Furthermore, we design a novel information gate mechanism to filter the emotional features unrelated to aspect words. The indicative importance between different aspect words is also used to assist the aspect-based sentence-level affective analysis task. We carry out experiments on four benchmark datasets, and excellent experimental results show the effectiveness of our model.
Similar content being viewed by others
References
Pang B, Lee L (2008) Opinion mining and sentiment analysis. Foundations and Trends®; in Information Retrieval 2:1–135. https://doi.org/10.1561/1500000011
Wang L, Cao Z, de Melo G, Liu Z (2016) Relation classification via multi-level attention cnns. In: Proceedings of the 54th annual meeting of the association for computational linguistics (volume 1: long papers). https://doi.org/10.18653/v1/P16-1123. Association for Computational Linguistics, Berlin, pp 1298–1307
Wang Y, Huang M, Zhu X, Zhao L (2016) Attention-based lstm for aspect-level sentiment classification. In: Proceedings of the 2016 conference on empirical methods in natural language processing, Austin. https://doi.org/10.18653/v1/D16-1058https://doi.org/10.18653/v1/D16-1058, pp 606–615
Gu S, Zhang L, Hou Y, Song Y (2018) A position-aware bidirectional attention network for aspect-level sentiment analysis. In: Proceedings of the 27th international conference on computational linguistics, New Mexico. https://doi.org/10.18653/v1/P16-1123, pp 774–784
Fan F, Feng Y, Zhao D (2018) Multi-grained attention network for aspect-level sentiment classification. In: Proceedings of the 2018 conference on empirical methods in natural language processing, Brussels. https://doi.org/10.18653/v1/D18-1380, pp 3433–3442
Hatzivassiloglou V, McKeown K R (1997) Predicting the semantic orientation of adjectives. In: Proceedings of the 35th annual meeting of the association for computational linguistics and eighth conference of the European chapter of the association for computational linguistics. https://doi.org/10.3115/976909.979640. Association for Computational Linguistics, Madrid, pp 174–181
Khong W -H, Soon L -K, Goh H -N, Haw S -C (2018) Leveraging part-of-speech tagging for sentiment analysis in short texts and regular texts. In: Joint international semantic technology conference. https://doi.org/10.1007/978-3-030-04284-4-13https://doi.org/10.1007/978-3-030-04284-4-13, vol 11341, pp 182–197
Riloff E, Wiebe J, Wilson T (2003) Learning subjective nouns using extraction pattern bootstrapping. In: Proceedings of the seventh conference on natural language learning at HLT-NAACL 2003, pp 25–32
Liu B, An X, Huang J (2015) Using term location information to enhance probabilistic information retrieval. In: Proceedings of the 38th international ACM SIGIR conference on research and development in information retrieval, New York. https://doi.org/10.1145/2766462.2767827, pp 883–886
Chen Q, Hu Q, Huang J X, He L, An W (2017) Enhancing recurrent neural networks with positional attention for question answering. In: Proceedings of the 40th international ACM SIGIR conference on research and development in information retrieval. New York. https://doi.org/10.1145/3077136.3080699, pp 993–996
Jiang L, Yu M, Zhou M, Liu X, Zhao T (2011) Target-dependent twitter sentiment classification. In: Proceedings of the 49th annual meeting of the association for computational linguistics: human language technologies, Portland, pp 151–160
Ma D, Li S, Zhang X, Wang H (2017) Interactive attention networks for aspect-level sentiment classification. In: Proceedings of the twenty-sixth international joint conference on artificial intelligence main track. https://doi.org/10.24963/ijcai.2017/568https://doi.org/10.24963/ijcai.2017/568, pp 4068–4074
Huang B, Ou Y, Carley K M (2018) Aspect level sentiment classification with attention-over-attention neural networks. In: International conference on social computing, behavioral-cultural modeling and prediction and behavior representation in modeling and simulation, vol 10899. https://doi.org/10.1007/978-3-319-93372-6-22, pp 197–206
Tang H, Ji D, Li C, Zhou Q (2017) Dependency graph enhanced dual-transformer structure for aspect-based sentiment classification. In: Proceedings of the 58th annual meeting of the association for computational linguistics. Online. https://doi.org/10.18653/v1/2020.acl-main.588, pp 6578–6588
Pang B, Lee L, Vaithyanathan S (2002) Thumbs up?: sentiment classification using machine learning techniques. In: Proceedings of the 2002 conference on empirical methods in natural language processing (EMNLP 2002). https://doi.org/10.3115/1118693.1118704https://doi.org/10.3115/1118693.1118704, pp 79–86
Kaji N, Kitsuregawa M (2007) Building lexicon for sentiment analysis from massive collection of HTML documents. In: Proceedings of the 2007 joint conference on empirical methods in natural language processing and computational natural language learning (EMNLP-CoNLL), Prague, pp 1075–1083
Rao D, Ravichandran D (2009) Semi-supervised polarity lexicon induction. In: Proceedings of the 12th conference of the European Chapter of the ACL (EACL 2009), Athens, pp 675–682
Xia M, Li T, Shu T, Wan J, de Silva C W, Wang Z (2018) A two-stage approach for the remaining useful life prediction of bearings using deep neural networks. In: IEEE Transactions on industrial informatics, vol 15, issue 6. https://doi.org/10.1109/TII.2018.2868687, pp 3703–3711
Dong L, Wei F, Tan C, Tang D, Zhou M, Xu K (2014) Adaptive recursive neural network for target-dependent twitter sentiment classification. In: Proceedings of the 52nd annual meeting of the association for computational linguistics (volume 2: short papers), Baltimore. https://doi.org/10.3115/v1/P14-2009, pp 49–54
Tang D, Qin B, Feng X, Liu T (2016) Effective LSTMs for target dependent sentiment classification. In: Proceedings of COLING 2016, the 26th international conference on computational linguistics: technical papers, Osaka, pp 3298–3307
Tang D, Qin B, Liu T (2016) Aspect level sentiment classification with deep memory network. In: Proceedings of the 2016 conference on empirical methods in natural language processing, Austin. https://doi.org/10.18653/v1/D16-1021, pp 214–224
Poria S, Cambria E, Gelbukh A (2016) Aspect extraction for opinion mining with a deep convolutional neural network. Knowl-Based Syst 108:42–49. https://doi.org/10.1016/j.knosys.2016.06.009https://doi.org/10.1016/j.knosys.2016.06.009
Zhang C, Li Q, Song D (2019) Aspect-based sentiment classification with aspect-specific graph convolutional networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). https://doi.org/10.18653/v1/D19-1464. Association Computational Linguistics, Hong Kong, pp 4567–4577
Beck D, Haffari G, Cohn T (2018) Graph-to-sequence learning using gated graph neural networks. In: Proceedings of the 56th annual meeting of the association for computational linguistics (volume 1: long papers), Melbourne, vol 1. https://doi.org/10.18653/v1/P18-1026https://doi.org/10.18653/v1/P18-1026. Association Computational Linguistics, pp 273–283
Shuang K, Gu M, Li R, Loo J, Su S (2021) Interactive POS-aware network for aspect-level sentiment classification. Neurocomputing 420:181–196. https://doi.org/10.1016/j.neucom.2020.08.013
Sun K, Zhang R, Mensah S, Mao Y, Liu X (2019) Aspect-Level Sentiment analysis via convolution over dependency tree. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), Hong Kong. https://doi.org/10.18653/v1/D19-1569, pp 5679–5688
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez A N, Polosukhin I (2017) Attention is all you need. Computation and Language 5998–6008
Pontiki M, Galanis D, Pavlopoulos J, Papageorgiou H, Androutsopoulos I, Manandhar S (2014) Semeval-2014 task 4: aspectbased sentiment analysis. In: Proceedings of the 8th international workshop on semantic evaluation (SemEval 2014), Dublin. https://doi.org/10.3115/v1/S14-2004, pp 27–35
Dong L, Wei F, Tan C, Tang D, Zhou M, Xu K (2014) Adaptive recursive neural network for target-dependent Twitter sentiment classification. In: Proceedings of the 52nd annual meeting of the association for computational linguistics (volume 2: short papers), Baltimore. https://doi.org/10.3115/v1/P14-2009, pp 49–54
Pontiki M, Galanis D, Papageorgiou H, Pavlopoulos J, Papageorgiou H, Androutsopoulos I, Manandhar S, et al. (2016) Semeval-2016 task 5: aspect based sentiment analysis. In: Proceedings of the 10th international workshop on semantic evaluation (SemEval-2016). https://doi.org/10.18653/v1/S16-1002, pp 19–30
Chen P, Sun Z, Bing L, Yang W (2017) Recurrent attention network on memory for aspect sentiment analysis. In: Proceedings of the 2017 conference on empirical methods in natural language processing, Copenhagen. https://doi.org/10.18653/v1/D17-1047https://doi.org/10.18653/v1/D17-1047, pp 452–461
Shuang K, Gu M, Li R, Loo J, Su S (2020) Interactive POS-aware network for aspect-level sentiment classification. Neurocomputing 420:181–196. https://doi.org/10.1016/j.neucom.2020.08.013
He R, Lee W S, Ng H T, Dahlmeier D (2018b) Effective attention modeling for aspect-level sentiment classification. In: Proceedings of the 27th international conference on computational linguistics, Santa Fe, pp 1121–1131
Ma Y, Peng H, Cambria E (2018) Targeted aspect-based sentiment analysis via embedding commonsense knowledge into an attentive LSTM. In: Proceedings of the thirty-second AAAI conference on artificial intelligence, pp 5876–5883
Ma X, Zeng J, Peng L, Fortino G, Zhang Y (2018) Modeling multi-aspects within one opinionated sentence simultaneously for aspect-level sentiment analysis. Futur Gener Comput Syst 93:304–311. https://doi.org/10.1016/j.future.2018.10.041
Kipf T N, Welling M (2017) Semisupervised classification with graph convolutional networks. In: Proceedings of ICLR-2017
Hou X, Huang J, Wang G, Huang K, He X (2019) Selective attention based graph convolutional networks for aspect-level sentiment classification. Computation and Language, Zhou, B.
Fan F, Feng Y, Zhao D (2018) Multi-grained attention network for aspect-level sentiment classification. In: Proceedings of the 2018 conference on empirical methods in natural language processing. https://doi.org/10.1109/ACCESS.2021.3049294, pp 3433–3442
Devlin J, Chang M. -W., Lee K, Toutanova K (2018) BERT: pre-training Of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies. https://doi.org/10.18653/v1/n19-1423https://doi.org/10.18653/v1/n19-1423, pp 4171–4186
Zhang C, Li Q, Song D (2019) Aspect-based sentiment classification with aspect specific graph convolutional networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). https://doi.org/10.18653/v1/D19-1464. Association for Computational Linguistics, Hong Kong, pp 4560–4570
Velickovic P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2017) Graph attention networks
Wang K, Shen W, Yang Y, Quan X, Wang R (2020) Relational graph attention network for aspect-based sentiment analysis. In: Proceedings of the 58th annual meeting of the association for computational linguistics. https://doi.org/10.18653/v1/2020.acl-main.295https://doi.org/10.18653/v1/2020.acl-main.295, pp 3229–3238
Karimi A, Rossi L, Prati A (2020) Adversarial training for Aspect-Based sentiment analysis with BERT. In: 25th International conference on pattern recognition, Milan. https://doi.org/10.1109/ICPR48806.2021.9412167, pp 8797–8803
Song Y, Wang J, Jiang T, Liu Z, Rao Y (2019) Attentional encoder network for targeted sentiment classification. arXiv:1902.09314
Xue W, Li T (2018) Aspect based sentiment analysis with gated convolutional networks. In: Proceedings of the 56th annual meeting of the association for computational linguistics, Melbourne, Australia, July 15–20, 2018, vol 1. https://doi.org/10.18653/v1/P18-1234, pp 2514–2523
Wang Y, Huang M, Zhu X, Zhao L (2016) Attention-based LSTM for aspect-level sentiment classification. In: Proceedings of the 2016 conference on empirical methods in natural language processing, Austin, Texas, USA. https://doi.org/10.18653/v1/d16-1058, pp 606–615
Huang B, Carley K M (2019) Syntax-aware aspect level sentiment classification with graph attention networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing, Hong Kong, China. https://doi.org/10.18653/v1/D19-1549, pp 5469–5477
Kipf T N, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: 5th International conference on learning representations, ICLR 2017, Toulon, France, April 24–26, conference track proceedings
Acknowledgements
This work is based on the paper “Aspect-based Sentiment Classification with Aspect-specific Graph Convolutional Networks” and the experiment from the work because the authors provided easy-to-read and easy-to-implement experimental code to help us learn and perform experiments. Meanwhile, this work is supported partly by the National Natural Science Foundation of China (NO. 62166041) and by the Xin Jiang Education Funds Project of China (No. 90390007).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Gu, T., Zhao, H. & Li, M. Effective inter-aspect words modeling for aspect-based sentiment analysis. Appl Intell 53, 4366–4379 (2023). https://doi.org/10.1007/s10489-022-03630-0
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-022-03630-0