Abstract
Unified Aspect-based Sentiment Analysis (ABSA) requires the simultaneous extraction of aspect terms, opinion terms, and the classification of their sentiment polarities. Traditional sequence labeling approaches often struggle to capture the intricate dependencies between specific aspects and their descriptors in complex sentences. We propose Role Flipped Machine Reading Comprehension (RF-MRC), a novel framework that treats aspects and opinions as interchangeable queries and answers. By iteratively flipping roles between aspects and opinions, the model explicitly pairs targets with their descriptors. Experimental results on benchmark datasets, including the challenging Multi-Aspect Multi-Sentiment (MAMS) dataset, show that RF-MRC achieves state-of-the-art performance without requiring additional manual annotations.
Introduction
Traditional sentiment analysis typically assigns a single polarity to an entire sentence. However, real-world reviews are often nuanced and multi-faceted. For instance, in the sentence "The falafel was overcooked, but the chicken was fine," there are two distinct aspects ("falafel" and "chicken") associated with three opinion terms ("overcooked," "dried," and "fine") reflecting conflicting sentiments.
The goal of Unified ABSA is to solve three sub-tasks: Aspect Term Extraction (ATE), Opinion Term Extraction (OTE), and Aspect Sentiment Classification (ASC). The primary challenge lies in the connection: a model must accurately link "overcooked" to "falafel" rather than "chicken" to ensure correct sentiment assignment.
Methodology: Role Flipped MRC
The proposed RF-MRC model moves beyond simple sequence tagging by adopting a multi-stage Machine Reading Comprehension (MRC) approach. The architecture is designed to leverage the dual nature of aspects and opinions.
1. Initial Extraction
The process begins with a BERT-based extractor that performs a preliminary pass to identify potential aspect and opinion terms within the context.
2. Role Flipping and Multi-hop QA
The core innovation of the paper is the Role Flipping mechanism. Instead of static labels, the model uses extracted terms as dynamic queries:
- Aspect to Opinion (A2O): An extracted aspect (e.g., "falafel") is used as a query to ask the context: "What are the opinions for this aspect?"
- Opinion to Aspect (O2A): The roles are then reversed, using the identified opinion as a query to refine the boundaries of the corresponding aspect.
This process can be repeated for $T$ rounds (multi-hop) to strengthen the semantic links and refine term boundaries.
3. Matching and Sentiment Prediction
Because sentences may contain multiple entities, a matching module uses an attention mechanism to compute correspondence scores between every extracted aspect and opinion. Finally, sentiment is predicted based on the concatenated representation of these specific pairs, effectively filtering out noise from unrelated parts of the sentence.
Experimental Results
RF-MRC was evaluated against strong baselines on four major benchmarks. The model demonstrated significant improvements in Overall-F1 scores:
- Restaurant14: +1.45% improvement.
- Laptop14: +1.91% improvement.
- Restaurant15: +1.81% improvement.
On the MAMS (Multi-Aspect Multi-Sentiment) dataset—a stress test where every sentence contains at least two aspects with different polarities—RF-MRC reached an Overall-F1 of 64.53%, significantly outperforming the previous state-of-the-art (63.03%). Ablation studies confirmed that both the A2O and O2A processes are essential for capturing the relationship between terms.
Conclusion and Future Work
By reimagining ABSA as a self-generated question-answering game, RF-MRC provides a robust framework for fine-grained sentiment analysis. While the model shows peak performance at two rounds of iteration ($T=2$), future work will address the dependency on the initial extraction pass and explore deeper logical inference to handle nuanced sentiments like "okay" or "neutral" more effectively.
Summary updated