Skip to main content
Log in

Prompted and integrated textual information enhancing aspect-based sentiment analysis

  • Research
  • Published:
Journal of Intelligent Information Systems Aims and scope Submit manuscript

Abstract

Aspect-based Sentiment Analysis (ABSA) aims to automatically predict the sentiment polarity of the written text based on the analysis of specific aspects. By applying various pre-trained language encoders, recent studies have achieved great success in modeling aspect and context features and measuring the word-level correlations. However, the pre-trained language models (PLM) were usually employed as the feature representations generator without any task-oriented guidance. And the syntax dependency tree is also not fully utilized. Besides, simply concatenating usually fails to exploit deep semantic features from multi-source spaces and weakens the representation of context features. In this study, we propose a novel model, namely PRoGCN (Prompted RoBERTa & Graph Convolution Network), which directly tells RoBERTa the goal of the present task by inserting the task-oriented specific prompting word to the raw text. Moreover, the prompted feature representation is also utilized to help generate textual knowledge graph, and strongly enhances the syntactic feature representation. In addition, we first introduce cross attention into our study to integrate semantic representation and syntactic representation, which has been proven to be successful in implementing and fusing multi-source information. Experimental results on five publicly available ABSA datasets validate the effectiveness of our method, and the proposed method achieves state-of-the-art performance on mentioned ABSA benchmarks.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Availability of supporting data

Data will be made available on request

