UnifiedABSA: A Unified ABSA Framework Based on Multi-task Instruction Tuning

Zengzhi Wang, Rui Xia, Jianfei YuarXiv 2022 · DOI

Abstract Aspect-Based Sentiment Analysis (ABSA) encompasses a variety of sub-tasks aimed at extracting fine-grained sentiment information from text. Traditionally, these tasks have been addressed by specialized, siloed models, which fail to exploit inter-task synergies and require significant storage. We present UnifiedABSA, a text-to-text framework that unifies 11 ABSA tasks through multi-task instruction tuning. By reformulating ABSA as a natural language paraphrasing task and utilizing a Unified Sentiment Instruction (USI) schema, our model achieves state-of-the-art performance across multiple benchmarks. Notably, UnifiedABSA demonstrates superior robustness in low-resource scenarios and offers a 90% reduction in storage compared to task-specific ensembles.

Introduction Understanding consumer reviews requires more than just identifying a general sentiment. Aspect-Based Sentiment Analysis (ABSA) involves identifying specific aspect terms, their categories, associated opinion terms, and the resulting sentiment polarity. For instance, in the sentence "The sushi is delicious," a complete analysis identifies "sushi" as the aspect term, "Food Quality" as the category, "delicious" as the opinion term, and "Positive" as the sentiment.

Historically, the field has been fragmented into specialized models for individual sub-tasks like Aspect Term Extraction (ATE) or Sentiment Classification (ABSC). This approach is data-inefficient, ignores logical dependencies between tasks, and is computationally expensive to maintain.

Overview of the 11 ABSA tasks and their respective inputs and outputs.

Methodology: Unified Sentiment Instruction UnifiedABSA addresses these challenges by leveraging a text-to-text transformer architecture (T5-BASE) trained via multi-task instruction tuning. The core innovation is the Unified Sentiment Instruction (USI), a structured prompting mechanism that allows a single model to navigate 11 different objectives.

The Unified Sentiment Instruction (USI) schema and the multi-task training framework.

As illustrated in the USI schema, each input is wrapped with:

  • Task Name: A unique identifier (e.g., <ACOSQE>) signaling the specific task.
  • Sentiment/Category Options: A constrained list of valid labels to guide the model's generation.
  • Template: A natural language skeleton (e.g., "<category> is <sentiment> because <aspect> is <opinion>") that the model fills to produce a "paraphrased" output.

By mixing all 11 tasks into a single training pool, the model learns "shared knowledge." For example, the linguistic patterns learned for simple aspect extraction provide a scaffold for more complex quadruple extraction tasks.

Experimental Setup The framework was evaluated on two large-scale benchmarks: Restaurant-ACOS and Laptop-ACOS. These datasets are particularly challenging as they support "quadruple" extraction (Aspect, Category, Opinion, Sentiment). A significant advantage of this unified approach is data efficiency; annotations for the most complex tasks can be automatically decomposed to provide training data for all simpler sub-tasks.

Results and Discussion UnifiedABSA achieves state-of-the-art results, improving average performance across all 11 tasks by 1-2% over strong task-specific baselines.

  • Low-Resource Efficiency: The model is exceptionally robust when data is scarce. In "32-shot" experiments, UnifiedABSA outperformed dedicated models by a substantial 5% F1 score, demonstrating that multi-task learning effectively transfers knowledge from related tasks to compensate for limited labels.
  • Storage and Scalability: By replacing 11 specialized models with a single set of parameters, UnifiedABSA reduces storage requirements by over 90%, making it highly practical for real-world deployment.
  • Inter-task Synergy: Ablation studies confirmed that the inclusion of natural language instructions is critical. Without USI, the model's ability to distinguish between tasks significantly degrades.

Conclusion UnifiedABSA represents a shift toward more holistic and efficient sentiment analysis. By treating ABSA as a unified paraphrasing problem, the framework captures the intricate relationships between sentiment elements. Future work will explore automated prompt engineering and extending the framework to multi-lingual and multi-modal domains.

Summary updated

BibTeX
@misc{wang2022unifiedabsa,
  author = {Zengzhi Wang and Rui Xia and Jianfei Yu},
  title = {{UnifiedABSA: A Unified ABSA Framework Based on Multi-task Instruction Tuning}},
  year = {2022},
  eprint = {2211.10986},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.10986},
}
Figure