Abstract
Recommendation systems (RS) play a crucial role in enhancing conversion rates in e-commerce by offering personalized product recommendations based on customer preferences. However, traditional RS heavily rely on numerical ratings, which might not fully capture the subtle nuances of user preferences. To overcome this limitation, the integration of textual data, such as reviews using sentiment analysis (SA), has gained considerable significance. Nevertheless, effectively analyzing and comprehending unstructured review data presents its own set of challenges. In this work, we propose a novel RS that synergizes collaborative filtering with sentiment analysis to deliver precise and individualized recommendations. Our approach encompasses three main steps: (1) Developing a BERT fine-tuned model for accurate sentiment classification, (2) Creating a hybrid collaborative filtering-based Recommendation Model, and (3) Improving the product selection process in the RS using BERT insights for enhanced recommendation accuracy in the e-commerce domain. Notably, our SA model exhibits remarkable accuracy, achieving 91%, and outperforming state-of-the-art models on a benchmark dataset. Through extensive experimentation and evaluation, we demonstrate that our method significantly improves the accuracy and personalization of the RS, thereby providing customers with a tailored and reliable recommendation service in the e-commerce domain.











Similar content being viewed by others
Data Availability
Not applicable
References
Lee SW, Jiang G, Kong HY, Liu C (2021) A difference of multimedia consumers rating and review through sentiment analysis. Multimedia Tools and Applications. 80:34625–34642
Ebadi A, Krzyzak A (2016) A hybrid multi-criteria hotel recommender system using explicit and implicit feedbacks. International Journal of Computer and Information Engineering. 10(8):1450–1458
Pu P, Chen L, Hu R (2012) Evaluating recommender systems from the users perspective: survey of the state of the art. User Model User-Adap Inter 22:317–355
Patel B, Desai P, Panchal U (2017) Methods of recommender system: a review. In: 2017 International conference on innovations in information, embedded and communication systems (ICIIECS) (pp 1–4). IEEE
Nilashi M, bin Ibrahim O, Ithnin N (2014) Hybrid recommendation approaches for multi-criteria collaborative filtering. Expert Syst Appl 41(8):3879–3900
Nilashi M, Ibrahim O, Bagherifard K (2018) A recommender system based on collaborative filtering using ontology and dimensionality reduction techniques. Expert Syst Appl 92:507–520
Thakker U, Patel R, Shah M (2021) A comprehensive analysis on movie recommendation system employing collaborative filtering. Multimedia Tools and Applications. 80(19):28647–28672
Aggarwal CC, Aggarwal CC (2016) Content-based recommender systems. The textbook, Recommender systems, pp 139–166
Geetha G, Safa M, Fancy C, Saranya D (2018) A hybrid approach using collaborative filtering and content based filtering for recommender system. In: Journal of physics: conference series (vol 1000, No. 1, p. 012101). IOP Publishing
Jain A, Jain V, Kapoor N (2016) A literature survey on recommendation system based on sentimental analysis. Advanced Computational Intelligence. 3(1):25–36
Sánchez-Moreno D, Gil González AB, Muñoz Vicente MD, López Batista V, Moreno-García MN. Recommendation of songs in music streaming services: dealing with sparsity and gray sheep problems. InTrends in Cyber-Physical Multi-Agent Systems. The PAAMS Collection-15th International Conference, PAAMS 2017 15 2018 (pp 206-213). Springer International Publishing
Birjali M, Kasri M, Beni-Hssane A (2021) A comprehensive survey on sentiment analysis: approaches, challenges and trends. Knowl-Based Syst 226:107134
Sharma D, Kumar A (2021) Levels and classification techniques for sentiment analysis: a review. Advances in Communication and Computational Technology: Select Proceedings of ICACCT 2019:333–345
Bhavitha BK, Rodrigues AP, Chiplunkar NN (2017) Comparative study of machine learning techniques in sentimental analysis. In: 2017 International conference on inventive communication and computational technologies (ICICCT) (pp 216-221). IEEE
Salas–Zte MDP, Medina-Moreira J, Lagos-Ortiz K, Luna-Aveiga H, Rodriguez-Garcia MA, Valencia-Garcia R (2017) Sentiment analysis on tweets about diabetes: an aspect-level approach. Computational and mathematical methods in medicine, 2017
Zhang X, Zheng X (2016) Comparison of text sentiment analysis based on machine learning. In: 2016 15th International symposium on parallel and distributed computing (ISPDC) (pp 230–233). IEEE
Zhao W, Guan Z, Chen L, He X, Cai D, Wang B, Wang Q (2017) Weakly-supervised deep embedding for product review sentiment analysis. IEEE Trans Knowl Data Eng 30(1):185–197
Nouh RM, Lee HH, Lee WJ, Lee JD (2019) A smart recommender based on hybrid learning methods for personal well-being services. Sensors. 19(2):431
Kumar S, De K, Roy PP (2020) Movie recommendation system using sentiment analysis from microblogging data. IEEE Transactions on Computational Social Systems. 7(4):915–923
Osman NA, Noah SAM, Darwich M (2019) Contextual sentiment based recommender system to provide recommendation in the electronic products domain. International Journal of Machine Learning and Computing. 9(4):425–431
Contratres FG, Alves-Souza SN, Filgueiras LVL, DeSouza LS (2018) Sentiment analysis of social network data for cold-start relief in recommender systems. In: Trends and advances in information systems and technologies: vol 2 6 (pp 122–132). Springer International Publishing
Ziani A, Azizi N, Schwab D, Aldwairi M, Chekkai N, Zenakhra D, Cheriguene S (2017) Recommender system through sentiment analysis. In: 2nd International conference on automatic control, telecommunications and signals
Abbasi F, Khadivar A, Yazdinejad M (2019) A grouping hotel recommender system based on deep learning and sentiment analysis. Journal of Information Technology Management. 11(2)
Dubey Abhishek et al (2018) Item-based collaborative filtering using sentiment analysis of user reviews. International conference on application of computing and communication technologies. Springer, Singapore
Nabil S, Elbouhdidi J, Chkouri MY (2018) Recommendation system based on data analysis-application on tweets sentiment analysis. In 2018 IEEE 5th International congress on information science and technology (CiSt) (pp 155-160). IEEE
Sallam RM, Hussein M, Mousa HM (2022) Improving collaborative filtering using lexicon-based sentiment analysis. International Journal of Electrical and Computer Engineering. 12(2):1744
Amazon Musical Instruments http://jmcauley.ucsd.edu/data/amazon/ (Accessed 20 July 2023)
Rahali A, Akhloufi MA (2023) End-to-end transformer-based models in textual-based NLP. AI. 4(1):54–110
Devlin J, Chang MW, Lee K, Toutanova K (2018) Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv:1810.04805
Peters ME, Neumann M, Iyyer M, Gardner M, Clark C, Lee K, Zettlemoyer L (1802) Deep contextualized word representations. CoRR abs/1802.05365 (2018)
Brown T, Mann B, Ryder N, Subbiah M, Kaplan JD, Dhariwal P, Amodei D (2020) Language models are few-shot learners. Adv Neural Inf Process Syst 33:1877–1901
Munikar M, Shakya S, Shrestha A (2019) Fine-grained sentiment classification using BERT. In: 2019 Artificial intelligence for transforming business and society (AITB) (vol 1, pp 1–5). IEEE
Gao Z, Feng A, Song X, Wu X (2019) Target-dependent sentiment classification with BERT. Ieee Access. 7:154290–154299
El-Ansari A, Beni-Hssane A (2023) Sentiment analysis for personalized chatbots in e-commerce applications. Wireless Pers Commun 129(3):1623–1644
Loshchilov I, Hutter F (2017) Decoupled weight decay regularization. arXiv:1711.05101
Pennington, J., Socher, R.,Manning, C. D. (2014, October). Glove: global vectors for word representation. In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP) (pp 1532-1543)
Isinkaye FO, Folajimi YO, Ojokoh BA (2015) Recommendation systems: principles, methods and evaluation. Egyptian Informatics Journal. 16(3):261–273
Hameed Z, Garcia-Zapirain B (2020) Sentiment classification using a single-layered BiLSTM model. Ieee Access. 8:73992–74001
Arbane M, Benlamri R, Brik Y, Alahmar AD (2023) Social media-based COVID-19 sentiment classification model using Bi-LSTM. Expert Syst Appl. 212
Sachin S, Tripathi A, Mahajan N, Aggarwal S, Nagrath P (2020) Sentiment analysis using gated recurrent neural networks. SN Computer Science. 1:1–13
Pan Y, Liang M (2020) Chinese text sentiment analysis based on BI-GRU and self-attention. In: 2020 IEEE 4th Information technology, networking, electronic and automation control conference (ITNEC) (vol 1, pp 1983–1988). IEEE
Elmurngi EI, Gherbi A (2018) Unfair reviews detection on amazon reviews using sentiment analysis with supervised learning techniques. J Comput Sci 14(5):714–726
Tilloo, Pallavi, Gottimukkala, Raga, Mamidala, Sreeja (2021) Sentiment analysis for amazon musical instruments user reviews
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they have no conflict of interest
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Karabila, I., Darraz, N., EL-Ansari, A. et al. BERT-enhanced sentiment analysis for personalized e-commerce recommendations. Multimed Tools Appl 83, 56463–56488 (2024). https://doi.org/10.1007/s11042-023-17689-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-17689-5