ARCHIVES

Original Article

Balanced LSTM-Based Deep Learning Framework for Sentiment Analysis of Amazon Product Reviews

Penke Divya1Suneel Kumar Duvvuri2

¹ Student, Department of Computer Science, Government College (Autonomous), Rajahmundry, Andhra Pradesh, India. ² Assistant Professor, Department of Computer Science, Government College (Autonomous), Rajahmundry, Andhra Pradesh, India.

Published Online: January-April 2026

Pages: 443-451

Abstract

The rapid growth of e-commerce platforms has resulted in an enormous volume of user-generated textual data in the form of customer reviews. These reviews play a crucial role in influencing purchasing decisions and provide valuable insights into product quality and customer satisfaction. However, analyzing such large-scale textual data manually is inefficient and time-consuming. Sentiment Analysis, a subfield of Natural Language Processing (NLP), offers automated techniques to classify opinions expressed in text into categories such as positive, negative, and neutral. This research proposes a robust sentiment analysis framework using a balanced dataset derived from the Amazon Fine Food Reviews corpus. One of the major challenges in sentiment classification is class imbalance, where positive reviews dominate the dataset, leading to biased predictions. To address this issue, a balanced dataset consisting of 150,000 reviews equally distributed across sentiment classes is constructed using an under-sampling approach. The proposed system integrates advanced NLP preprocessing techniques, including tokenization, stop-word removal, and stemming, followed by feature extraction using word embedding’s. A Long Short-Term Memory (LSTM) deep learning model is employed to capture contextual dependencies within textual data. The model is trained and evaluated using standard metrics such as accuracy, precision, recall, and F1-score. Experimental results demonstrate that the proposed model achieves a test accuracy of 94.37%, indicating a significant improvement over traditional and imbalanced learning approaches. The use of a balanced dataset effectively reduces model bias and enhances classification reliability across all sentiment classes. The proposed framework can be effectively applied in real-world applications such as customer feedback analysis, product evaluation, and decision support systems.

Related Articles

2026

Artificial Intelligence in Learning and Teaching

2026

Admin Assist: An AI – Driven Configuration and Orchestration for Enterprise Application

2026

Unveiling Deepfake Detection Using Vision Transformers: A Survey and Experimental Study

2026

A Novel Stateful Orchestration Pattern for Data Affinity and Transactional Integrity in Sharded Backend Architectures

2026

Legal Challenges of Agentic AI Systems in Education and Employment Decision-Making

2026

New-Hybrid Soft Computing Model for Stock Market Predictions

2026

Human Emotion Distribution Learning from Face Images Using CNN

2026

Conceptual Design of IDGMS based on Multi-Agent Technologies

2026

Enhancements and Optimization of the Canny Edge Detection Algorithm

2026

Yolo and Its Evolved Versions: A Survey on Feature Enhancements for Improved Plant Disease Detection

Balanced LSTM-Based Deep Learning Framework for Sentiment Analysis of Amazon Product Reviews | INDJCST | INDJCST