[Paper Review] Sentiment Classification of Food Reviews
This paper proposes a sentiment classification model for food reviews using recurrent neural networks (RNNs) and gated recurrent units (GRUs), with careful tuning to handle class-imbalanced data. The authors achieve improved accuracy over baseline models by applying data resampling and class weighting techniques, demonstrating the effectiveness of deep learning for fine-grained sentiment prediction on a 1–5 rating scale.
Sentiment analysis of reviews is a popular task in natural language processing. In this work, the goal is to predict the score of food reviews on a scale of 1 to 5 with two recurrent neural networks that are carefully tuned. As for baseline, we train a simple RNN for classification. Then we extend the baseline to GRU. In addition, we present two different methods to deal with highly skewed data, which is a common problem for reviews. Models are evaluated using accuracies.
Motivation & Objective
- To develop a deep learning model for predicting food review sentiment on a 1–5 rating scale.
- To address the challenge of highly skewed data distributions common in real-world review datasets.
- To compare the performance of simple RNNs and GRUs in sentiment classification tasks.
- To evaluate the effectiveness of data-level techniques—resampling and class weighting—for improving model robustness on imbalanced data.
- To provide a baseline and extended models for future research in food review sentiment analysis.
Proposed method
- The authors implement a simple RNN and extend it to a GRU-based architecture for sequence modeling of review text.
- They apply data resampling techniques to balance the distribution of ratings across the 1–5 scale.
- Class weighting is used during training to give higher importance to underrepresented rating classes.
- The models are trained and evaluated using accuracy as the primary metric on a food review dataset.
- Hyperparameters are carefully tuned to optimize performance on the validation set.
- The final models are evaluated on test data to report generalization performance.
Experimental results
Research questions
- RQ1Can GRU-based models outperform simple RNNs in classifying food review sentiment on a 1–5 scale?
- RQ2How effective are data resampling and class weighting in mitigating performance degradation due to class imbalance in food review data?
- RQ3What is the impact of model architecture and training techniques on accuracy in fine-grained sentiment classification?
- RQ4How do the proposed methods compare to a simple RNN baseline in terms of predictive performance?
- RQ5To what extent can deep learning models achieve high accuracy in predicting discrete sentiment scores for food reviews?
Key findings
- The GRU-based model outperforms the simple RNN baseline in terms of classification accuracy.
- The application of data resampling and class weighting significantly improves model performance on minority rating classes.
- The tuned GRU model achieves higher overall accuracy compared to the baseline RNN, demonstrating the benefit of architectural improvements.
- The results confirm that handling class imbalance is critical for achieving reliable performance in sentiment classification on real-world review data.
- The study establishes a strong baseline for future work in food review sentiment analysis using sequence models.
- The final model demonstrates robustness and generalization on imbalanced data through careful hyperparameter tuning and data-level preprocessing.
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.