APPLICATION OF TRANSFORMER MODEL AND WORD EMBEDDING IN SENTIMENT ANALISYS OF INDONESIAN E-COMMERCE APPLICATION REVIEW

Authors

  • Kadarsih Universitas Mahakarya Asia, Indonesia
  • Defi Pujianto Universitas Mahakarya Asia

DOI:

https://doi.org/10.47709/cnahpc.v7i3.6354

Keywords:

Sentiment Analysis, E-Commerce, Gradient Boosting, Transformer, Word Embedding

Abstract

The rapid growth of e-commerce applications in Indonesia has resulted in a large volume of user reviews. The review contains important information that can be used to understand user satisfaction, complaints, and needs. Therefore, sentiment analysis of e-commerce app reviews is important to support future decision-making. This study aims to explore and compare the performance of the Transformer model and various word embedding methods in analyzing the sentiment of reviews of Indonesian e-commerce applications. The methods used involve extracting review data from the Google Play Store, text preprocessing, and text representation using Word2Vec, FastText, and IndoBERT. Next, this combination of embedding was tested using the Gradient Boosting Classifier as a prediction model. The evaluation was carried out by comparing the accuracy, precision, recall, F1-score, as well as the visualization of the confusion matrix and word cloud for each model. The results of the tests that have been carried out show that all three models have a fairly good ability to recognize positive reviews, with the highest accuracy score of 88% achieved by Word2Vec and FastText. While IndoBERT produces a lower accuracy value of 86%, IndoBERT shows a better balance in recall values and f1-scores for minority classes compared to Word2Vec and FastText. In conclusion, the application of the IndoBERT-based Transformer model is more effective in capturing the context and meaning of sentiment in Indonesian-language e-commerce reviews. These findings are expected to be a reference for the development of a more accurate sentiment analysis system for e-commerce applications in Indonesia.

 

Downloads

Download data is not yet available.

References

Abighail, B. M. D., Fachrifansyah, Firmanda, M. R., Anggreainy, M. S., Harvianto, & Gintoro. (2023). Sentiment Analysis E-commerce Review. Procedia Computer Science, 227, 1039–1045. https://doi.org/10.1016/j.procs.2023.10.613

Badri, N., Kboubi, F., & Chaibi, A. H. (2022). Combining FastText and Glove Word Embedding for Offensive and Hate speech Text Detection. Procedia Computer Science, 207, 769–778. https://doi.org/10.1016/j.procs.2022.09.132

Daza, A., González Rueda, N. D., Aguilar Sánchez, M. S., Robles Espíritu, W. F., & Chauca Quiñones, M. E. (2024). Sentiment Analysis on E-Commerce Product Reviews Using Machine Learning and Deep Learning Algorithms: A Bibliometric Analysisand Systematic Literature Review, Challenges and Future Works. In International Journal of Information Management Data Insights (Vol. 4, Issue 2). Elsevier B.V. https://doi.org/10.1016/j.jjimei.2024.100267

Diekson, Z. A., Prakoso, M. R. B., Putra, M. S. Q., Syaputra, M. S. A. F., Achmad, S., & Sutoyo, R. (2022). Sentiment analysis for customer review: Case study of Traveloka. Procedia Computer Science, 216, 682–690. https://doi.org/10.1016/j.procs.2022.12.184

Dirchaoui, M., Abarda, A., El Ouardighi, A., & Maiti, A. (2025). Stacking Approach for Detecting Arabic Fraudulent Reviews in E-Commerce Platforms. Procedia Computer Science, 257, 1251–1256. https://doi.org/10.1016/j.procs.2025.03.168

George, M., & Murugesan, R. (2024). Improving sentiment analysis of financial news headlines using hybrid Word2Vec-TFIDF feature extraction technique. Procedia Computer Science, 244, 1–8. https://doi.org/10.1016/j.procs.2024.10.172

Himdi, H. (2024). Arabic Idioms Detection by Utilizing Deep Learning and Transformer-based Models. Procedia Computer Science, 244, 37–48. https://doi.org/10.1016/j.procs.2024.10.176

K, N., M, K., Easwaramoorthy, S. V., C R, D., Yoo, S., & Cho, J. (2024). Hybrid approach of deep feature extraction using BERT– OPCNN & FIAC with customized Bi-LSTM for rumor text classification. Alexandria Engineering Journal, 90, 65–75. https://doi.org/10.1016/j.aej.2024.01.056

Khasanah, I. N. (2021). Sentiment Classification Using fastText Embedding and Deep Learning Model. Procedia CIRP, 189, 343–350. https://doi.org/10.1016/j.procs.2021.05.103

Koto, F., Rahimi, A., Lau, J. H., & Baldwin, T. (n.d.). IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP. Online. https://huggingface.co/

Niu, F., Wang, S., & Chen, B. (2024). A comparative study of neural sinkhorn topic model based on different word embedding. Data Science and Informetrics, 4(1), 12–20. https://doi.org/10.1016/j.dsim.2025.01.002

Noh, J., & Kavuluru, R. (2021). Improved biomedical word embeddings in the transformer era. Journal of Biomedical Informatics, 120. https://doi.org/10.1016/j.jbi.2021.103867

Ouni, C., Benmohamed, E., & Ltifi, H. (2024). Deep learning-based Soft word embedding approach for sentiment analysis. Procedia Computer Science, 246(C), 1355–1364. https://doi.org/10.1016/j.procs.2024.09.720

Pramana, R., Jonathan, M., Yani, H. S., & Sutoyo, R. (2024). A Comparison of BiLSTM, BERT, and Ensemble Method for Emotion Recognition on Indonesian Product Reviews. Procedia Computer Science, 245(C), 399–408. https://doi.org/10.1016/j.procs.2024.10.266

Shaday, E. N., Engel, V. J. L., & Heryanto, H. (2024). Application of the Bidirectional Long Short-Term Memory Method with Comparison of Word2Vec, GloVe, and FastText for Emotion Classification in Song Lyrics. Procedia Computer Science, 245(C), 137–146. https://doi.org/10.1016/j.procs.2024.10.237

Srivastava, S., Paul, B., & Gupta, D. (2022). Study of Word Embeddings for Enhanced Cyber Security Named Entity Recognition. Procedia Computer Science, 218, 449–460. https://doi.org/10.1016/j.procs.2023.01.027

Taneja, K., Vashishtha, J., & Ratnoo, S. (2024). Transformer Based Unsupervised Learning Approach for Imbalanced Text Sentiment Analysis of E-Commerce Reviews. Procedia Computer Science, 235, 2318–2331. https://doi.org/10.1016/j.procs.2024.04.220

Wagay, F. A., & Jahiruddin. (2025). Classification of Mental Illnesses from Reddit Posts Using Sentence-BERT Embeddings and Neural Networks. Procedia Computer Science, 258, 1669–1676. https://doi.org/10.1016/j.procs.2025.04.398

Downloads

Published

2025-07-10

How to Cite

Kadarsih, K., & Pujianto, D. (2025). APPLICATION OF TRANSFORMER MODEL AND WORD EMBEDDING IN SENTIMENT ANALISYS OF INDONESIAN E-COMMERCE APPLICATION REVIEW. Journal of Computer Networks, Architecture and High Performance Computing, 7(3), 720–732. https://doi.org/10.47709/cnahpc.v7i3.6354

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.