Utilizing BERT for Aspect-Based Sentiment Analysis via Constructing Auxiliary Sentence
Official code: HSLCY/ABSA-BERT-pair (519 stars, MIT, last commit 2022-01-04).
Abstract
Aspect-based sentiment analysis (ABSA), which aims to identify fine-grained opinion polarity towards a specific aspect, is a challenging subtask of sentiment analysis (SA). In this paper, we construct an auxiliary sentence from the aspect and convert ABSA to a sentence-pair classification task, such as question answering (QA) and natural language inference (NLI). We fine-tune the pre-trained model from BERT and achieve new state-of-the-art results on SentiHood and SemEval-2014 Task 4 datasets.