Abstract
Aspect-Opinion Pair Extraction (AOPE) is a critical task in Aspect-Based Sentiment Analysis (ABSA), requiring the identification of both aspect terms and their corresponding opinion words. This paper introduces the Question-Driven Span Labeling (QDSL) model, which treats AOPE as a machine reading comprehension (MRC) task. By generating aspect-specific questions and utilizing a span-based tagging scheme, QDSL effectively addresses challenges such as overlapping pairs and nested terms. Experimental results on SemEval benchmarks demonstrate that QDSL achieves state-of-the-art performance, significantly outperforming existing sequence-labeling approaches.
Introduction: The Challenges of Aspect-Opinion Pairing
In the field of Aspect-Based Sentiment Analysis (ABSA), simply identifying sentiment is insufficient for granular insights. A robust system must link specific aspects (e.g., "food") to their respective opinions (e.g., "great") to form pairs like <food, great>. However, extracting these pairs is fraught with complexities that traditional models often fail to address.
As illustrated above, existing methods struggle with four primary hurdles:
- Pairing Problems: Sentences containing multiple aspects and opinions.
- Overlapping Pairs: Shared words between different aspect-opinion pairs.
- Missing Values: Aspects mentioned without an explicit opinion word.
- Nesting: Words that function as both an aspect and an opinion depending on context.
Traditional "BIO" (Beginning, Inside, Outside) tagging schemes struggle with these nuances, particularly when entities overlap or are nested. Furthermore, many models extract aspects and opinions separately, losing the vital internal relationship between them.
Methodology: Question-Driven Span Labeling
The QDSL model re-imagines AOPE by decomposing it into two interdependent subtasks within a joint learning framework, treating the extraction process as a reading comprehension problem.
The process follows three main steps:
- Aspect Term Extraction (ATE): Instead of word-level tagging, QDSL employs a span-based scheme. Two binary classifiers predict the "start" and "end" positions of aspect terms. This approach naturally handles varying lengths and overlapping terms.
- Aspect-Specified Opinion Extraction (ASOE): This is the core innovation. For each extracted aspect, the model generates a natural language question using a template: "What do you think about the [aspect]?"
- Machine Reading Comprehension (MRC): The generated question and the original review text are processed by a BERT-based joint encoder. The model identifies the opinion word as the "answer" to the question by predicting its start and end spans within the text.
By using a joint learning framework, the model optimizes both tasks simultaneously, allowing the aspect extraction and opinion extraction components to share semantic information.
Experimental Setup and Results
The model was evaluated on four benchmark datasets from the SemEval challenges (2014, 2015, and 2016), covering Laptop and Restaurant reviews. These datasets were augmented with opinion word pairings to support the AOPE task.
QDSL consistently established new state-of-the-art (SOTA) benchmarks across all datasets:
- AOPE Task: QDSL achieved F1 scores ranging from 70.20% to 78.05%, significantly outperforming previous models like SpanMlt and SDRN.
- ATE Task: The aspect extraction component alone set new benchmarks, reaching an F1 of 87.85% on the SemEval 2014 Restaurant dataset.
- Robustness: The model demonstrated high stability and was insensitive to changes in the hyperparameter ($\lambda$) used to balance the two subtasks.
Key Insights
- The Power of the Question: Formulating the task as MRC is a clever way to inject "prior knowledge." By asking a specific question about an aspect, the model's attention mechanism is forced to focus on the parts of the sentence most relevant to that specific aspect, effectively solving the pairing problem.
- Spans over Sequences: Moving away from BIO tagging to span-based labeling significantly reduces the search space for the decoder and allows the model to identify overlapping entities.
- Mutual Benefit: Training ATE and ASOE together helps the model understand complex semantic relationships that a single-task model would miss.
Conclusion and Future Work
The QDSL framework demonstrates the efficacy of question-driven span labeling for complex extraction tasks. While the current model uses a fixed question template, future research could explore more sophisticated dynamic question generation to further improve results. Additionally, the authors plan to apply this approach to related tasks, such as Aspect-level Sentiment Classification (ASC) and Aspect Category Detection (ACD), to provide a more comprehensive sentiment analysis pipeline.
Summary updated