Abstract
Aspect-based sentiment analysis is a fine-grained sentiment analysis task that involves classifying the sentiment polarity of specific aspect terms in sentences. Existing semantic graph convolutional networks fail to accurately capture the relationship between aspect terms and opinion words, thus overlooking attention to aspect terms and leading to inaccurate classification results. To address this issue, this paper proposes Aspect-Level Sentiment Analysis with Semantic and Emotional Modeling (ALSEM). The model theoretically establishes a framework that systematically explains the interaction between semantic information and sentiment knowledge, thereby guiding the design and method selection for the model. By integrating self-attention and aspect-aware attention mechanisms, ALSEM constructs an attention score matrix for sentences and uses graph convolutional networks to extract semantic features based on this matrix. The model captures both aspect-related semantic associations and global semantic information, providing comprehensive support for sentiment classification. Additionally, it incorporates external sentiment knowledge to enhance the interaction between aspect terms and opinion words. We conduct experiments on three benchmark datasets to evaluate the performance of the proposed model. Experimental results demonstrate that on the Restaurant14, Laptop14, and Twitter datasets, our proposed model achieves accuracy rates of 85.26%, 80.32%, and 76.72%, respectively.






Similar content being viewed by others
Data availability
No datasets were generated or analysed during the current study.
References
Zhao H, Xiao J, Xue Y et al (2024) Aspect category sentiment classification via document-level gan and pos information. Int J Mach Learn Cybern 15:3221–3235. https://doi.org/10.1007/s13042-023-02089-w
Mao R, Liu Q, He K, Li W, Cambria E (2023) The biases of pre-trained language models: An empirical study on prompt-based sentiment analysis and emotion detection. IEEE Trans Affect Comput 14(3):1743–1753. https://doi.org/10.1109/TAFFC.2022.3204972
Liu H, Li X, Lu W, Cheng K, Liu X (2024) Graph augmentation networks based on dynamic sentiment knowledge and static external knowledge graphs for aspect-based sentiment analysis. Expert Syst Appl 251:123981. https://doi.org/10.1016/j.eswa.2024.123981
You L, Peng J, Jin H, Claramunt C, Zeng H, Zhang Z (2024) Drgat: dual-relational graph attention networks for aspect-based sentiment classification. Inf Sci 668:120531. https://doi.org/10.1016/j.ins.2024.120531
Zhao G, Luo Y, Chen Q, Qian X (2023) Aspect-based sentiment analysis via multitask learning for online reviews. Knowl-Based Syst 264:110326. https://doi.org/10.1016/j.knosys.2023.110326
Li H, Xue Y, Zhao H, Hu X, Peng S (2019) Co-attention networks for aspect-level sentiment analysis. In: Proceedings of the CCF International Conference on Natural Language Processing and Chinese Computing. Springer, Guilin
Shi X, Hu M, Ren F, Shi P (2024) Prompted representation joint contrastive learning for aspect-based sentiment analysis. Knowl-Based Syst 285:111345. https://doi.org/10.1016/j.knosys.2023.111345
Kong M, Feng L, Zhang C, Hao F, Yan Y (2024) Distance-reconstructed dependency enhanced aspect-based sentiment analysis with sentiment strength. Neurocomputing 608:128459. https://doi.org/10.1016/j.neucom.2024.128459
Ouyang J, Xuan C, Wang B, Yang Z (2024) Aspect-based sentiment classification with aspect-specific hypergraph attention networks. Expert Syst Appl 248:123412. https://doi.org/10.1016/j.eswa.2024.123412
Wang P, Tao L, Tang M, Wang L, Xu Y, Zhao M (2024) Incorporating syntax and semantics with dual graph neural networks for aspect-level sentiment analysis. Eng Appl Artif Intell 133:108101. https://doi.org/10.1016/j.engappai.2024.108101
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), Hong Kong, China, pp 4568–4578
Huang X, Li J, Wu J, Chang J, Liu D, Zhu K (2024) Flexibly utilizing syntactic knowledge in aspect-based sentiment analysis. Inf Process Manag 61(3):103630. https://doi.org/10.1016/j.ipm.2023.103630
Ma F, Hu X, Liu A, Yang Y, Li S, Yu L, Philip SW (2023) AMR-based network for aspect-based sentiment analysis. In: Rogers A, Boyd-Graber J, Okazaki N (eds) Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Toronto, Canada. https://doi.org/10.18653/v1/2023.acl-long.19. https://aclanthology.org/2023.acl-long.19
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
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)
Huang B, Carley KM (2019) Syntax-aware aspect level sentiment classification with graph attention networks. arXiv preprint arXiv:1909.02606
Liang B, Su H, Gui L, al. (2022) Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks. Knowl-Based Syst 235(1):106998–107012
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, ON, USA
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), Dublin, Ireland
Ding X, Zhang Y, Liu T, Duan J (2015) Deep learning for event-driven stock prediction. In: Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, Buenos Aires, Argentina
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
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, pp 214–224. Association for Computational Linguistics, Austin, Texas
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. Association for Computational Linguistics, Copenhagen, Denmark
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. Association for Computational Linguistics, Brussels, Belgium
Tan X, Cai Y, Zhu C (2019) Recognizing conflict opinions in aspect-level sentiment classification with dual 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 (EMNLP-IJCNLP), pp 3426–3431. Association for Computational Linguistics, Hong Kong, China
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, pp 4068–4074
Zhang C, Li Q, Song D (2019) Aspect-based sentiment classification with aspect-specific graph convolutional networks. arXiv preprint arXiv:1909.03477
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
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, pp 3229–3238
Xiao L, Wu X, Xu J, Li W, Jin C, He L (2024) Atlantis: Aesthetic-oriented multiple granularities fusion network for joint multimodal aspect-based sentiment analysis. Inf Fusion 106:102304. https://doi.org/10.1016/j.inffus.2024.102304
Yue T, Mao R, Wang H, Hu Z, Cambria E (2023) Knowlenet: knowledge fusion network for multimodal sarcasm detection. Inf Fusion 100:101921. https://doi.org/10.1016/j.inffus.2023.101921
Kipf TN, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: Proceedings of the International Conference on Learning Representations (ICLR), Toulon, France
Yao L, Mao C, Luo Y (2019) Graph convolutional networks for text classification. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol 33. Honolulu, HI, USA, pp 7370–7377
Huang L, Ma D, Li S, Zhang X, Wang H (2019) Text level graph neural network for text classification. 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, China, pp 3444–3450
Zhang Y, Qi P, Manning CD (2018) Graph convolution over pruned dependency trees improves relation extraction. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, pp 2205–2215
Sun K, Zhang R, Mao Y, Mensah S, Liu X (2020) Relation extraction with convolutional network over learnable syntax-transport graph. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34. New York, NY, USA
Gou J, Yu B, Maybank SJ, Tao D (2021) Knowledge distillation: a survey. Int J Comput Vis 129:1789–1819
Bastings J, Titov I, Aziz W, Marcheggiani D, Sima’an K (2017) Graph convolutional encoders for syntax-aware neural machine translation. In: Proceedings of the EMNLP, Copenhagen, Denmark, pp 1957–1967
Li R, Chen H, Feng F, Ma Z, Wang X, Hovy E (2021) Dual graph convolutional networks for aspect-based sentiment analysis. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Virtual Event
Pang S, Xue Y, Yan Z, Huang W, Feng J (2021) Dynamic and multi-channel graph convolutional networks for aspect-based sentiment analysis. In: Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Virtual
An W, Tian F, Chen P, Zheng Q (2023) Aspect-based sentiment analysis with heterogeneous graph neural network. IEEE Trans Comput Soc Syst 10(1):403–412. https://doi.org/10.1109/TCSS.2022.3148866
Zhu Z, Zhang D, Li L et al (2023) Knowledge-guided multi-granularity gcn for absa. Inf Process Manag 60(2):103223
Xiao L, Xue Y, Wang H, Hu X, Gu D, Zhu Y (2022) Exploring fine-grained syntactic information for aspect-based sentiment classification with dual graph neural networks. Neurocomputing 471:48–59. https://doi.org/10.1016/j.neucom.2021.10.091
Xu J, Yang S, Xiao L, Fu Z, Wu X, Ma T, He L (2022) Graph convolution over the semantic-syntactic hybrid graph enhanced by affective knowledge for aspect-level sentiment classification. In: 2022 International Joint Conference on Neural Networks (IJCNN), pp 1–8. https://doi.org/10.1109/IJCNN55064.2022.9892027
Xing FZ, Pallucchini F, Cambria E (2019) Cognitive-inspired domain adaptation of sentiment lexicons. Inf Process Manag 56(3):554–564
Pennington J, Socher R, Manning C (2014) Glove: Global vectors for word representation. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp 1532–1543
Devlin J, Chang M-W, Lee K, Toutanova K (2019) 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, vol. 1, pp 4171–4186. Association for Computational Linguistics, Minneapolis, Minnesota
Jiang B, Xu G, Liu P (2023) Aspect-level sentiment classification via location enhanced aspect-merged graph convolutional networks. J Supercomput 79(9):9666–9691
Hu J, Shen L, Sun G (2018) Squeeze-and-excitation networks. In: IEEE Conference on Computer Vision and Pattern Recognition, pp 7132–7141
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 Conference on Artificial Intelligence (AAAI-18), pp 5876–5883
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
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser, Polosukhin I (2017) Attention is all you need. In: Advances in Neural Information Processing Systems, pp 5998–6008
Pontiki M, Galanis D, Pavlopoulos J, Papageorgiou H, Manandhar S (2014) Semeval-2014 task 4: Aspect based sentiment analysis. In: Proceedings of International Workshop on Semantic Evaluation
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), pp 49–54
Zhang Z, Zhou Z, Wang Y (2022) Ssegcn: Syntactic and semantic enhanced graph convolutional network for aspect-based sentiment analysis. In: Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp 4916–4925
Author information
Authors and Affiliations
Contributions
Xiaoxia Bi wrote the main manuscript text, conducted the experiments, prepared the figures, and also reviewed the manuscript. Xiaopeng Cao and Ting Meng reviewed the manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
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
Cao, X., Bi, X. & Meng, T. ALSEM: aspect-level sentiment analysis with semantic and emotional modeling. Int. J. Mach. Learn. & Cyber. (2025). https://doi.org/10.1007/s13042-025-02567-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s13042-025-02567-3