Low-Resource Comparative Opinion Quintuple Extraction by Data Augmentation with Prompting

Qingting Xu, Yu Hong, Fubang Zhao, Kaisong Song, Yangyang Kang, Jiaxiang Chen, Guodong ZhouEMNLP 2023

Abstract

Comparative Opinion Quintuple Extraction (COQE) aims to predict comparative opinion quintuples from comparative sentences. These quintuples include subject, object, shareable aspect, comparative opinion, and preference. The existing pipeline-based COQE method fails in error propagation. In addition, the complexity and insufficient amounts of annotated data hinder the performance of COQE models. In this paper, we introduce a novel approach called low-resource comparative opinion quintuple extraction by Data Augmentation with Prompting (DAP). Firstly, we present an end-to-end model architecture better suited to the data augmentation method from triplets to quintuples and can effectively avoid error propagation. Additionally, we introduce a data-centric augmentation approach that leverages the robust generative abilities of ChatGPT and integrates transfer learning techniques. Experimental results over three datasets (Camera, Car, Ele) demonstrate that our approach yields substantial improvements and achieves state-of-the-art results.

Introduction

In the field of sentiment analysis, Comparative Opinion Quintuple Extraction (COQE) represents a significant challenge. Unlike standard sentiment analysis, which classifies text as positive or negative, COQE extracts five distinct elements: the Subject (main entity), Object (comparison entity), Aspect (specific feature), Opinion (comparative expression), and Preference (the result, e.g., "Better" or "Equal").

Extracting these quintuples accurately is difficult due to the scarcity of annotated data and the complexity of the task. Traditional pipeline-based methods suffer from error propagation, where a failure in an early extraction step compromises the entire quintuple. Furthermore, while Large Language Models (LLMs) like ChatGPT possess strong generative capabilities, they often struggle to generate complete five-part quintuples directly from scratch.

Methodology

To address these issues, we propose the DAP (Data Augmentation with Prompting) framework. This approach combines a robust end-to-end model with a novel data-centric augmentation strategy.

End-to-End Architecture

We utilize a BERT-based end-to-end model featuring a non-autoregressive decoder. This design allows the model to predict all elements of the quintuple simultaneously, effectively eliminating the cascading failures inherent in pipeline models. This architecture is particularly suited for the transfer learning phase of our framework.

The DAP Framework

The DAP framework simplifies the data generation task for LLMs by decomposing quintuple generation into more manageable steps. The workflow, illustrated in Figure 1, follows a five-step process:

  1. Aspect Extraction: Identify unique aspect terms from the existing low-resource dataset.
  2. Triplet Generation: Prompt ChatGPT to generate triplets (Subject, Object, Aspect) based on the identified aspects.
  3. Sentence Synthesis: Use ChatGPT to write natural comparative sentences that incorporate these triplets.
  4. Data Filtering: Process and filter the generated data to ensure high quality and consistency.
  5. Transfer Learning: "Warm up" the end-to-end model by pre-training it on the massive machine-generated triplet data before fine-tuning it on high-quality, human-annotated quintuple data.
The DAP workflow illustrating the five-step data augmentation and transfer learning process.

Experimental Results

We evaluated the DAP framework on three benchmark datasets: Camera (English digital camera reviews), Car (Chinese automotive comparisons), and Ele (Chinese household electronics). These datasets are characterized by their small size, making them ideal for testing low-resource techniques.

Performance Comparison

As shown in Figure 4, the DAP approach achieved state-of-the-art (SoTA) results across all three domains. Compared to previous leading models (such as MS_BERT), DAP improved F1 scores by 7.70% on the Camera dataset, 6.38% on the Car dataset, and 8.51% on the Ele dataset.

Performance comparison (F1 scores) of DAP against various baseline and pipeline models across three datasets.

Cross-Domain Generalization

The model demonstrated impressive generalization capabilities. In cross-domain transfer experiments (e.g., training on electronics and testing on cars), DAP significantly outperformed baseline models. This suggests that the framework helps the model learn the underlying logic of comparative structures rather than just domain-specific terminology.

Conclusion

The DAP framework effectively addresses the data scarcity and error propagation issues in COQE. By simplifying the generation task for LLMs and utilizing an end-to-end backbone, we achieve significant performance gains. Future work will focus on improving the model's ability to handle complex sentences containing multiple overlapping comparisons, which remains a challenge for current extraction techniques.

Summary updated

BibTeX
@inproceedings{xu2023low,
  author = {Qingting Xu and Yu Hong and Fubang Zhao and Kaisong Song and Yangyang Kang and Jiaxiang Chen and Guodong Zhou},
  title = {{Low-Resource Comparative Opinion Quintuple Extraction by Data Augmentation with Prompting}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=nC47EZVfAw},
}
Figure