Advanced Sentiment Analysis of Amazon Electronics Reviews Leveraging BERT: Model Optimization and Evaluation

Sentiment analysis is an essential part of natural language processing (NLP), which involves collecting and understanding individual viewpoints based on textual information. In this study, BERT is used to categorize user reviews into positive, negative, or neutral. The methodology includes research, model optimization and data cleaning. The experiment used Amazon Electronics’ five-core dataset with 6,739,590 reviews. This includes encoding and formatting the raw text input to obtain a suitable format for BERT. This ensured adequate representation of data points across all sentiment categories (around 36,000 per category). The dense layers are enabled with ReLU and the final SoftMax layer outputs probabilities of the classes while using dropout to prevent overfitting. The model achieved a training accuracy of 93.5% with an F1 score of 93.50 using the evaluation metrics such as precision, recall and performance based on the sample when evaluated by running smaller subsets of test data. Key results demonstrated proposed model ability to accurately classify complex reviews with different settings and confirmed its reliability and scalability.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.04.616
Citations
2
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Advanced Sentiment Analysis of Amazon Electronics Reviews Leveraging BERT: Model Optimization and Evaluation

Ahmed Al-Karawi, Nassar Al Hafidh
2 citations
Procedia Computer Science
Sentiment Analysis and Opinion Mining
4.96
article

Advanced Sentiment Analysis of Amazon Electronics Reviews Leveraging BERT: Model Optimization and Evaluation

Ahmed Al-Karawi, Nassar Al Hafidh
article en
2 citations

Abstract

Sentiment analysis is an essential part of natural language processing (NLP), which involves collecting and understanding individual viewpoints based on textual information. In this study, BERT is used to categorize user reviews into positive, negative, or neutral. The methodology includes research, model optimization and data cleaning. The experiment used Amazon Electronics’ five-core dataset with 6,739,590 reviews. This includes encoding and formatting the raw text input to obtain a suitable format for BERT. This ensured adequate representation of data points across all sentiment categories (around 36,000 per category). The dense layers are enabled with ReLU and the final SoftMax layer outputs probabilities of the classes while using dropout to prevent overfitting. The model achieved a training accuracy of 93.5% with an F1 score of 93.50 using the evaluation metrics such as precision, recall and performance based on the sample when evaluated by running smaller subsets of test data. Key results demonstrated proposed model ability to accurately classify complex reviews with different settings and confirmed its reliability and scalability.

Procedia Computer ScienceVol. 258
Istanbul Aydın University (TR)
Openalex Percentile: Top 5%
Sentiment Analysis and Opinion Mining
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.