HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Attentional Encoder Network for Targeted Sentiment Classification

Youwei Song; Jiahai Wang; Tao Jiang; Zhiyue Liu; Yanghui Rao

Attentional Encoder Network for Targeted Sentiment Classification

Abstract

Targeted sentiment classification aims at determining the sentimental tendency towards specific targets. Most of the previous approaches model context and target words with RNN and attention. However, RNNs are difficult to parallelize and truncated backpropagation through time brings difficulty in remembering long-term patterns. To address this issue, this paper proposes an Attentional Encoder Network (AEN) which eschews recurrence and employs attention based encoders for the modeling between context and target. We raise the label unreliability issue and introduce label smoothing regularization. We also apply pre-trained BERT to this task and obtain new state-of-the-art results. Experiments and analysis demonstrate the effectiveness and lightweight of our model.

Code Repositories

Ankur3107/awesome-daily-blog
tf
Mentioned in GitHub
recommeddit/labs
pytorch
Mentioned in GitHub
songyouwei/ABSA-PyTorch
Official
pytorch
Mentioned in GitHub
yangheng95/LC-ABSA
pytorch
Mentioned in GitHub
mindspore-courses/ABSA-MindSpore
mindspore
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
aspect-based-sentiment-analysis-on-semevalAEN-BERT
Laptop (Acc): 79.93
Mean Acc (Restaurant + Laptop): 81.53
Restaurant (Acc): 83.12
aspect-based-sentiment-analysis-on-semevalBERT-SPC
Laptop (Acc): 78.99
Mean Acc (Restaurant + Laptop): 81.73
Restaurant (Acc): 84.46
aspect-based-sentiment-analysis-on-semevalAEN-GloVe
Laptop (Acc): 73.51
Mean Acc (Restaurant + Laptop): 77.25
Restaurant (Acc): 80.98
sentiment-analysis-on-twitterBERT-SPC
Accuracy: 73.55
sentiment-analysis-on-twitterAEN-BERT
Accuracy: 74.71
sentiment-analysis-on-twitterAEN-GloVe
Accuracy: 72.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