[Paper Review] A Unified Generative Framework for Aspect-Based Sentiment Analysis
This paper proposes a unified generative framework for aspect-based sentiment analysis (ABSA) that reformulates all seven subtasks—aspect term extraction, opinion term extraction, sentiment classification, and their combinations—as sequence generation tasks using pointer and sentiment class indices. By leveraging the pre-trained sequence-to-sequence model BART, the framework achieves state-of-the-art performance across all subtasks in an end-to-end manner without architectural modifications, demonstrating significant improvements on four public datasets.
Aspect-based Sentiment Analysis (ABSA) aims to identify the aspect terms, their corresponding sentiment polarities, and the opinion terms. There exist seven subtasks in ABSA. Most studies only focus on the subsets of these subtasks, which leads to various complicated ABSA models while hard to solve these subtasks in a unified framework. In this paper, we redefine every subtask target as a sequence mixed by pointer indexes and sentiment class indexes, which converts all ABSA subtasks into a unified generative formulation. Based on the unified formulation, we exploit the pre-training sequence-to-sequence model BART to solve all ABSA subtasks in an end-to-end framework. Extensive experiments on four ABSA datasets for seven subtasks demonstrate that our framework achieves substantial performance gain and provides a real unified end-to-end solution for the whole ABSA subtasks, which could benefit multiple tasks.
Motivation & Objective
- To address the lack of a unified framework for all seven ABSA subtasks due to divergences in input, output, and task type.
- To eliminate the need for task-specific decoders or pipeline architectures in ABSA.
- To enable end-to-end training and inference across all subtasks using a single sequence-to-sequence model.
- To achieve strong performance across diverse ABSA benchmarks with minimal architectural changes.
Proposed method
- Reformulate all ABSA subtasks as a unified sequence generation task by representing outputs as sequences of pointer indices (for aspect and opinion spans) and sentiment class indices.
- Use the BART pre-trained sequence-to-sequence model as the backbone to generate target sequences in an end-to-end fashion.
- Represent aspect and opinion spans via start and end token indices, and sentiment polarity via class indices within the same output sequence.
- Train the model end-to-end on multiple datasets, enabling zero-shot or few-shot generalization across subtasks.
- Apply beam search decoding with beam size analysis to ensure stable performance across inference settings.
- Filter invalid predictions (e.g., non-ordered indices or invalid subword tokens) during inference to improve reliability.
Experimental results
Research questions
- RQ1Can all seven ABSA subtasks be unified under a single generative sequence-to-sequence framework without task-specific decoders?
- RQ2How does the proposed index-based sequence generation approach handle input and output heterogeneity across subtasks?
- RQ3To what extent does the BART-based model outperform existing SOTA methods across all subtasks simultaneously?
- RQ4Does the unified framework maintain high performance across diverse datasets and subtask combinations?
- RQ5How robust is the framework to hyperparameter choices such as beam size?
Key findings
- The proposed framework achieves substantial performance gains across all seven subtasks on four public datasets, with improvements of up to 13 F1 points on 14res and 12 on 16res.
- The model achieves nearly 13, 9, 7, and 12 absolute F1-point improvements on recall scores for 14res, 14lap, 15res, and 16res respectively, indicating strong generalization.
- Beam size has minimal impact on F1 scores, suggesting stable and robust inference performance.
- Invalid prediction rates (non-5-length, non-ordered, or invalid subword indices) are low (under 3.7%), confirming the practical feasibility of the generative formulation.
- The framework is the first to evaluate a single model on all seven ABSA subtasks, setting a new benchmark for unified ABSA systems.
- The method outperforms existing SOTA models in every subtask, demonstrating the effectiveness of the unified index-based generation approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.