Abstract
Aspect-Based Sentiment Analysis (ABSA) is a fine-grained sentiment analysis task, aiming at mining sentiment polarity towards specific aspects. Most existing work to address ABSA has focused on using Graph Neural Networks combined with syntactic dependency trees. However, existing models often fall into semantic confusion for sentiment analysis due to the information imbalance in the dependency tree. To solve the problem of semantic confusion, we propose a Local Enhanced Relational Graph Attention Network with Dual-level Dependency Parsing (DL-RGAT) model. The dual-level dependency parsing structure constructs a dependency grid for each aspect word, which contains only dependency relations that are related strongly to the aspect. It effectively isolates the negative impact from irrelevant words near the aspect on the aspect. Then the proposed Gaussian local context dynamic weighting structure adaptively adjusts the feature weights of the local context and filters the negative impact of local contexts far from the aspect on the aspect. In this way, the semantic confusion problem is effectively solved. Finally, the parsed dependency relations are encoded for sentiment analysis using a relational graph attention network. Extensive experiments on benchmark datasets have shown that DL-RGAT improves 1.44–5.24% and 1.64–6.7% in average accuracy and average Macro-F1 compared to the results of state-of-the-art studies over the past 3 years.




Similar content being viewed by others
Data availability
Data supporting the results of this study are available upon request from the corresponding author liulisha0028@mails.ccnu.edu. Because they contain information that may compromise the consent of study participants, these data are not publicly available.
References
Pang B, Lee L et al (2008) Opinion mining and sentiment analysis. Found Trends Inf Retr 2(1–2):1–135
Zhao J, Liu K, Xu L (2016) Sentiment analysis: mining opinions, sentiments, and emotions
Wang L, Niu J, Song H, Atiquzzaman M (2018) Sentirelated: a cross-domain sentiment classification algorithm for short texts through sentiment related index. J Netw Comput Appl 101:111–119
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, pp 151–160
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, pp 606–615
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, pp 452–461
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, pp 3433–3442
Zhang C, Li Q, Song D (2019) Aspect-based sentiment classification with aspect-specific graph convolutional networks. arXiv preprint arXiv:1909.03477
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), pp 5679–5688
Huang B, Carley KM (2019) Syntax-aware aspect level sentiment classification with graph attention networks. arXiv preprint arXiv:1909.02606
Wang K, Shen W, Yang Y, Quan X, Wang R (2020) Relational graph attention network for aspect-based sentiment analysis. arXiv preprint arXiv:2004.12362
Tang H, Ji D, Li C, Zhou Q (2020) Dependency graph enhanced dual-transformer structure for aspect-based sentiment classification. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp 6578–6588
Cambria E, Das D, Bandyopadhyay S, Feraco A (2017) Affective computing and sentiment analysis. In: A practical guide to sentiment analysis. Springer, pp 1–10
Kiritchenko S, Zhu X, Cherry C, Mohammad S (2014) Nrc-canada-2014: detecting aspects and sentiment in customer reviews. In: Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014), pp 437–442
AL-Sharuee MT, Liu F, Pratama M (2018) Sentiment analysis: an automatic contextual analysis and ensemble clustering approach and comparison. Data Knowl Eng 115:194–213
Anand C (2021) Comparison of stock price prediction models using pre-trained neural networks. J Ubiquitous Comput Commun Technol 3(02):122–134
Luong M-T, Pham H, Manning CD (2015) Effective approaches to attention-based neural machine translation. arXiv preprint arXiv:1508.04025
Yang M, Qiang Q, Chen X, Guo C, Shen Y, Lei K (2018) Feature-enhanced attention network for target-dependent sentiment classification. Neurocomputing 307:91–97
Ma D, Li S, Zhang X, Wang H (2018) Interactive attention networks for aspect-level sentiment classification. arXiv preprint arXiv:1709.00893, 2017
Devlin J, Chang M-W, Lee K, Toutanova K (2018) Bert: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805
Xu H, Liu B, Shu L, Yu PS (2019) Bert post-training for review reading comprehension and aspect-based sentiment analysis. arXiv preprint arXiv:1904.02232
Lv Y, Wei F, Cao L, Peng S, Niu J, Shui Y, Wang C (2021) Aspect-level sentiment analysis using context and aspect memory network. Neurocomputing 428:195–205
Chao W, Xiong Q, Yang Z, Gao M, Li Q, Yang Y, Wang K, Zhu Q (2021) Residual attention and other aspects module for aspect-based sentiment analysis. Neurocomputing 435:42–52
Chen Y, Zhuang T, Guo K (2021) Memory network with hierarchical multi-head attention for aspect-based sentiment analysis. Appl Intell 1–18
Qiu G, Liu B, Jiajun B, Chen C (2011) Opinion word expansion and target extraction through double propagation. Comput Linguist 37(1):9–27
Liu K, Xu HL, Liu Y, Zhao J (2013) Opinion target extraction using partially-supervised word alignment model. In: Twenty-Third International Joint Conference on Artificial Intelligence
Poria S, Cambria E, Winterstein G, Huang G-B (2014) Sentic patterns: dependency-based rules for concept-level sentiment analysis. Knowledge-Based Syst 69:45–63
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 (vol 2: Short papers), pp 49–54
Liao S, Wang J, Ruiyun Y, Sato K, Cheng Z (2017) Cnn for situations understanding based on sentiment analysis of twitter data. Proc Comput Sci 111:376–381
Chen T, Ruifeng X, He Y, Wang X (2017) Improving sentiment analysis via sentence type classification using bilstm-crf and cnn. Expert Syst Appl 72:221–230
Xue W, Li T (2018) Aspect based sentiment analysis with gated convolutional networks. arXiv preprint arXiv:1805.07043
Bai Q, Zhou J, He L (2022) Pg-rnn: using position-gated recurrent neural networks for aspect-based sentiment classification. J Supercomput 78(3):4073–4094
He R, Lee WS, Ng HT, Dahlmeier D (2018) Effective attention modeling for aspect-level sentiment classification. In: Proceedings of the 27th International Conference on Computational Linguistics, pp 1121–1131
Zhang M, Qian T (2020) Convolution over hierarchical syntactic and lexical graphs for aspect level sentiment analysis. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp 3540–3549
Phan MH, Ogunbona PO (2020) Modelling context and syntactical features for aspect-based sentiment analysis. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp 3211–3220
Zhao P, Hou L, Ou W (2020) Modeling sentiment dependencies with graph convolutional networks for aspect-level sentiment classification. Knowledge-Based Syst 193:105443
Cai D, Lam W (2020) Graph transformer for graph-to-sequence learning. Proc AAAI Conf Artif Intell 34:7464–7471
Lu Q, Zhu Z, Zhang G, Kang S, Liu P (2021) Aspect-gated graph convolutional networks for aspect-based sentiment analysis. Appl Intell 1–12
Li B, Zhou H, He J, Wang M, Yang Y, Li L (2020) On the sentence embeddings from pre-trained language models. arXiv preprint arXiv:2011.05864
Liu Yang, Li Jingfa, Sun Shuyu, Bo Yu (2019) Advances in gaussian random field generation: sa review. Comput Geosci 23(5):1011–1047
Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2017) Graph attention networks. arXiv preprint arXiv:1710.10903
Pontiki M, Galanis D, Papageorgiou H, Androutsopoulos I, Manandhar S, Al-Smadi M, Al-Ayyoub M, Zhao Y, Qin B, De Clercq O et al. (2016) Semeval-2016 task 5: aspect based sentiment analysis. In: International Workshop on Semantic Evaluation, pp 19–30
Dozat T, Manning CD (2016) Deep biaffine attention for neural dependency parsing. arXiv preprint arXiv:1611.01734
Li X, Bing L, Lam W, Shi B (2018) Transformation networks for target-oriented sentiment classification. arXiv preprint arXiv:1805.01086
Karthigaikumar P (2021) Industrial quality prediction system through data mining algorithm. J Electron Inf 3(2):126–137
Anand JV (2020) A methodology of atmospheric deterioration forecasting and evaluation through data mining and business intelligence. J Ubiquitous Comput Commun Technol 2(02):79–87
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zhang, M., Liu, L., Mi, J. et al. Enhanced dual-level dependency parsing for aspect-based sentiment analysis. J Supercomput 79, 6290–6308 (2023). https://doi.org/10.1007/s11227-022-04898-2
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-022-04898-2