References

  • Afzaal, M., Usman, M., & Fong, A. (2019). Tourism mobile app with aspect-based sentiment classification framework for tourist reviews. IEEE Transactions on Consumer Electronics, 233–242. https://doi.org/10.1109/TCE.2019.2908944

  • Akhtar, M. S., Gupta, D., Ekbal, A., et al. (2017). Feature selection and ensemble construction: A two-step method for aspect based sentiment analysis. Knowledge-Based Systems, 116–135. https://doi.org/10.1016/j.knosys.2017.03.020

  • Atrey, P. K., Hossain, M. A., El Saddik, A., et al. (2010). Multimodal fusion for multimedia analysis: a survey. Multimedia Systems, 345–379. https://doi.org/10.1007/s00530-010-0182-0

  • Bie Y. & Yang Y. (2021). A multitask multiview neural network for end-to-end aspect-based sentiment analysis. Big Data Mining and Analytics, 195–207. https://doi.org/10.26599/BDMA.2021.9020003

  • Cao, Y., Tang, Y., Du, H., et al. (2023). Heterogeneous reinforcement learning network for aspect-based sentiment classification with external knowledge. IEEE Transactions on Affective Computing, 1–14. https://doi.org/10.1109/TAFFC.2022.3233020

  • Chen C., Teng Z., Wang Z., et al. (2022). Discrete opinion tree induction for aspect-based sentiment analysis. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, 2051–2064. https://doi.org/10.18653/v1/2022.acl-long.145

  • Cui L., Wu Y., Liu J., et al. (2021). Template-based named entity recognition using bart. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, 1835–1845. https://doi.org/10.18653/v1/2021.findings-acl.161

  • Dai J., Yan H., Sun T., et al. (2021). Does syntax matter? a strong baseline for aspect-based sentiment analysis with roberta. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 1816–1829. https://doi.org/10.18653/V1/2021.NAACL-MAIN.146

  • Deng J., Ren F. (2021). Hierarchical network with label embedding for contextual emotion recognition. Research, 1–9. https://doi.org/10.34133/2021/3067943

  • Devlin J., Chang M.W., Lee K., et al. (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, 4171–4186. https://doi.org/10.18653/v1/N19-1423

  • Do, H. H., Prasad, P., Maag, A., et al. (2019). Deep learning for aspect-based sentiment analysis: a comparative review. Expert Systems with Applications, 272–299. https://doi.org/10.1016/j.eswa.2018.10.003

  • Dong L., Wei F., Tan C., et al. (2014). Adaptive recursive neural network for target-dependent twitter sentiment classification. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, 49–54. https://doi.org/10.3115/v1/P14-2009

  • Feng, S., Wang, B., Yang, Z., et al. (2022). Aspect-based sentiment analysis with attention-assisted graph and variational sentence representation. Knowledge-Based Systems, 109975–109975. https://doi.org/10.1016/j.knosys.2022.109975

  • Gao T., Fisch A., Chen D. (2021). Making pre-trained language models better few-shot learners. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, pp 3816–3830. https://doi.org/10.18653/v1/2021.acl-long.295

  • Jiang, Z., Xu, F. F., Araki, J., et al. (2020). How can we know what language models know? Transactions of the Association for Computational Linguistics, 423–438. https://doi.org/10.1162/tacl_a_00324

  • Lee K.H., Chen X., Hua G., et al. (2018). Stacked cross attention for image-text matching. In Proceedings of the European Conference on Computer Vision (ECCV), 201–216, https://doi.org/10.1007/978-3-030-01225-0_13

  • Lester B., Al-Rfou R., Constant N. (2021). The power of scale for parameter-efficient prompt tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, 3045–3059. https://doi.org/10.18653/v1/2021.emnlp-main.243

  • Li R., Chen H., Feng F., et al. (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, 6319–6329. https://doi.org/10.18653/v1/2021.acl-long.494

  • Li X.L & Liang P. (2021). Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, 4582–4597. https://doi.org/10.18653/v1/2021.acl-long.353

  • Liang B., Su H., Gui L., et al. (2022). Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks. Knowledge-Based Systems, 107643–107643. https://doi.org/10.1016/j.knosys.2021.107643

  • Liao W., Zeng B., Yin X., et al. (2021) An improved aspect-category sentiment analysis model for text sentiment analysis based on roberta. Applied Intelligence, 3522–3533. https://doi.org/10.1007/s10489-020-01964-1

  • Liu Y., Ott M., Goyal N., et al. (2019). Roberta: A robustly optimized bert pretraining approach, 1–1. arXiv:1907.11692

  • Lu G., Li J., Wei J. (2022). Aspect sentiment analysis with heterogeneous graph neural networks. Information Processing and Management, 102953–102953. https://doi.org/10.1016/j.ipm.2022.102953

  • Lu Q., Zhu Z., Zhang G., et al. (2021). Aspect-gated graph convolutional networks for aspect-based sentiment analysis. Applied Intelligence, 4408–4419. https://doi.org/10.1007/s10489-020-02095-3

  • Luo H., Ji L., Li T., et al. (2020). Grace: Gradient harmonized and cascaded labeling for aspect-based sentiment analysis. In Findings of the Association for Computational Linguistics: EMNLP 2020, 54–64. https://doi.org/10.18653/v1/2020.findings-emnlp.6

  • Lv B., Jin L., Zhang Y., et al. (2022). Commonsense knowledge-aware prompt tuning for few-shot nota relation classification. Applied Sciences, 2185–2185. https://doi.org/10.3390/app12042185

  • Manning C.D., Surdeanu M., Bauer J., et al. (2014). The stanford corenlp natural language processing toolkit. In Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 55–60. https://doi.org/10.3115/v1/P14-5010

  • Mikolov T., Sutskever I., Chen K., et al. (2013). Distributed representations of words and phrases and their compositionality. Advances in Neural Information Processing Systems, 3111–3119. https://proceedings.neurips.cc/paper_files/paper/2013/file/9aa42b31882ec039965f3c4923ce901b-Paper.pdf

  • Petroni F., Rocktäschel T., Riedel S., et al. (2019). Language models as knowledge bases? 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), 2463–2473. https://doi.org/10.18653/v1/D19-1250

  • Phan M.H. & Ogunbona P.O. (2020). Modelling context and syntactical features for aspect-based sentiment analysis. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 3211–3220. https://doi.org/10.18653/v1/2020.acl-main.293

  • Pontiki M., Galanis D., Pavlopoulos J., et al. (2014). Semeval-2014 task 4: Aspect based sentiment analysis. In Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014). Association for Computational Linguistics, 27–35. https://doi.org/10.3115/v1/S14-2004

  • Pontiki M., Galanis D., Papageorgiou H., et al. (2015). Semeval-2015 task 12: Aspect based sentiment analysis. In Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), 486–495. https://doi.org/10.18653/v1/S15-2082

  • Pontiki M., Galanis D., Papageorgiou H., et al. (2016). Semeval-2016 task 5: Aspect based sentiment analysis. In International workshop on semantic evaluation, 19–30. https://doi.org/10.18653/v1/S16-1002

  • Schick T. & Schütze H (2021). Exploiting cloze-questions for few-shot text classification and natural language inference. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, 255–269, https://doi.org/10.18653/v1/2021.eacl-main.20

  • Schwartz I., Schwing A., Hazan T. (2017). High-order attention models for visual question answering. Advances in Neural Information Processing Systems, 3667–3677. https://proceedings.neurips.cc/paper_files/paper/2017/file/051928341be67dcba03f0e04104d9047-Paper.pdf

  • Shin T., Razeghi Y., Logan IV R.L., et al. (2020). Autoprompt: Eliciting knowledge from language models with automatically generated prompts. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 4222–4235, https://doi.org/10.18653/v1/2020.emnlp-main.346

  • Song Y., Wang J., Jiang T., et al. (2019). Attentional encoder network for targeted sentiment classification. In Proceedings of the 28th International Conference on Artificial Neural Networks, 93–103. https://doi.org/10.1007/978-3-030-30490-4_9

  • Tang H., Ji D., Li C., et al. (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 6578–6588. https://doi.org/10.18653/v1/2020.acl-main.588

  • Vaswani A., Shazeer N., Parmar N., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 1–15. https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf

  • Wan Y., Chen Y., Shi L., et al. (2022). A knowledge-enhanced interactive graph convolutional network for aspect-based sentiment analysis. Journal of Intelligent Information Systems, 1–23. https://doi.org/10.1007/s10844-022-00761-1

  • Wang J., Wu W., Ren J. (2023) Bert-pg: A two-branch associative feature gated filtering network for aspect sentiment classification. Journal of Intelligent Information Systems, 1–22. https://doi.org/10.1007/s10844-023-00785-1

  • Wang K., Shen W., Yang Y., et al. (2020). Relational graph attention network for aspect-based sentiment analysis. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 3229–3238. https://doi.org/10.18653/v1/2020.acl-main.295

  • Wei X., Zhang T., Li Y., et al. (2020). Multi-modality cross attention network for image and sentence matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 10941–10950. https://doi.org/10.1109/CVPR42600.2020.01095

  • Wu H., Zhang Z., Shi S., et al. (2022). Phrase dependency relational graph attention network for aspect-based sentiment analysis. Knowledge-Based Systems, 107736–107736. https://doi.org/10.1016/j.knosys.2021.107736

  • Wu S., Xu Y., Wu F., et al. (2019). Aspect-based sentiment analysis via fusing multiple sources of textual knowledge. Knowledge-Based Systems, 104868–104868. https://doi.org/10.1016/J.KNOSYS.2019.104868

  • Wu Z. & Ong D.C. (2021). Context-guided bert for targeted aspect-based sentiment analysis. In Proceedings of the AAAI Conference on Artificial Intelligence, 14094–14102, https://doi.org/10.1609/aaai.v35i16.17659

  • Xiao Z., Wu J., Chen Q., et al. (2021). Bert4gcn: Using bert intermediate layers to augment gcn for aspect-based sentiment classification. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, 9193–9200. https://doi.org/10.18653/v1/2021.emnlp-main.724

  • 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), 4568–4578. https://doi.org/10.18653/v1/D19-1464

  • 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), 3540–3549. https://doi.org/10.18653/v1/2020.emnlp-main.286

  • Zhang R., Chen Q., Zheng Y., et al. (2022a) Aspect-level sentiment analysis via a syntax-based neural network. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2568–2583. https://doi.org/10.1109/TASLP.2022.3190731

  • Zhang W., Li X., Deng Y., et al. (2021). Towards generative 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, 504–510. https://doi.org/10.18653/v1/2021.acl-short.64

  • Zhang Y., Ding Q., Zhu Z., et al. (2022b). Enhancing aspect and opinion terms semantic relation for aspect sentiment triplet extraction. Journal of Intelligent Information Systems, 523–542. https://doi.org/10.1007/s10844-022-00710-y

  • Zhu L., Zhu X., Guo J., et al. (2023). Exploring rich structure information for aspect-based sentiment classification. Journal of Intelligent Information Systems, 97–117. https://doi.org/10.1007/s10844-023-00785-1

  • Zhu X., Zhu L., Guo J., et al. (2021). Gl-gcn: Global and local dependency guided graph convolutional networks for aspect-based sentiment classification. Expert Systems with Applications, 115712–115712. https://doi.org/10.1016/J.ESWA.2021.115712

