[Paper Review] Explainable Sentence-Level Sentiment Analysis for Amazon Product Reviews
This paper proposes an explainable sentence-level sentiment analysis model for Amazon product reviews using a BiLSTM with attention mechanism, achieving 96% accuracy. It highlights that aspect terms often receive higher attention weights than sentiment words, enhancing model interpretability and providing insights into what drives sentiment predictions.
In this paper, we conduct a sentence level sentiment analysis on the product reviews from Amazon and thorough analysis on the model interpretability. For the sentiment analysis task, we use the BiLSTM model with attention mechanism. For the study of interpretability, we consider the attention weights distribution of single sentence and the attention weights of main aspect terms. The model has an accuracy of up to 0.96. And we find that the aspect terms have the same or even more attention weights than the sentimental words in sentences.
Motivation & Objective
- To develop a sentence-level sentiment analysis model for Amazon product reviews with high interpretability.
- To investigate the role of attention weights in identifying sentiment-driving elements such as aspect terms and sentiment words.
- To evaluate whether aspect terms receive comparable or greater attention than sentiment words in the model's decision-making process.
- To provide actionable insights into model behavior through attention visualization and distribution analysis.
- To improve transparency in NLP models for e-commerce sentiment analysis by linking attention to human-understandable linguistic features.
Proposed method
- A bidirectional Long Short-Term Memory (BiLSTM) network is used to capture sequential dependencies in sentence-level reviews.
- An attention mechanism is integrated to dynamically weigh the importance of each word in the input sequence.
- Attention weights are analyzed both at the sentence level and specifically for main aspect terms identified in the text.
- The model is trained on Amazon product review data with binary sentiment labels (positive/negative).
- Interpretability is enhanced by visualizing attention distributions across words and aspect terms.
- Aspect terms are extracted using a pre-defined aspect detection module prior to attention analysis.
Experimental results
Research questions
- RQ1Do aspect terms receive higher or comparable attention weights compared to sentiment words in the model's predictions?
- RQ2How do attention weights distribute across different types of words (e.g., aspect terms, sentiment words, function words) in a sentence?
- RQ3To what extent does the attention mechanism reflect human-annotated sentiment drivers in product reviews?
- RQ4Can attention-based explanations reliably highlight the key contributors to sentiment classification in a sentence?
- RQ5How does the model’s performance correlate with the interpretability of its attention patterns?
Key findings
- The proposed model achieves a sentiment classification accuracy of 96% on the Amazon product review dataset.
- Aspect terms consistently receive attention weights that are equal to or higher than those assigned to sentiment words in the same sentence.
- Attention visualization reveals that aspect terms are frequently the primary drivers of sentiment prediction, even when sentiment words are present.
- The attention mechanism effectively highlights semantically meaningful phrases, improving model transparency.
- The model’s interpretability is enhanced by the strong alignment between attention weights and human-identified sentiment-relevant terms.
- The findings suggest that aspect terms are not only important for sentiment understanding but are also central to the model’s decision-making process.
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.