Empirical Evaluation of IndoBERT and LSTM for Sentiment Analysis of Tourism Reviews: A Data-Driven Study on Kenjeran Park
DOI:
https://doi.org/10.52436/1.jutif.2026.7.1.4901Keywords:
Deep Learning, IndoBERT, LSTM, Sentiment Analysis, Urban Coastal Park, TourismAbstract
Tourism plays a pivotal role in Indonesia’s economic and cultural landscape, contributing significantly to job creation, regional development, and international recognition. This study evaluates the performance of IndoBERT, a state-of-the-art Indonesian language model, and Long Short-Term Memory (LSTM) networks for sentiment classification of 2,560 Google reviews of Kenjeran Park in Surabaya, consisting of 54% positive, 28% neutral, and 18% negative sentiments. Preprocessing steps included slang replacement, stemming, stopword removal, and tokenization, with class imbalance addressed through weighted loss adjustments. IndoBERT was fine-tuned using contextual embeddings with a learning rate of 0.00005, while the LSTM model employed a 128-unit architecture trained over 150 epochs with the Adam optimizer. Experimental results show that IndoBERT achieved 87.50% accuracy, 0.7697 precision, 0.7643 recall, and 0.7643 F1-score, outperforming LSTM’s 77.93% accuracy, 0.6826 precision, 0.6812 recall, and 0.6826 F1-score. This research establishes a comparative benchmark of transformer-based and RNN-based architectures for Indonesian tourism review sentiment analysis, introduces a domain-specific preprocessing pipeline with imbalance handling, and provides actionable insights for digital tourism analytics. Beyond its technical contributions, the study highlights the urgency of advancing robust natural language processing approaches for low-resource languages, thereby strengthening the field of informatics and supporting data-driven decision-making in the tourism sector.
Downloads
References
D. Arianto, “Aspect-based Sentiment Analysis on Indonesia’s Tourism Destinations Based on Google Maps User Code-Mixed Reviews (Study Case: Borobudur and Prambanan Temples)”.
C. A. Bahri and L. H. Suadaa, “Aspect-Based Sentiment Analysis in Bromo Tengger Semeru National Park Indonesia Based on Google Maps User Reviews,” Indonesian J. Comput. Cybern. Syst., vol. 17, no. 1, p. 79, Feb. 2023, doi: 10.22146/ijccs.77354.
W. Budiharto and M. Meiliana, “Prediction and analysis of Indonesia Presidential election from Twitter using sentiment analysis,” J Big Data, vol. 5, no. 1, p. 51, Dec. 2018, doi: 10.1186/s40537-018-0164-1.
Department of Informatics,Widyatama University Bandung, Indonesia, M. Nur Habibi, and Sunjana, “Analysis of Indonesia Politics Polarization before 2019 President Election Using Sentiment Analysis and Social Network Analysis,” IJMECS, vol. 11, no. 11, pp. 22–30, Nov. 2019, doi: 10.5815/ijmecs.2019.11.04.
D. G. Mandhasiya, H. Murfi, A. Bustamam, and P. Anki, “Evaluation of Machine Learning Performance Based on BERT Data Representation with LSTM Model to Conduct Sentiment Analysis in Indonesian for Predicting Voices of Social Media Users in the 2024 Indonesia Presidential Election,” in 2022 5th International Conference on Information and Communications Technology (ICOIACT), Yogyakarta, Indonesia: IEEE, Aug. 2022, pp. 441–446. doi: 10.1109/ICOIACT55506.2022.9972206.
D. Sebastian, H. D. Purnomo, and I. Sembiring, “BERT for Natural Language Processing in Bahasa Indonesia,” in 2022 2nd International Conference on Intelligent Cybernetics Technology & Applications (ICICyTA), Bandung, Indonesia: IEEE, Dec. 2022, pp. 204–209. doi: 10.1109/ICICyTA57421.2022.10038230.
F. Koto, A. Rahimi, J. H. Lau, and T. Baldwin, “IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP,” 2020, arXiv. doi: 10.48550/ARXIV.2011.00677.
L. Geni, E. Yulianti, and D. I. Sensuse, “Sentiment Analysis of Tweets Before the 2024 Elections in Indonesia Using Bert Language Models,” J. Ilm. Tek. Elektro Komput. Dan Inform, vol. 9, no. 3, pp. 746–757, Aug. 2023, doi: 10.26555/jiteki.v9i3.26490.
D. C. Febrianto, M. A. Fitriani, M. Afrad, and M. A. Khadija, “Aspect Based Sentiment Analysis Menggunakan Indobert Model Terhadap Review Pengunjung Objek Wisata Baturraden,” MelekIT, vol. 10, no. 2, pp. 157–166, Dec. 2024, doi: 10.30742/melekitjournal.v10i2.358.
T. I. Z. M. Putra, S. Suprapto, and A. F. Bukhori, “Model Klasifikasi Berbasis Multiclass Classification dengan Kombinasi Indobert Embedding dan Long Short-Term Memory untuk Tweet Berbahasa Indonesia,” JISTED, vol. 1, no. 1, pp. 1–28, Nov. 2022, doi: 10.35912/jisted.v1i1.1509.
R. Merdiansah, S. Siska, and A. Ali Ridha, “Analisis Sentimen Pengguna X Indonesia Terkait Kendaraan Listrik Menggunakan IndoBERT,” JIKOMSI, vol. 7, no. 1, pp. 221–228, Mar. 2024, doi: 10.55338/jikomsi.v7i1.2895.
T. Mou and H. Wang, “Online comments of tourist attractions combining artificial intelligence text mining model and attention mechanism,” Sci Rep, vol. 15, no. 1, p. 1121, Jan. 2025, doi: 10.1038/s41598-025-85139-3.
M. Khadapi and V. M. Pakpahan, “Analisis Sentimen Berbasis Jaringan LSTM dan BERT terhadap Diskusi Twitter tentang Pemilu 2024,” vol. 6, 2024.
A. Rolangon, A. Weku, and G. A. Sandag, “Perbandingan Algoritma LSTM Untuk Analisis Sentimen Pengguna Twitter Terhadap Layanan Rumah Sakit Saat Pandemi Covid-19,” TeIKa, vol. 13, no. 01, pp. 31–40, May 2023, doi: 10.36342/teika.v13i01.3063.
H. Imaduddin, F. Y. A’la, and Y. S. Nugroho, “Sentiment Analysis in Indonesian Healthcare Applications using IndoBERT Approach,” IJACSA, vol. 14, no. 8, 2023, doi: 10.14569/IJACSA.2023.0140813.
V.-H. Nguyen, N. Nguyen, T.-H. Nguyen, Y.-N. Nguyen, M.-T. Dinh, and D. Doan, “Customer emotion detection and analytics in hotel and tourism services using multi-label classificational models based on ensemble learning,” Ann Oper Res, Jan. 2025, doi: 10.1007/s10479-024-06434-2.
A. Noorian, A. Harounabadi, and M. Hazratifard, “A sequential neural recommendation system exploiting BERT and LSTM on social media posts,” Complex Intell. Syst., vol. 10, no. 1, pp. 721–744, Feb. 2024, doi: 10.1007/s40747-023-01191-4.
H. Laaroussi, F. Guerouate, and M. Sbihi, “Incorporating Deep Learning and Sentiment Analysis on Twitter Data to Improve Tourism Demand Forecasting,” in Digital Technologies and Applications, vol. 669, S. Motahhir and B. Bossoufi, Eds., in Lecture Notes in Networks and Systems, vol. 669. , Cham: Springer Nature Switzerland, 2023, pp. 150–158. doi: 10.1007/978-3-031-29860-8_16.
S. Srianan, A. Nanthaamornphong, and C. Phucharoen, “Advancing tourism sentiment analysis: a comparative evaluation of traditional machine learning, deep learning, and transformer models on imbalanced datasets,” Inf Technol Tourism, Aug. 2025, doi: 10.1007/s40558-025-00336-0.
H. M. U. Ali, Q. Farooq, A. Imran, and K. El Hindi, “A systematic literature review on sentiment analysis techniques, challenges, and future trends,” Knowl Inf Syst, vol. 67, no. 5, pp. 3967–4034, May 2025, doi: 10.1007/s10115-025-02365-x.
V. Calderón-Fajardo, I. Rodríguez-Rodríguez, and M. Puig-Cabrera, “From words to visuals: a transformer-based multi-modal framework for emotion-driven tourism analytics,” Inf Technol Tourism, July 2025, doi: 10.1007/s40558-025-00334-2.
Anugerah Simanjuntak et al., “Research and Analysis of IndoBERT Hyperparameter Tuning in Fake News Detection,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 13, no. 1, pp. 60–67, Feb. 2024, doi: 10.22146/jnteti.v13i1.8532.
B. Wilie et al., “IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding,” in Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, Suzhou, China: Association for Computational Linguistics, 2020, pp. 843–857. doi: 10.18653/v1/2020.aacl-main.85.
A. Zevana and D. Riana, “TEXT CLASSIFICATION USING INDOBERT FINE-TUNING MODELING WITH CONVOLUTIONAL NEURAL NETWORK AND BI-LSTM,” J. Tek. Inform. (JUTIF), vol. 4, no. 6, pp. 1605–1610, Jan. 2024, doi: 10.52436/1.jutif.2023.4.6.1650.
S. Alaparthi and M. Mishra, “Bidirectional Encoder Representations from Transformers (BERT): A sentiment analysis odyssey,” 2020, arXiv. doi: 10.48550/ARXIV.2007.01127.
P. F. Supriyadi and Y. Sibaroni, “Xiaomi Smartphone Sentiment Analysis on Twitter Social Media Using IndoBERT,” vol. 10, no. 1, 2023, doi: doi.org/10.30865/jurikom.v10i1.5540.
A. Kumar and R. Rastogi, “Attentional Recurrent Neural Networks for Sentence Classification,” in Innovations in Infrastructure, vol. 757, D. Deb, V. E. Balas, and R. Dey, Eds., in Advances in Intelligent Systems and Computing, vol. 757. , Singapore: Springer Singapore, 2019, pp. 549–559. doi: 10.1007/978-981-13-1966-2_49.
D. D. Purwanto, “Comparison of Premium Rice Price Prediction in East Java with ARIMA and LSTM (Case Study: National Food Agency Data),” 2024.
Winda Kurnia Sari, D. P. Rini, Reza Firsandaya Malik, and Iman Saladin B. Azhar, “Multilabel Text Classification in News Articles Using Long-Term Memory with Word2Vec,” RESTI, vol. 4, no. 2, pp. 276–285, Apr. 2020, doi: 10.29207/resti.v4i2.1655.
Muhammad Ikram Kaer Sinapoy, Yuliant Sibaroni, and Sri Suryani Prasetyowati, “Comparison of LSTM and IndoBERT Method in Identifying Hoax on Twitter,” J. RESTI (Rekayasa Sist. Teknol. Inf.), vol. 7, no. 3, pp. 657–662, June 2023, doi: 10.29207/resti.v7i3.4830.
K. S. Witanto, N. A. Sanjaya Er, A. E. Karyawati, I. G. A. G. A. Kadyanan, I. K. G. Suhartana, and L. G. Astuti, “Implementasi LSTM Pada Analisis Sentimen Review Film Menggunakan Adam Dan RMSprop Optimizer,” JLK, vol. 10, no. 4, p. 351, June 2022, doi: 10.24843/JLK.2022.v10.i04.p05.
T. B. Rohman, D. D. Purwanto, and J. Santoso, “Sentiment Analysis Terhadap Review Rumah Makan di Surabaya Memanfaatkan Algoritma Random Forest”.
S. Rabbani, D. Safitri, N. Rahmadhani, A. A. F. Sani, and M. K. Anam, “Perbandingan Evaluasi Kernel SVM untuk Klasifikasi Sentimen dalam Analisis Kenaikan Harga BBM: Comparative Evaluation of SVM Kernels for Sentiment Classification in Fuel Price Increase Analysis,” MALCOM, vol. 3, no. 2, pp. 153–160, Oct. 2023, doi: 10.57152/malcom.v3i2.897.
K. S. Nugroho, A. Y. Sukmadewa, H. Wuswilahaken Dw, F. A. Bachtiar, and N. Yudistira, “BERT Fine-Tuning for Sentiment Analysis on Indonesian Mobile Apps Reviews,” in 6th International Conference on Sustainable Information Engineering and Technology 2021, Malang Indonesia: ACM, Sept. 2021, pp. 258–264. doi: 10.1145/3479645.3479679.
N. Arlim et al., “Dictionary-based extraction of hyperbole and swear words for sarcasm detection in Indonesian Tweets,” Int. j. inf. tecnol., vol. 17, no. 5, pp. 2671–2678, June 2025, doi: 10.1007/s41870-024-02361-4.
A. Kumar, S. R. Sangwan, A. K. Singh, and G. Wadhwa, “Hybrid Deep Learning Model for Sarcasm Detection in Indian Indigenous Language Using Word-Emoji Embeddings,” ACM Trans. Asian Low-Resour. Lang. Inf. Process., vol. 22, no. 5, pp. 1–20, May 2023, doi: 10.1145/3519299.
N. P. I. Maharani, Y. Yustiawan, F. C. Rochim, and A. Purwarianti, “Domain-Specific Language Model Post-Training for Indonesian Financial NLP,” 2023, arXiv. doi: 10.48550/ARXIV.2310.09736.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Devi Dwi Purwanto

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





