Youwei Song, Jiahai Wang, Tao Jiang, Zhiyue Liu, Yanghui Rao
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Sentiment Analysis | Accuracy | 74.71 | AEN-BERT | |
| Sentiment Analysis | Accuracy | 73.55 | BERT-SPC | |
| Sentiment Analysis | Accuracy | 72.83 | AEN-GloVe | |
| Sentiment Analysis | SemEval-2014 Task-4 | Laptop (Acc) | 78.99 | BERT-SPC |
| Sentiment Analysis | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 81.73 | BERT-SPC |
| Sentiment Analysis | SemEval-2014 Task-4 | Restaurant (Acc) | 84.46 | BERT-SPC |
| Sentiment Analysis | SemEval-2014 Task-4 | Laptop (Acc) | 79.93 | AEN-BERT |
| Sentiment Analysis | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 81.53 | AEN-BERT |
| Sentiment Analysis | SemEval-2014 Task-4 | Restaurant (Acc) | 83.12 | AEN-BERT |
| Sentiment Analysis | SemEval-2014 Task-4 | Laptop (Acc) | 73.51 | AEN-GloVe |
| Sentiment Analysis | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 77.25 | AEN-GloVe |
| Sentiment Analysis | SemEval-2014 Task-4 | Restaurant (Acc) | 80.98 | AEN-GloVe |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Laptop (Acc) | 78.99 | BERT-SPC |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 81.73 | BERT-SPC |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Restaurant (Acc) | 84.46 | BERT-SPC |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Laptop (Acc) | 79.93 | AEN-BERT |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 81.53 | AEN-BERT |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Restaurant (Acc) | 83.12 | AEN-BERT |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Laptop (Acc) | 73.51 | AEN-GloVe |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Mean Acc (Restaurant + Laptop) | 77.25 | AEN-GloVe |
| Aspect-Based Sentiment Analysis (ABSA) | SemEval-2014 Task-4 | Restaurant (Acc) | 80.98 | AEN-GloVe |