[Paper Review] Aspect Level Sentiment Classification with Attention-over-Attention Neural Networks
This paper proposes an Attention-over-Attention (AOA) neural network for aspect-level sentiment classification that jointly models aspects and context sentences using dual LSTMs and an attention mechanism that captures mutual relevance between aspect and sentence representations. The model outperforms prior LSTM-based methods on SemEval 2014 datasets, achieving 81.2% F1 on the restaurant dataset and 74.5% on the laptop dataset, with significant improvements over models like IAN and ATAE-LSTM.
Aspect-level sentiment classification aims to identify the sentiment expressed towards some aspects given context sentences. In this paper, we introduce an attention-over-attention (AOA) neural network for aspect level sentiment classification. Our approach models aspects and sentences in a joint way and explicitly captures the interaction between aspects and context sentences. With the AOA module, our model jointly learns the representations for aspects and sentences, and automatically focuses on the important parts in sentences. Our experiments on laptop and restaurant datasets demonstrate our approach outperforms previous LSTM-based architectures.
Motivation & Objective
- To improve aspect-level sentiment classification by jointly modeling aspects and context sentences using deep neural networks.
- To address the limitation of prior models that treat aspects and sentences separately, leading to suboptimal attention to sentiment-bearing words.
- To develop a mechanism that captures bidirectional attention between aspects and sentences, focusing on the most relevant words for sentiment polarity prediction.
- To outperform existing state-of-the-art LSTM-based models on benchmark aspect-level sentiment classification datasets.
Proposed method
- Uses two separate LSTMs to encode the context sentence and the aspect target independently, learning contextual and target-specific representations.
- Employs an Attention-over-Attention (AOA) module that computes mutual attention: aspect-to-sentence and sentence-to-aspect, enabling dynamic focus on relevant words.
- Generates a final sentence representation by attending to the most relevant words in the sentence based on the aspect's attention, and vice versa for the aspect representation.
- Concatenates the final representations from both LSTMs and applies a classifier to predict sentiment polarity (positive, negative, neutral).
- Uses word embeddings and learns end-to-end representations without manual feature engineering, improving generalization and reducing reliance on linguistic preprocessing.
- Applies dropout and batch normalization during training to reduce overfitting and improve model stability across random weight initializations.
Experimental results
Research questions
- RQ1Can a joint modeling approach with bidirectional attention between aspects and sentences improve aspect-level sentiment classification accuracy?
- RQ2Does the AOA mechanism effectively identify sentiment-bearing words in a sentence that are relevant to a specific aspect?
- RQ3How does the proposed AOA-LSTM model compare to existing state-of-the-art models like IAN and ATAE-LSTM on standard benchmark datasets?
- RQ4To what extent does the model generalize across different domains, such as restaurant and laptop reviews?
Key findings
- The AOA-LSTM model achieves a test F1 score of 81.2% on the SemEval 2014 restaurant dataset, outperforming the previous best model (IAN) by 2.6 percentage points.
- On the laptop dataset, the model reaches 74.5% F1, a 1.9 percentage point improvement over IAN, demonstrating consistent gains across domains.
- The model's best performance across 10 random runs was 81.2% (mean ± std: 0.797 ± 0.008) on the restaurant dataset, indicating high stability and reproducibility.
- Case studies show that the attention mechanism successfully highlights sentiment-bearing words—such as 'slow' for 'service'—demonstrating effective alignment between aspects and relevant sentence words.
- Error analysis reveals that the model struggles with non-compositional expressions, idioms (e.g., 'on point'), and complex negations, indicating limitations in handling figurative or contextually nuanced language.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.