HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Utilizing BERT for Aspect-Based Sentiment Analysis via Constructing Auxiliary Sentence

Chi Sun; Luyao Huang; Xipeng Qiu

Utilizing BERT for Aspect-Based Sentiment Analysis via Constructing Auxiliary Sentence

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.

Code Repositories

ywu94/Code-Notes
pytorch
Mentioned in GitHub
recommeddit/labs
pytorch
Mentioned in GitHub
mwbrulhardt/yelp-absa
pytorch
Mentioned in GitHub
anshulwadhawan/ABSA
pytorch
Mentioned in GitHub
atharvajdhumal/Sentiment-Analysis
pytorch
Mentioned in GitHub
LorenzoAgnolucci/BERT_for_ABSA
pytorch
Mentioned in GitHub
HSLCY/ABSA-BERT-pair
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
aspect-based-sentiment-analysis-on-semeval-3BERT-pair-QA-B
Accuracy (3-way): 89.9
Accuracy (4-way): 85.9
Binary Accuracy: 95.6
aspect-based-sentiment-analysis-on-sentihoodBERT-pair-QA-M
Aspect: 86.4
Sentiment: 93.6
aspect-based-sentiment-analysis-on-sentihoodBERT-pair-QA-B
Aspect: 87.9
Sentiment: 93.3
aspect-category-detection-on-semeval-2014BERT-pair-NLI-B
F1 score: 92.18
Precision: 93.57
Recall: 90.83

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp