[Paper Review] Statistical Analysis on E-Commerce Reviews, with Sentiment Classification using Bidirectional Recurrent Neural Network (RNN)
This paper proposes a bidirectional Long Short-Term Memory (LSTM) recurrent neural network for sentiment and recommendation classification on e-commerce reviews. It achieves F1-scores of 0.88 for recommendation prediction and 0.93 for sentiment classification, demonstrating that sentiment and recommendation are strongly correlated, while ratings are weak sentiment indicators due to class imbalance and fuzzy labeling.
Understanding customer sentiments is of paramount importance in marketing strategies today. Not only will it give companies an insight as to how customers perceive their products and/or services, but it will also give them an idea on how to improve their offers. This paper attempts to understand the correlation of different variables in customer reviews on a women clothing e-commerce, and to classify each review whether it recommends the reviewed product or not and whether it consists of positive, negative, or neutral sentiment. To achieve these goals, we employed univariate and multivariate analyses on dataset features except for review titles and review texts, and we implemented a bidirectional recurrent neural network (RNN) with long-short term memory unit (LSTM) for recommendation and sentiment classification. Results have shown that a recommendation is a strong indicator of a positive sentiment score, and vice-versa. On the other hand, ratings in product reviews are fuzzy indicators of sentiment scores. We also found out that the bidirectional LSTM was able to reach an F1-score of 0.88 for recommendation classification, and 0.93 for sentiment classification.
Motivation & Objective
- To analyze correlations between e-commerce review features (e.g., age, rating, department) and customer recommendations.
- To classify whether a review recommends a product using a bidirectional RNN-LSTM.
- To classify the sentiment of reviews as positive, negative, or neutral using deep learning.
- To evaluate model performance on imbalanced datasets, particularly focusing on class imbalance effects.
- To provide actionable insights for e-commerce platforms on customer satisfaction and product improvement.
Proposed method
- A bidirectional Long Short-Term Memory (LSTM) network was implemented using Keras with TensorFlow for sequence modeling of review text.
- The model was trained on a preprocessed dataset of 22,621 women's clothing reviews, with features including age, rating, department, and clothing ID.
- Hyper-parameters such as batch size (256), cell size (256), dropout rate (0.5), and 32 training epochs were used.
- The dataset was split into 60% training, 20% validation, and 20% testing to evaluate model generalization.
- Statistical analysis was performed on non-textual features (e.g., age, rating, department) to identify patterns in customer behavior.
- Model evaluation used precision, recall, F1-score, and ROC curves to assess performance on imbalanced classes.
Experimental results
Research questions
- RQ1How do demographic and product-related features (e.g., age, rating, department) correlate with customer recommendations in e-commerce reviews?
- RQ2To what extent does a bidirectional LSTM model outperform traditional methods in classifying review sentiment and recommendation intent?
- RQ3How does class imbalance in the dataset affect the predictive performance of the sentiment and recommendation classifiers?
- RQ4What is the relationship between product ratings and actual sentiment polarity in customer reviews?
- RQ5Can the model effectively distinguish between negative and neutral sentiments despite their low frequency in the dataset?
Key findings
- The bidirectional LSTM achieved an F1-score of 0.88 for recommendation classification and 0.93 for sentiment classification, indicating strong model performance.
- The positive sentiment class had the highest F1-score (0.96), while the negative and neutral classes showed significantly lower performance (F1: 0.49 and 0.23, respectively), indicating class imbalance impact.
- A recommendation is a strong indicator of positive sentiment, and vice versa, suggesting a high correlation between recommendation and sentiment polarity.
- Product ratings are weak indicators of sentiment, as they show fuzzy alignment with actual sentiment scores, especially for negative and neutral reviews.
- The confusion matrices revealed that the model struggles most with predicting the not-recommended (class 0) and neutral sentiment (class 1) categories, confirming bias toward majority classes.
- Despite class imbalance, the model demonstrated robust performance, suggesting that bidirectional LSTMs effectively capture contextual dependencies in review text.
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.