[Paper Review] Text Sentiment Analysis and Classification Based on Bidirectional Gated Recurrent Units (GRUs) Model
This paper proposes a bidirectional gated recurrent units (Bi-GRU) model for text sentiment analysis, employing comprehensive preprocessing and sequence modeling to achieve 94.8% test accuracy, 95.9% precision, 99.1% recall, and 97.4% F1-score, demonstrating strong generalization and classification performance on a six-label sentiment dataset.
This paper explores the importance of text sentiment analysis and classification in the field of natural language processing, and proposes a new approach to sentiment analysis and classification based on the bidirectional gated recurrent units (GRUs) model. The study firstly analyses the word cloud model of the text with six sentiment labels, and then carries out data preprocessing, including the steps of removing special symbols, punctuation marks, numbers, stop words and non-alphabetic parts. Subsequently, the data set is divided into training set and test set, and through model training and testing, it is found that the accuracy of the validation set is increased from 85% to 93% with training, which is an increase of 8%; at the same time, the loss value of the validation set decreases from 0.7 to 0.1 and tends to be stable, and the model is gradually close to the actual value, which can effectively classify the text emotions. The confusion matrix shows that the accuracy of the model on the test set reaches 94.8%, the precision is 95.9%, the recall is 99.1%, and the F1 score is 97.4%, which proves that the model has good generalisation ability and classification effect. Overall, the study demonstrated an effective method for text sentiment analysis and classification with satisfactory results.
Motivation & Objective
- To improve text sentiment classification accuracy using deep learning architectures in natural language processing.
- To address the challenge of capturing sequential and contextual sentiment dependencies in text using recurrent networks.
- To evaluate the effectiveness of bidirectional GRUs in modeling long-range dependencies and sentiment polarity.
- To demonstrate the model's generalization capability through rigorous validation and test set evaluation.
- To provide a practical, high-performing solution for multi-label sentiment classification in real-world NLP applications.
Proposed method
- The proposed model uses bidirectional gated recurrent units (Bi-GRUs) to capture contextual dependencies in both forward and backward directions of text sequences.
- Text preprocessing includes removal of special characters, punctuation, numbers, stop words, and non-alphabetic tokens to clean the input data.
- The dataset is split into training and test sets to enable model evaluation and prevent data leakage.
- Model training is conducted with early stopping and validation monitoring, showing convergence in loss and accuracy over epochs.
- The model is evaluated using standard NLP metrics: accuracy, precision, recall, and F1-score on the test set.
- A confusion matrix is used to analyze per-class performance and validate model robustness.
Experimental results
Research questions
- RQ1Can a bidirectional GRU model effectively capture sequential sentiment patterns in text for multi-label classification?
- RQ2How does the proposed preprocessing pipeline affect model performance in sentiment analysis tasks?
- RQ3To what extent does the Bi-GRU model improve accuracy and generalization compared to baseline models?
- RQ4What is the model’s performance across individual sentiment classes, as shown by precision, recall, and F1-score?
- RQ5How stable and convergent is the training process in terms of validation loss and accuracy over epochs?
Key findings
- The model's validation accuracy increased from 85% to 93% over training epochs, indicating strong learning capacity.
- Validation loss decreased from 0.7 to 0.1 and stabilized, suggesting effective convergence and reduced overfitting.
- On the test set, the model achieved 94.8% accuracy, 95.9% precision, 99.1% recall, and 97.4% F1-score, demonstrating high performance.
- The high recall (99.1%) indicates strong detection of positive sentiment instances, minimizing false negatives.
- The F1-score of 97.4% confirms a balanced trade-off between precision and recall, indicating robust classification.
- The confusion matrix confirms consistent performance across all six sentiment classes, supporting the model’s generalization ability.
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.