Download references

Acknowledgements

This research was funded by the National Natural Science Foundation of China under Grant 62176084 and Grant 62176083, and in part by the Fundamental Research Funds for the Central Universities of China under Grant PA2022GDSK0066 and Grant PA2022GDSK0068.

Funding

This research was funded by the National Natural Science Foundation of China under Grant 62176084 and Grant 62176083, and in part by the Fundamental Research Funds for the Central Universities of China under Grant PA2022GDSK0066 and Grant PA2022GDSK0068.

Author information

Authors and Affiliations

Authors

Contributions

Xuefeng Shi and Fuji Ren prepared the whole plan and conducted the related experiments. Xuefeng Shi, Piao Shi and Min Hu wrote the main manuscript text, and Xuefeng Shi and Jiawen Deng prepared figures, and Xuefeng Shi and Yiming Tang prepared tables. All authors reviewed the manuscript.

Corresponding author

Correspondence to Fuji Ren.

Ethics declarations

Competing interests

Not Applicable

Ethical Approval

Not Applicable

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shi, X., Hu, M., Ren, F. et al. Prompted and integrated textual information enhancing aspect-based sentiment analysis. J Intell Inf Syst 62, 91–115 (2024). https://doi.org/10.1007/s10844-023-00805-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10844-023-00805-0

Keywords

Navigation