A Comparative Study of BERT and Traditional Machine Learning Models in E-commerce Review Classification

This paper presents a comparative analysis of sentiment classification methods applied to a dataset of Amazon reviews. Three methods are evaluated: the pre-trained BERT model, Naive Bayes with TF-IDF, and the lexicon-based TextBlob. The dataset consists of 20,350 samples, with 5,869 positive and 14,481 negative reviews, derived by categorizing ratings of 4 and 5 as positive, and 1 and 2 as negative. Results show that Naive Bayes achieved the highest accuracy (86.62%), excelling in negative sentiment classification, while BERT demonstrated a balanced performance with 84.81% accuracy and superior contextual understanding. TextBlob, with an accuracy of 69.79%, struggled to classify positive sentiments due to its reliance on predefined lexicons. The study highlights the strengths and trade-offs of each method, emphasizing BERT’s potential for achieving state-of-the-art results in sentiment analysis, albeit with higher computational costs.

Authors

Institutions

Publication Details

Published
2024-12-15
DOI
https://doi.org/10.1109/icot64290.2024.10936932
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Study of BERT and Traditional Machine Learning Models in E-commerce Review Classification

Shih-Pang Tseng, Guohua Xiao, Jiongqian Wu
Sentiment Analysis and Opinion Mining
article

A Comparative Study of BERT and Traditional Machine Learning Models in E-commerce Review Classification

Shih-Pang Tseng, Guohua Xiao, Jiongqian Wu
article en

Abstract

This paper presents a comparative analysis of sentiment classification methods applied to a dataset of Amazon reviews. Three methods are evaluated: the pre-trained BERT model, Naive Bayes with TF-IDF, and the lexicon-based TextBlob. The dataset consists of 20,350 samples, with 5,869 positive and 14,481 negative reviews, derived by categorizing ratings of 4 and 5 as positive, and 1 and 2 as negative. Results show that Naive Bayes achieved the highest accuracy (86.62%), excelling in negative sentiment classification, while BERT demonstrated a balanced performance with 84.81% accuracy and superior contextual understanding. TextBlob, with an accuracy of 69.79%, struggled to classify positive sentiments due to its reliance on predefined lexicons. The study highlights the strengths and trade-offs of each method, emphasizing BERT’s potential for achieving state-of-the-art results in sentiment analysis, albeit with higher computational costs.

Sanda University (CN)
Openalex Percentile: Top 74%
Sentiment Analysis and Opinion Mining
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.

A Comparative Study of BERT and Traditional Machine Learning Models in E-commerce Review Classification — Shih-Pang Tseng, Guohua Xiao, et al. · (2024) | TGRS Research Map | TGRS