Optimizing BERT for Sentiment Classification of Amazon Product Reviews: A Study on Class Imbalance and Misclassification Analysis
| dc.contributor.author | Korsakpaisarn O. | |
| dc.contributor.author | Noraset T. | |
| dc.contributor.author | Lapamnuaypol J. | |
| dc.contributor.author | Jin'no K. | |
| dc.contributor.correspondence | Korsakpaisarn O. | |
| dc.contributor.other | Mahidol University | |
| dc.date.accessioned | 2026-03-20T18:19:04Z | |
| dc.date.available | 2026-03-20T18:19:04Z | |
| dc.date.issued | 2025-01-01 | |
| dc.description.abstract | This paper presents a custom BERT-based sentiment classification pipeline for Amazon product reviews. Reviews are grouped into three sentiment classes - bad (1-2 stars), normal (3 stars), and good (4-5 stars). Two practical challenges are addressed: the semantic ambiguity of the neutral ('normal') class and skewed class distributions that bias prediction toward majority categories. In particular, the underrepresentation of neutral reviews often yields models that favor the dominant classes, limiting effectiveness in real applications. To mitigate these issues, stratified sampling and class-weighted cross-entropy are applied while fine-tuning bert-base-uncased. A moderate emphasis on the normal class increases its recall and F1 without significantly lowering overall accuracy, according to multi-run trials across four weight settings. | |
| dc.identifier.citation | 2025 20th International Joint Symposium on Artificial Intelligence and Natural Language Processing Isai Nlp 2025 (2025) | |
| dc.identifier.doi | 10.1109/iSAI-NLP66160.2025.11320736 | |
| dc.identifier.scopus | 2-s2.0-105032731380 | |
| dc.identifier.uri | https://repository.li.mahidol.ac.th/handle/123456789/115793 | |
| dc.rights.holder | SCOPUS | |
| dc.subject | Computer Science | |
| dc.subject | Engineering | |
| dc.title | Optimizing BERT for Sentiment Classification of Amazon Product Reviews: A Study on Class Imbalance and Misclassification Analysis | |
| dc.type | Conference Paper | |
| mu.datasource.scopus | https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105032731380&origin=inward | |
| oaire.citation.title | 2025 20th International Joint Symposium on Artificial Intelligence and Natural Language Processing Isai Nlp 2025 | |
| oairecerif.author.affiliation | Mahidol University | |
| oairecerif.author.affiliation | Tokyo City University |
