Comparative Opinion Quintuple Extraction from Product Reviews

Ziheng Liu, Rui Xia, Jianfei YuEMNLP 2021

Introduction

Comparative opinion mining is a critical task for understanding consumer sentiment in product reviews. While traditional methods focus on identifying compared entities, they often fail to capture the full context of a comparison. This paper introduces a new fine-grained task: Comparative Opinion Quintuple Extraction (COQE).

The goal of COQE is to extract a complete five-part tuple: (Subject, Object, Comparative Aspect, Comparative Opinion, Comparative Preference). For example, in a sentence comparing two products, a COQE system should extract not just the entities and aspects, but also the specific opinion words and the resulting preference (e.g., Better or Worse).

Example of the COQE task, showing the extraction of elements and the resulting quintuples from a complex sentence.

The Multi-Stage Neural Network Approach

To address the complexity of extracting these interdependent elements, the authors propose a multi-stage neural network architecture based on a BERT backbone. This approach handles the combinatorial challenge of sentences that contain multiple comparisons.

The multi-stage architecture for COQE, involving element extraction, combination filtering, and preference classification.

Stage 1: Joint Identification and Extraction

The model first uses BERT to simultaneously perform two sub-tasks: Comparative Sentence Identification (CSI), which determines if the sentence contains any comparisons, and Comparative Element Extraction (CEE), which identifies all potential subjects, objects, aspects, and opinions using a Conditional Random Field (CRF) layer.

Stage 2: Combination and Filtering

Because a single sentence can contain multiple entities and aspects, the model generates a Cartesian product of all extracted elements. A binary classifier then filters these combinations to identify "valid" quadruples, ensuring that the specific subject, object, aspect, and opinion are logically linked.

Stage 3: Preference Classification

Finally, for each valid quadruple, the model performs a four-way classification to determine the Comparative Preference: Better, Worse, Equal, or Different. This step is crucial because the same opinion word (e.g., "more") can imply different preferences depending on the aspect (e.g., "more reliable" vs. "more expensive").

Experimental Setup and Results

The researchers developed three new datasets by annotating existing corpora from the camera, car, and electronics domains: Camera-COQE, Car-COQE, and Ele-COQE. These datasets reflect real-world linguistic complexity, with approximately 20% to 31% of comparative sentences containing multiple comparisons.

Key findings from the experiments include:

  • Model Performance: The proposed BERT-based model significantly outperformed traditional LSTM and SVM baselines. While the model is highly effective at identifying comparative sentences (~93-98% accuracy), the "Exact Match" F1 score for full quintuple extraction remains a challenge, ranging from 13.36% to 30.73%.
  • Contextual Preference: Including the "Comparative Opinion" in the quintuple is vital for correctly assigning preferences that are otherwise ambiguous.
  • Filtering Importance: The Stage 2 filtering process is a critical component for preventing the model from hallucinating incorrect relationships between unrelated entities in a sentence.

Conclusion

The COQE task provides a more comprehensive framework for comparative sentiment analysis than previous element-only extraction tasks. While the multi-stage BERT model sets a strong baseline, the authors note that the pipeline structure is susceptible to error propagation. Future research will likely focus on end-to-end architectures to improve the robustness and accuracy of full quintuple extraction.

Summary updated

BibTeX
@inproceedings{liu2021comparative,
  author = {Ziheng Liu and Rui Xia and Jianfei Yu},
  title = {{Comparative Opinion Quintuple Extraction from Product Reviews}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.322},
}
Figure