Attentional Encoder Network for Targeted Sentiment Classification
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Aspect-Term Sentiment Analysis | LAPTOP SemEval 2014 (test) | Macro-F176.31 | 69 | |
| Aspect-level sentiment classification | SemEval Restaurant 2014 (test) | Accuracy84.46 | 67 | |
| Aspect Sentiment Classification | Rest SemEval 2014 (test) | Accuracy83.12 | 60 | |
| Aspect-based Sentiment Classification | Lap14 | Accuracy79.93 | 37 | |
| Aspect extraction and sentiment classification | res 14 | -- | 26 | |
| Aspect-level sentiment classification | Restaurant | Accuracy0.8677 | 23 | |
| Aspect Extraction and Sentiment Classification (AESC) | 14lap (test) | F1 Score76.31 | 22 | |
| Aspect-based Sentiment Analysis | Laptop dataset | Accuracy79.93 | 22 | |
| Aspect Polarity Classification | F1 Score (APC)75.16 | 17 | ||
| Aspect-based Sentiment Analysis | Restaurant dataset | Accuracy83.12 | 14 |