Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Adversarial Training for Aspect-Based Sentiment Analysis with BERT

About

Aspect-Based Sentiment Analysis (ABSA) deals with the extraction of sentiments and their targets. Collecting labeled data for this task in order to help neural networks generalize better can be laborious and time-consuming. As an alternative, similar data to the real-world examples can be produced artificially through an adversarial process which is carried out in the embedding space. Although these examples are not real sentences, they have been shown to act as a regularization method which can make neural networks more robust. In this work, we apply adversarial training, which was put forward by Goodfellow et al. (2014), to the post-trained BERT (BERT-PT) language model proposed by Xu et al. (2019) on the two major tasks of Aspect Extraction and Aspect Sentiment Classification in sentiment analysis. After improving the results of post-trained BERT by an ablation study, we propose a novel architecture called BERT Adversarial Training (BAT) to utilize adversarial training in ABSA. The proposed model outperforms post-trained BERT in both tasks. To the best of our knowledge, this is the first study on the application of adversarial training in ABSA.

Akbar Karimi, Leonardo Rossi, Andrea Prati• 2020

Related benchmarks

TaskDatasetResultRank
Aspect-Term Sentiment AnalysisLAPTOP SemEval 2014 (test)
Macro-F176.5
69
Aspect-level sentiment classificationSemEval Restaurant 2014 (test)
Accuracy86.03
67
Aspect Sentiment ClassificationRest SemEval 2014 (test)
Accuracy86.03
60
Aspect Sentiment ClassificationLaptop (test)
Accuracy79.35
49
Aspect ExtractionLAPTOP SemEval 2014 (test)
F1 Score85.57
28
Aspect ExtractionRest SemEval 2016 (test)
F1 Score81.5
12
Aspect Extraction16res
F1 Score81.5
8
Aspect Term ExtractionDL Laptop SemEval 2014 (test)
F1 Score85.57
8
Aspect ExtractionLaptop SemEval (test)
F1 Score85.57
6
Aspect-based Sentiment AnalysisSemEval Task 4 Subtask 2 Restaurant domain 2014
Accuracy86.01
6
Showing 10 of 10 rows

Other info

Code

Follow for update