Skip to main content
Log in

A multi-task learning model with graph convolutional networks for aspect term extraction and polarity classification

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

The multi-task learning of aspect-based sentiment analysis aims to extract the aspect terms and predict the sentiment polarities for such terms. The majority of research has focused on improving the representations of syntactical information, while ignoring the importance of syntactic dependency. The internal relationship between the aspect terms extraction and the aspect polarity classification has not been well exploited. In this paper, we propose a unified model with Location-aware Graph Convolutional Networks (L-GCNs) for aspect-based multi-task learning. Firstly, we reconstruct graph convolutional networks by considering the location information of special aspect terms to highlight the aspect-related dependency information, which is adopted to extract aspect terms. Then, we redesign the dependency tree by considering long-distance dependencies to aggregate more context-related dependency information. Finally, combined with the dependency information, the sentiment features of special aspect terms can be captured by applying attention encoding. We evaluate the proposed model for four benchmark datasets and our experimental results show that the unified model achieves state-of-the-art performance of multi-task learning. In addition, ablation studies and different variants verify the rationality and effectiveness of our model.

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.

Institutional subscriptions

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

Similar content being viewed by others

Notes

  1. https://spacy.io/

  2. http://alt.qcri.org/semeval2014/task4

  3. https://alt.qcri.org/semeval2015/task12

  4. https://nlp.stanford.edu/projects/glove

  5. https://github.com/google-research/bert

  6. https://pytorch.org/.

References

  1. 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), pp 4568–4578

  2. Xiao L, Hu X, Chen Y, Xue Y, Gu D, Chen B, Zhang T (2020) Targeted sentiment classification based on attentional encoding and graph convolutional networks. Appl Sci, 10(3), https://doi.org/10.3390/app10030957

  3. 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

  4. Zhou J, Huang J X, Hu Q V, He L (2020) Sk-gcn: Modeling syntax and knowledge via graph convolutional network for aspect-level sentiment classification. Knowl-Based Syst 205:106292. https://doi.org/10.1016/j.knosys.2020.106292

    Article  Google Scholar 

  5. Chen Y, Zhuang T, Guo K (2021) Memory network with hierarchical multi-head attention for aspect-based sentiment analysis. Appl Intell 51:4287–4304. https://doi.org/10.1007/s10489-020-02069-5https://doi.org/10.1007/s10489-020-02069-5

    Article  Google Scholar 

  6. Wang W, Pan SJ, Dahlmeier D, Xiao X (2017) Coupled multi-layer attentions for co-extraction of aspect and opinion terms. In: Proceedings of the thirty-first AAAI conference on artificial intelligence. AAAI’17, pp 3316–3322

  7. Qiu G, Liu B, Bu J, Chen C (2011) Opinion word expansion and target extraction through double propagation. Comput. Linguist. 37(1):9–27. https://doi.org/10.1162/coli_a_00034

    Article  Google Scholar 

  8. Li F, Han C, Huang M, Zhu X, Xia Y-J, Zhang S, Yu H (2010) Structure-aware review mining and summarization. In: Proceedings of the 23rd international conference on computational linguistics (Coling 2010), pp 653–661

  9. Yang Y, Li K, Quan X, Shen W, Su Q (2020) Constituency lattice encoding for aspect term extraction. In: Proceedings of the 28th international conference on computational linguistics, pp 844–855

  10. Ma D, Li S, Wu F, Xie X, Wang H (2019) Exploring sequence-to-sequence learning in aspect term extraction. In: Proceedings of the 57th annual meeting of the association for computational linguistics, pp 3538–3547

  11. Liu P, Joty S, Meng H (2015) Fine-grained opinion mining with recurrent neural networks and word embeddings. In: Proceedings of the 2015 conference on empirical methods in natural language processing, pp 1433–1443

  12. Xu H, Liu B, Shu L, Yu P S (2018) Double embeddings and CNN-based sequence labeling for aspect extraction. In: Proceedings of the 56th annual meeting of the association for computational linguistics (Volume 2: Short Papers), pp 592–598

  13. Wang W, Pan S J, Dahlmeier D, Xiao X (2016) Recursive neural conditional random fields for aspect-based sentiment analysis. In: Proceedings of the 2016 conference on empirical methods in natural language processing, pp 616–626

  14. Chen G, Tian Y, Song Y (2020) Joint aspect extraction and sentiment analysis with directional graph convolutional networks. In: Proceedings of the 28th international conference on computational linguistics, pp 272–279

  15. Zhou J, Huang JX, Hu QV, He L (2020) Is position important? deep multi-task learning for aspect-based sentiment analysis. Appl Intell, pp 3367–3378

  16. Kipf TN, Welling M (2017) Semi-Supervised Classification with Graph Convolutional Networks. In: Proceedings of the 5th International Conference on Learning Representations. ICLR ’17

  17. Zhou J, Cui G, Hu S, Zhang Z, Yang C, Liu Z, Wang L, Li C, Sun M (2020) Graph neural networks: A review of methods and applications. AI Open 1:57–81. https://doi.org/10.1016/j.aiopen.2021.01.001https://doi.org/10.1016/j.aiopen.2021.01.001

    Article  Google Scholar 

  18. Liang B, Yin R, Gui L, Du J, Xu R (December 2020) Jointly learning aspect-focused and inter-aspect relations with graph convolutional networks for aspect sentiment analysis. In: Proceedings of the 28th international conference on computational linguistics, pp 150–161

  19. Zhang D, Zhu Z, Kang S, Zhang G, Liu P (2021) Syntactic and semantic analysis network for aspect-level sentiment classification. Appl Intell 51:6136–6147. https://doi.org/10.1007/s10489-021-02189-6https://doi.org/10.1007/s10489-021-02189-6

    Article  Google Scholar 

  20. Song Y, Wang J, Jiang T, Liu Z, Rao Y (2019) Attentional encoder network for targeted sentiment classification

  21. Bronstein M M, Bruna J, LeCun Y, Szlam A, Vandergheynst P (2017) Geometric deep learning: Going beyond euclidean data. IEEE Signal Proc Mag 34(4):18–42. https://doi.org/10.1109/MSP.2017.2693418https://doi.org/10.1109/MSP.2017.2693418

    Article  Google Scholar 

  22. Guo Z, Zhang Y, Lu W (July 2019) Attention guided graph convolutional networks for relation extraction. In: Proceedings of the 57th annual meeting of the association for computational linguistics, pp 241–251

  23. Yao L, Mao C, Luo Y (2019) Graph convolutional networks for text classification. In: Proceedings of the AAAI conference on artificial intelligence, vol 33, pp 7370–7377

  24. Marcheggiani D, Bastings J, Titov I (June 2018) Exploiting semantics in neural machine translation with graph convolutional networks. In: Proceedings of the 2018 conference of the north american chapter of the association for computational linguistics: Human language technologies, Volume 2 (Short Papers), pp 486–492

  25. Zhang Y, Qi P, Manning C D (2018) Graph convolution over pruned dependency trees improves relation extraction. In: Proceedings of the 2018 conference on empirical methods in natural language processing, pp 2205–2215

  26. Devlin J, Chang M-W, Lee K, Toutanova K (June 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, pp 4171–4186

  27. Zhao P, Hou L, Wu O (2020) Modeling sentiment dependencies with graph convolutional networks for aspect-level sentiment classification. Knowl-Based Syst 193:105443. https://doi.org/10.1016/j.knosys.2019.105443https://doi.org/10.1016/j.knosys.2019.105443

    Article  Google Scholar 

  28. Lu Q, Zhu Z, Zhang G, Kang S, Liu P (2021) Aspect-gated graph convolutional networks for aspect-based sentiment analysis. Appl Intell 8:4408–4419

    Article  Google Scholar 

  29. Mitchell M, Aguilar J, Wilson T, Van Durme B (2013) Open domain targeted sentiment. In: Proceedings of the 2013 conference on empirical methods in natural language processing, pp 1643–1654

  30. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput. 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735https://doi.org/10.1162/neco.1997.9.8.1735

    Article  Google Scholar 

  31. Li K, Chen C, Quan X, Ling Q, Song Y (2020) Conditional augmentation for aspect term extraction via masked sequence-to-sequence generation. In: Proceedings of the 58th annual meeting of the association for computational linguistics, p 7056?7066

  32. Nguyen H, Shirai K (2018) A joint model of term extraction and polarity classification for aspect-based sentiment analysis. In: 2018 10th International conference on knowledge and systems engineering (KSE), pp 323–328

  33. Zeng B, Yang H, Xu R, Zhou W, Han X (2019) Lcf: A local context focus mechanism for aspect-based sentiment classification. https://doi.org/10.3390/app9163389

  34. Yang H, Zeng B, Yang J, Song Y, Xu R (2021) A multi-task learning model for chinese-oriented aspect polarity classification and aspect term extraction. Neurocomputing 419:344–356. https://doi.org/10.1016/j.neucom.2020.08.001

    Article  Google Scholar 

  35. Li X, Bing L, Li P, Lam W (2019) A unified model for opinion target extraction and target sentiment prediction. In: Proceedings of the AAAI conference on artificial intelligence, vol 33, pp 6714–6721

  36. Pennington J, Socher R, Manning CD (2014) Glove: Global vectors for word representation. In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp 1532–1543

  37. Freeman LC (1978) Centrality in social networks conceptual clarification. Social networks 1 (3):215–239

    Article  Google Scholar 

  38. Hamilton W L, Ying R, Leskovec J (2017) Inductive representation learning on large graphs. In: Proceedings of the 31st international conference on neural information processing systems, pp 1025–1035

  39. 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, pp 3298–3307

  40. 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

  41. 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). Association for Computational Linguistics, Baltimore, Maryland, pp 49–54

  42. Huang Z, Xu W, Yu K (2015) Bidirectional LSTM-CRF models for sequence tagging. arXiv:1508.01991

  43. Li X, Bing L, Li P, Lam W, Yang Z (2018) Aspect term extraction with history attention and selective transformation. In: Proceedings of the twenty-seventh international joint conference on artificial intelligence, IJCAI-18, pp 4194–4200

  44. Luo H, Li T, Liu B, Wang B, Unger H (July 2019) Improving aspect term extraction with bidirectional dependency tree representation. IEEE/ACM Trans. Audio, Speech and Lang. Proc. 27(7):1201–1212. https://doi.org/10.1109/TASLP.2019.2913094

  45. Wang F, Lan M, Wang W (2018) Towards a one-stop solution to both aspect extraction and sentiment analysis tasks with neural multi-task learning. In: 2018 International joint conference on neural networks (IJCNN), pp 1–8

  46. Akhtar MS, Garg T, Ekbal A (2020) Multi-task learning for aspect term extraction and aspect sentiment classification. Neurocomputing 398:247–256. https://doi.org/10.1016/j.neucom.2020.02.093

    Article  Google Scholar 

  47. Luo H, Li T, Liu B, Zhang J (July 2019) DOER: Dual cross-shared RNN for aspect term-polarity co-extraction. In: Proceedings of the 57th annual meeting of the association for computational linguistics, pp 591–601

  48. Chen G, Tian Y, Song Y (December 2020) Joint aspect extraction and sentiment analysis with directional graph convolutional networks. In: Proceedings of the 28th international conference on computational linguistics. International Committee on Computational Linguistics, Barcelona, Spain (Online), pp 272– 279

  49. Chen Z, Qian T (July 2020) Relation-aware collaborative learning for unified aspect-based sentiment analysis. In: Proceedings of the 58th annual meeting of the association for computational linguistics, pp 3685–3694

  50. Hu M, Peng Y, Huang Z, Li D, Lv Y (July 2019) Open-domain targeted sentiment analysis via span-based extraction and classification. In: Proceedings of the 57th annual meeting of the association for computational linguistics. Association for Computational Linguistics, Florence, Italy, pp 537–546

Download references

Acknowledgements

This paper is supported by (1) the National Natural Science Foundation of China under Grant nos.61672179, 61370083, (2) the Project funded by China Postdoctoral Science Foundation under Grant no.2019M651262, (3) the Youth Fund Project of Humanities and Social Sciences Research of the Ministry of Education of China under Grant no.20YJCZH172.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jing Yang.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhao, M., Yang, J. & Qu, L. A multi-task learning model with graph convolutional networks for aspect term extraction and polarity classification. Appl Intell 53, 6585–6603 (2023). https://doi.org/10.1007/s10489-022-03573-6

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-022-03573-6

Keywords

Navigation