Implementation of Deep Learning Models in Conducting Aspect-Based Sentiment Analysis
Abstract
The increasing volume of consumer reviews on e-commerce platforms has highlighted the need for sentiment analysis methods capable of capturing user opinions more specifically concerning particular aspects of products or services. Aspect-Based Sentiment Analysis (ABSA) addresses this need by identifying the aspects discussed in a review and determining the polarity of sentiment expressed toward each aspect. This study aims to explore and compare the effectiveness of two deep learning models, namely Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) in performing ABSA on Indonesian-language e-commerce user reviews. The research methodology comprises several stages: data exploration and cleaning, text preprocessing, aspect and sentiment annotation, training of CNN and LSTM models, and performance evaluation using metrics such as accuracy, precision, recall, and F1-score. The dataset is divided into training, validation, and testing subsets. The analyzed aspects include delivery, product, price, application, and service. Results show that the LSTM model outperforms CNN across all evaluation metrics. LSTM achieved an accuracy of 86.10%, precision of 85.70%, recall of 85.90%, and an F1-score of 85.80%, while CNN reported slightly lower values. Based on these findings, LSTM proves to be more effective in understanding the contextual and linguistic structure of the Indonesian language in ABSA tasks. This study provides a valuable contribution to the development of automatic sentiment analysis systems in the e-commerce sector. Future research can expand this approach by incorporating transformer-based models such as IndoBERT or integrating attention mechanisms to further improve predictive accuracy. These findings offer practical insights for industry stakeholders seeking to enhance customer experience through a deeper understanding of user sentiment.
Downloads
References
Y. Liu, J. Lu, J. Yang, and F. Mao, “Sentiment analysis for e-commerce product reviews by deep learning model of Bert-BiGRU-Softmax,” Mathematical Biosciences and Engineering, vol. 17, no. 6, pp. 7819–7837, 2020, doi: 10.3934/mbe.2020398.
M. A. Kassem, A. A. Abohany, A. A. A. El-Mageed, and K. M. Hosny, “A novel deep learning model for detection of inconsistency in e-commerce websites,” Neural Comput Appl, vol. 36, no. 17, pp. 10339–10353, 2024, doi: 10.1007/s00521-024-09590-5.
S. Safar, B. R. Jose, and T. Santhanakrishnan, “An Improved Recommendation System with Aspect-Based Sentiment Analysis,” in Responsible Data Science, J. Mathew, G. Santhosh Kumar, D. P., and J. M. Jose, Eds., Singapore: Springer Nature Singapore, 2022, pp. 75–87.
T. S. Rambe, M. N. S. Hasibuan, and M. H. Dar, “Sentiment Analysis of Beauty Product Applications using the Naïve Bayes Method,” SinkrOn, vol. 8, no. 2, pp. 980–989, 2023, doi: 10.33395/sinkron.v8i2.12303.
R. Thomas and J. R. Jeba, “A novel framework for an intelligent deep learning based product recommendation system using sentiment analysis (SA),” Automatika, vol. 65, no. 2, pp. 410–424, 2024, doi: 10.1080/00051144.2023.2295148.
P. Sasikala and L. Mary Immaculate Sheela, “Sentiment analysis of online product reviews using DLMNN and future prediction of online product using IANFIS,” J Big Data, vol. 7, no. 1, 2020, doi: 10.1186/s40537-020-00308-7.
N. Chintalapudi, G. Battineni, M. Di Canio, G. G. Sagaro, and F. Amenta, “Text mining with sentiment analysis on seafarers’ medical documents,” International Journal of Information Management Data Insights, vol. 1, no. 1, p. 100005, 2021, doi: 10.1016/j.jjimei.2020.100005.
A.-M. Iddrisu, S. Mensah, F. Boafo, G. R. Yeluripati, and P. Kudjo, “A sentiment analysis framework to classify instances of sarcastic sentiments within the aviation sector,” International Journal of Information Management Data Insights, vol. 3, no. 2, p. 100180, 2023, doi: 10.1016/j.jjimei.2023.100180.
L. Yang, Y. Li, J. Wang, and R. S. Sherratt, “Sentiment Analysis for E-Commerce Product Reviews in Chinese Based on Sentiment Lexicon and Deep Learning,” IEEE Access, vol. 8, pp. 23522–23530, 2020, doi: 10.1109/access.2020.2969854.
E. S. P. Krishna et al., “Enhancing E-commerce recommendations with sentiment analysis using MLA-EDTCNet and collaborative filtering,” Sci Rep, vol. 15, no. 1, p. 6739, Feb. 2025, doi: 10.1038/s41598-025-91275-7.
P. Savci and B. Das, “Prediction of the customers’ interests using sentiment analysis in e-commerce data for comparison of Arabic, English, and Turkish languages,” Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 3, pp. 227–237, 2023, doi: 10.1016/j.jksuci.2023.02.017.
N. Pughazendi, P. V Rajaraman, and M. H. Mohammed, “Graph Sample and Aggregate Attention Network optimized with Barnacles Mating Algorithm based Sentiment Analysis for Online Product Recommendation,” Appl Soft Comput, vol. 145, p. 110532, 2023, doi: 10.1016/j.asoc.2023.110532.
N. R. Bhowmik, M. Arifuzzaman, M. R. H. Mondal, and M. S. Islam, “Bangla Text Sentiment Analysis Using Supervised Machine Learning with Extended Lexicon Dictionary,” Natural Language Processing Research, vol. 1, no. 3–4, p. 34, 2021, doi: 10.2991/nlpr.d.210316.001.
J.-J. Wu and S.-T. Chang, “Exploring customer sentiment regarding online retail services: A topic-based approach,” Journal of Retailing and Consumer Services, vol. 55, p. 102145, 2020, doi: 10.1016/j.jretconser.2020.102145.
M. P. Geetha and D. Karthika Renuka, “Improving the performance of aspect based sentiment analysis using fine-tuned Bert Base Uncased model,” International Journal of Intelligent Networks, vol. 2, pp. 64–69, 2021, doi: 10.1016/j.ijin.2021.06.005.
E. Sihombing, M. Halmi Dar, and F. Aini Nasution, “Comparison of Machine Learning Algorithms in Public Sentiment Analysis of TAPERA Policy,” International Journal of Science, Technology & Management, vol. 5, no. 5, pp. 1089–1098, 2024, doi: 10.46729/ijstm.v5i5.1164.
L. Zhu, M. Xu, Y. Bao, Y. Xu, and X. Kong, “Deep learning for aspect-based sentiment analysis: a review,” PeerJ Comput Sci, vol. 8, pp. e1044–e1044, Jul. 2022, doi: 10.7717/peerj-cs.1044.
H. H. Do, P. W. C. Prasad, A. Maag, and A. Alsadoon, “Deep Learning for Aspect-Based Sentiment Analysis: A Comparative Review,” Expert Syst Appl, vol. 118, pp. 272–299, 2019, doi: 10.1016/j.eswa.2018.10.003.
M. H. D. T. Ari Bangsa, S. Priyanta, and Y. Suyanto, “Aspect-Based Sentiment Analysis of Online Marketplace Reviews Using Convolutional Neural Network,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 14, no. 2, p. 123, 2020, doi: 10.22146/ijccs.51646.
A. Karimi, L. Rossi, and A. Prati, “Adversarial Training for Aspect-Based Sentiment Analysis with BERT,” in 2020 25th International Conference on Pattern Recognition (ICPR), 2021, pp. 8797–8803. doi: 10.1109/ICPR48806.2021.9412167.
J. K. Prathi, P. K. Raparthi, and M. V. Gopalachari, “Real-Time Aspect-Based Sentiment Analysis on Consumer Reviews BT - Data Engineering and Communication Technology,” K. S. Raju, R. Senkerik, S. P. Lanka, and V. Rajagopal, Eds., Singapore: Springer Nature Singapore, 2020, pp. 801–810.
A. Daza, N. D. González Rueda, M. S. Aguilar Sánchez, W. F. Robles Espíritu, and M. E. Chauca Quiñones, “Sentiment Analysis on E-Commerce Product Reviews Using Machine Learning and Deep Learning Algorithms: A Bibliometric Analysis, Systematic Literature Review, Challenges and Future Works,” International Journal of Information Management Data Insights, vol. 4, no. 2, p. 100267, 2024, doi: 10.1016/j.jjimei.2024.100267.
L. Davoodi, J. Mezei, and M. Heikkilä, “Aspect-based sentiment classification of user reviews to understand customer satisfaction of e-commerce platforms,” Electronic Commerce Research, 2025, doi: 10.1007/s10660-025-09948-4.
R. Kusumaningrum, I. Z. Nisa, R. Jayanto, R. P. Nawangsari, and A. Wibowo, “Deep learning-based application for multilevel sentiment analysis of Indonesian hotel reviews,” Heliyon, vol. 9, no. 6, pp. e17147–e17147, Jun. 2023, doi: 10.1016/j.heliyon.2023.e17147.
S. Tabinda Kokab, S. Asghar, and S. Naz, “Transformer-based deep learning models for the sentiment analysis of social media data,” Array, vol. 14, p. 100157, 2022, doi: 10.1016/j.array.2022.100157.
O. Bellar, A. Baina, and M. Ballafkih, “Sentiment Analysis: Predicting Product Reviews for E-Commerce Recommendations Using Deep Learning and Transformers,” Mathematics, vol. 12, no. 15, p. 2403, 2024, doi: 10.3390/math12152403.
H. J. Alantari, I. S. Currim, Y. Deng, and S. Singh, “An empirical comparison of machine learning methods for text-based sentiment analysis of online consumer reviews,” International Journal of Research in Marketing, vol. 39, no. 1, pp. 1–19, 2022, doi: 10.1016/j.ijresmar.2021.10.011.
M. F. bin Harunasir, N. Palanichamy, S.-C. Haw, and K.-W. Ng, “Sentiment Analysis of Amazon Product Reviews by Supervised Machine Learning Models,” Journal of Advances in Information Technology, vol. 14, no. 4, pp. 857–862, 2023, doi: 10.12720/jait.14.4.857-862.
P. Rasappan, M. Premkumar, G. Sinha, and K. Chandrasekaran, “Transforming sentiment analysis for e-commerce product reviews: Hybrid deep learning model with an innovative term weighting and feature selection,” Information Processing & Management, vol. 61, no. 3, p. 103654, 2024, doi: 10.1016/j.ipm.2024.103654.
H. Fang, G. Jiang, and D. Li, “Sentiment analysis based on Chinese BERT and fused deep neural networks for sentence-level Chinese e-commerce product reviews,” Systems Science & Control Engineering, vol. 10, no. 1, pp. 802–810, 2022, doi: 10.1080/21642583.2022.2123060.
R. Liu, H. Wang, and Y. Li, “AgriMFLN: Mixing Features LSTM Networks for Sentiment Analysis of Agricultural Product Reviews,” Applied Sciences, vol. 13, no. 10, p. 6262, 2023, doi: 10.3390/app13106262.
Y. Basani, H. V Sibuea, S. Ida, P. Sianipar, and J. Presly, “Application of Sentiment Analysis on Product Review E-Commerce Application of Sentiment Analysis on Product Review E- Commerce,” 2019, doi: 10.1088/1742-6596/1175/1/012103.
A. A. Ilham, A. Bustamin, and E. Wahyudiarto, “Customer Satisfaction Assessment System on Transactions E-commerce Product Purchases Using Sentiment Analysis,” Int J Adv Sci Eng Inf Technol, vol. 13, no. 3, pp. 1041–1051, 2023, doi: 10.18517/ijaseit.13.3.18273.
S. Mulyani, “ ulasan-ecommerce-classification (Revision 7f44449) ,” 2024, Hugging Face . doi: 10.57967/hf/2418.
Copyright (c) 2025 International Journal of Science, Technology & Management

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.