Skip to main content

Exploiting Phrase Interrelations in Span-level Neural Approaches for Aspect Sentiment Triplet Extraction

  • Conference paper
  • First Online:
Advances in Knowledge Discovery and Data Mining (PAKDD 2023)

Abstract

Aspect Sentiment Triplet Extraction (ASTE) is a challenging task in modern natural language processing concerning the automatic extraction of (aspect phrase, opinion phrase, sentiment polarity) triplets from a given text. Current state-of-the-art methods achieve relatively high results by analyzing all possible spans extracted from a text. Due to a high number of analyzed spans, span-level methods usually apply some kind of pruning operators that interrupt the gradient flow. They also do not analyze interrelations between spans while constructing model output, relying on independent, sequential predictions for candidate triplets. This paper presents a new span-level approach that applies a learnable extractor of spans and a differentiable span selector that enables end2end training. The approach relies on a fully connected pairwise CRF model to capture interrelations between spans while constructing the output. Conducted experiments demonstrated that the proposed approach achieves superior results in terms of F1-score in comparison to other, state-of-the-art ASTE methods.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Our approach constructs triplets exploiting interrelations between phrases in the last layer of neural network. Splitting phrases into separate sets of aspect and opinion phrases at an earlier stage of processing would hinder the benefits of assigning phrase types while considering the entire triplet.

  2. 2.

    The pseudocode of the decoding procedure is available in the online appendix: https://www.cs.put.poznan.pl/mlango/publications/pakdd23.pdf.

  3. 3.

    https://github.com/NaIwo/Span-ASTE.

References

  1. Anonymous: sambert: improve aspect sentiment triplet extraction by segmenting the attention maps of bert, November 2021. https://openreview.net/forum?id=Z9vIuaFlIXx

  2. Chen, Y., Chen, K., Sun, X., Zhang, Z.: Span-level bidirectional cross-attention framework for aspect sentiment triplet extraction. In: Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics (2022)

    Google Scholar 

  3. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: Pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the ACL: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186. Association for Computational Linguistics (2019)

    Google Scholar 

  4. He, P., Liu, X., Gao, J., Chen, W.: Deberta: decoding-enhanced bert with disentangled attention. In: International Conference on Learning Representations (2021)

    Google Scholar 

  5. Huang, L., et al.: First target and opinion then polarity: enhancing target-opinion correlation for aspect sentiment triplet extraction (2021)

    Google Scholar 

  6. Janiszewski, P., Lango, M., Stefanowski, J.: Time aspect in making an actionable prediction of a conversation breakdown. In: Dong, Y., Kourtellis, N., Hammer, B., Lozano, J.A. (eds.) Machine Learning and Knowledge Discovery in Databases. Applied Data Science Track, pp. 351–364 (2021)

    Google Scholar 

  7. Krähenbühl, P., Koltun, V.: Efficient inference in fully connected crfs with gaussian edge potentials. In: Shawe-Taylor, J., Zemel, R., Bartlett, P., Pereira, F., Weinberger, K. (eds.) Advances in Neural Information Processing Systems, vol. 24 (2011)

    Google Scholar 

  8. Lafferty, J.D., McCallum, A., Pereira, F.C.N.: Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In: Proceedings of the Eighteenth International Conference on Machine Learning, pp. 282–289 (2001)

    Google Scholar 

  9. Li, X., Sun, X., Meng, Y., Liang, J., Wu, F., Li, J.: Dice loss for data-imbalanced NLP tasks. In: Proceedings of the 58th Annual Meeting of the ACL, pp. 465–476. Association for Computational Linguistics (2020)

    Google Scholar 

  10. Li, Y., Wang, F., Zhang, W., hua Zhong, S., Yin, C., He, Y.: A more fine-grained aspect-sentiment-opinion triplet extraction task (2021)

    Google Scholar 

  11. Peng, H., Xu, L., Bing, L., Huang, F., Lu, W., Si, L.: Knowing what, how and why: a near complete solution for aspect-based sentiment analysis. Proc. AAAI Conf. Artif. Intell. 34(05), 8600–8607 (2020)

    Google Scholar 

  12. Rambocas, M., Pacheco, B.: Online sentiment analysis in marketing research: a review. J. Res. Interact. Mark. 12(2), 146–163 (2018)

    Google Scholar 

  13. Vaswani, A., et al.: Attention is all you need. In: Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R. (eds.) Advances in Neural Information Processing Systems, vol. 30 (2017)

    Google Scholar 

  14. Wu, Z., Ying, C., Zhao, F., Fan, Z., Dai, X., Xia, R.: Grid tagging scheme for aspect-oriented fine-grained opinion extraction. In: Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 2576–2585. Association for Computational Linguistics (2020)

    Google Scholar 

  15. Xu, L., Chia, Y.K., Bing, L.: Learning span-level interactions for aspect sentiment triplet extraction. In: Proceedings of the 59th Annual Meeting of the ACL and the 11th IJCNLP (Volume 1: Long Papers), pp. 4755–4766. Association for Computational Linguistics (2021)

    Google Scholar 

  16. Xu, L., Li, H., Lu, W., Bing, L.: Position-aware tagging for aspect sentiment triplet extraction. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 2339–2349. Association for Computational Linguistics (2020)

    Google Scholar 

  17. Yan, H., Dai, J., Ji, T., Qiu, X., Zhang, Z.: A unified generative framework for aspect-based sentiment analysis. In: Proceedings of the 59th Annual Meeting of the ACL and the 11th IJCNLP (Volume 1: Long Papers), pp. 2416–2429. Association for Computational Linguistics (2021)

    Google Scholar 

  18. Yang, B., Cardie, C.: Extracting opinion expressions with semi-Markov conditional random fields. In: Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pp. 1335–1345. Association for Computational Linguistics (2012)

    Google Scholar 

  19. Zhang, W., Li, X., Deng, Y., Bing, L., Lam, W.: Towards generative aspect-based sentiment analysis. In: Proceedings of the 59th Annual Meeting of the ACL and the 11th IJCNLP (Volume 2: Short Papers), pp. 504–510. Association for Computational Linguistics (2021)

    Google Scholar 

  20. Zheng, S., et al.: Conditional random fields as recurrent neural networks. In: International Conference on Computer Vision (ICCV) (2015)

    Google Scholar 

Download references

Acknowledgement

This research has received funding from the National Center for Research and Development under the Infostrateg program (project: INFOSTRATEG-III/0003/2021-00 “Development of an IT system using AI to identify consumer opinions on product safety and quality” realized in a consortium of Poznan Institute of Technology and Poznan University of Technology).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mateusz Lango .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Naglik, I., Lango, M. (2023). Exploiting Phrase Interrelations in Span-level Neural Approaches for Aspect Sentiment Triplet Extraction. In: Kashima, H., Ide, T., Peng, WC. (eds) Advances in Knowledge Discovery and Data Mining. PAKDD 2023. Lecture Notes in Computer Science(), vol 13938. Springer, Cham. https://doi.org/10.1007/978-3-031-33383-5_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-33383-5_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-33382-8

  • Online ISBN: 978-3-031-33383-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics