Improving Aspect Sentiment Quad Prediction via Template-Order Data Augmentation

Mengting Hu, Yike Wu, Hang Gao, Yinhao Bai, Shiwan Zhao
10/19/2022
cs.CL

Official code: hmt2014/AspectQuad (18 stars, Python, MIT, last commit 2022-12-03).

Abstract

Recently, aspect sentiment quad prediction (ASQP) has become a popular task in the field of aspect-level sentiment analysis. Previous work utilizes a predefined template to paraphrase the original sentence into a structure target sequence, which can be easily decoded as quadruplets of the form (aspect category, aspect term, opinion term, sentiment polarity).

Show full abstract

The template involves the four elements in a fixed order. However, we observe that this solution contradicts with the order-free property of the ASQP task, since there is no need to fix the template order as long as the quadruplet is extracted correctly. Inspired by the observation, we study the effects of template orders and find that some orders help the generative model achieve better performance. It is hypothesized that different orders provide various views of the quadruplet. Therefore, we propose a simple but effective method to identify the most proper orders, and further combine multiple proper templates as data augmentation to improve the ASQP task. Specifically, we use the pre-trained language model to select the orders with minimal entropy. By fine-tuning the pre-trained language model with these template orders, our approach improves the performance of quad prediction, and outperforms state-of-the-art methods significantly in low-resource settings.

View on arXivView PDF

Code Implementations(1)

hmt2014/AspectQuadOfficial100%
MIT

Experimental code and data of paper "Improving Aspect Sentiment Quad Prediction via Template-Order Data Augmentation", EMNLP 2022

181PythonOct 16, 20223 years agoMIT

Similar Papers

Cite this paper

@article{hu2022improving,
  title  = {Improving Aspect Sentiment Quad Prediction via Template-Order Data Augmentation},
  author = {Mengting Hu and Yike Wu and Hang Gao and Yinhao Bai and Shiwan Zhao},
  year   = {2022},
  eprint = {2210.10291},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10291}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.10291.svg)](https://codeofpaper.com/paper/2210.10291)

Discussion