00
Days
00
Hrs
00
Min
00
Sec
Submit Your Paper

Enhancing E-Commerce Recommender System Inputs Using Transformer-Based Aspect-Based Sentiment Analysis

Authors

Dr. Nazima Khanam

Westcliff University, California, USA (US)

Dr Karen Robinson

Westcliff University, California, USA (US)

Article Information

DOI: 10.51583/IJLTEMAS.2025.1412000098

Subject Category: Data Analytics

Volume/Issue: 14/12 | Page No: 1095-1109

Publication Timeline

Submitted: 2026-01-09

Published: 2026-01-09

Abstract

Aspect-based sentiment analysis (ABSA) has become an important analytical technique in e-commerce research for understanding how customers perceive specific product features. Conventional sentiment analysis approaches typically treat a review as a single unit and assign an overall sentiment label, even though customers frequently express differing opinions about multiple product attributes within the same review. Such aggregation often obscures feature-level preferences and limits the usefulness of sentiment outputs for personalization and decision support. To address this limitation, this study proposes a transformer-based ABSA pipeline that integrates KeyBERT for unsupervised aspect extraction with Bidirectional Encoder Representations from Transformers (BERT) for contextual sentiment classification at the aspect level. The proposed approach is evaluated using a dataset of 10,000 Amazon product reviews obtained from publicly available open-source review data and is benchmarked against a widely used lexicon-based sentiment analysis method, Valence Aware Dictionary and Sentiment Reasoner (VADER). Model performance is assessed using precision, recall, and F1-score to capture both classification accuracy and balance across sentiment classes. Experimental results demonstrate that the transformer-based pipeline consistently outperforms the lexicon-based baseline, particularly in reviews containing mixed or contrasting sentiments across different product attributes. The findings show that contextual embeddings enable more accurate identification of sentiment polarity shifts and nuanced opinion expressions that are frequently missed by rule-based methods. Overall, the results indicate that transformer-based ABSA provides more reliable and interpretable sentiment representations, making it well suited for supporting personalized recommendations, feature-level analysis, and improved customer insight generation in e-commerce systems.

Keywords

Aspect-based sentiment analysis, transformer models, BERT, KeyBERT, e-commerce personalization, sentiment analysis

Downloads

References

1. Babaali, M., Fatemi, A., & Nematbakhsh, M. A. (2024). Aspect extraction with enriching word representation and post-processing rules. Expert Systems with Applications, 240, Article 120304. https://doi.org/10.1016/j.eswa.2024.124174 [Google Scholar] [Crossref]

2. Bellar, O., Baina, A., & Ballafkih, M. (2024). Sentiment analysis: Predicting product reviews for e-commerce recommendations using deep learning and transformers. Mathematics, 12(15), Article 2403. https://doi.org/10.3390/math12152403 [Google Scholar] [Crossref]

3. Cai, H., Xie, Q., Zhao, Q., & Li, K. (2023). Memd-absa: A multi-element multi-domain dataset for aspect-based sentiment analysis. Language Resources and Evaluation, 59(3), 2501–2529. https://doi.org/10.1007/s10579-025-09820-9 [Google Scholar] [Crossref]

4. Chauhan, G. S., Nahta, R., & Meena, Y. K. (2023). Aspect-based sentiment analysis using deep learning approaches: A survey. Computer Science Review, 48, Article 100505. https://doi.org/10.1016/j.cosrev.2023.100576 [Google Scholar] [Crossref]

5. 5.Cui, Y., Zhou, P., Yu, H., Sun, P., Cao, H., & Yang, P. (2024). ASKAT: Aspect sentiment knowledge graph attention network for recommendation. Electronics, 13(1), Article 216. https://doi.org/10.3390/electronics13010216 [Google Scholar] [Crossref]

6. 6.Darraz, N., Karabila, I., El-Ansari, A., Alami, N., & El Mallahi, M. (2025). Integrated sentiment analysis with BERT for enhanced hybrid recommendation systems. Expert Systems with Applications, 261, Article 125533. https://doi.org/10.1016/j.eswa.2024.125533 [Google Scholar] [Crossref]

7. 7.Davoodi, L., Mezei, J., & Heikkilä, M. (2025). Aspect-based sentiment classification of user reviews to understand customer satisfaction of e-commerce platforms. Electronic Commerce Research, 1–43. https://doi.org/10.1007/s10660-025-09948-4 [Google Scholar] [Crossref]

8. 8.Dogra, V. (2024, July). Aspect-based approaches for measuring customer feedback in the e-commerce industry. In Proceedings of the 2024 2nd International Conference on Sustainable Computing and Smart Systems (ICSCSS) (pp. 479–484). IEEE. https://doi.org/10.1109/ICSCSS60660.2024.10625381 [Google Scholar] [Crossref]

9. 9.Elzeheiry, S., Gab-Allah, W. A., & Mekky, N. (2023). Sentiment analysis for e-commerce product reviews: Current trends and future directions. Preprints. https://doi.org/10.20944/preprints202305.1649.v1 [Google Scholar] [Crossref]

10. 10.Haq, B., Daudpota, S. M., Imran, A. S., Kastrati, Z., & Noor, W. (2023). A semi-supervised approach for aspect category detection and aspect term extraction from opinionated text. Computers, Materials & Continua, 77(1), 115–137. https://doi.org/10.32604/cmc.2023.040638 [Google Scholar] [Crossref]

11. 11.Xu, Y., & Ibrahim, N. F. (2022). Cross-domain aspect-based sentiment analysis for enhancing customer experience in electronic commerce. Advances in Artificial Intelligence and Machine Learning, 2(1), 112–127. https://doi.org/10.54364/aaiml.2024.43151 [Google Scholar] [Crossref]

12. 12.Zhao, Z., Fan, W., Li, J., Liu, Y., Mei, X., Wang, Y., & Li, Q. (2024). Recommender systems in the era of large language models. IEEE Transactions on Data Engineering, 36, 6889-6907. https://doi.org/10.1109/tkde.2024.3392335 [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles

© 2026 IJLTEMAS · RSIS International. All rights reserved. ISSN 2278-2540.