A Unified Generative Framework for Aspect-Based Sentiment Analysis

ACL 2021  ·  Hang Yan, Junqi Dai, Tuo ji, Xipeng Qiu, Zheng Zhang ·

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.

PDF Abstract ACL 2021 PDF ACL 2021 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Aspect Sentiment Triplet Extraction ASTE-Data-V2 BARTABSA F1 67.62 # 9
Aspect Sentiment Triplet Extraction SemEval BARTABSA F1 72.46 # 1
Aspect Term Extraction and Sentiment Classification SemEval BARTABSA Avg F1 69.18 # 2
Restaurant 2014 (F1) 73.56 # 5
Laptop 2014 (F1) 67.37 # 2
Restaurant 2015 (F1) 66.61 # 1
Aspect-oriented Opinion Extraction SemEval-2014 Task-4 BARTABSA Restaurant 2014 (F1) 85.38 # 1
Laptop 2014 (F1) 80.55 # 1
Restaurant 2015 (F1) 80.52 # 1
Restaurant 2016 (F1) 87.92 # 1

Methods