Perbandingan Long Short-Term Memory dan Bidirectional Long Short-Term Memory pada Analisis Sentimen Ulasan Wisata


  • Adam Malik * Mail Universitas Muhadi Setiabudi, Brebes, Indonesia
  • Nur Ariesanto Ramdhan Universitas Muhadi Setiabudi, Brebes, Indonesia
  • Otong Saeful Bachri Universitas Muhadi Setiabudi, Brebes, Indonesia
  • (*) Corresponding Author
Keywords: Long Short-Term Memory; Bidirectional Long Short-Term Memory; Sentiment Analysis; Tourism Reviews; Class Weighting

Abstract

Tourism reviews on Google Maps can be used to understand visitors’ perceptions of destination quality, including aspects that often become sources of satisfaction or complaints. This study analyzes reviews of Pantai Alam Indah because the destination has a large number of reviews, diverse text forms, and an imbalanced sentiment distribution. The purpose of this study is to compare the performance of Long Short-Term Memory and Bidirectional Long Short-Term Memory in tourism review sentiment analysis. The data were collected through Google Maps scraping and processed through case folding, cleaning, tokenizing, stopword removal, and stemming. The final dataset consisted of 2,702 reviews, including 2,024 positive reviews and 678 negative reviews. To reduce the effect of class imbalance, the training process applied class weighting by assigning a higher weight to the negative class. Both models used a 128-dimensional embedding layer, a 64-neuron dense layer, a sigmoid activation function in the output layer, Adam optimizer, batch size of 32, 10 epochs, and a validation split of 0.2. In addition to sentiment classification, the reviews were grouped into cleanliness, facilities, price, and general aspects using a keyword-based rule-based approach. The evaluation results show that Bidirectional Long Short-Term Memory achieved an accuracy of 75.79%, precision of 76.33%, recall of 75.79%, and F1-score of 76.04%, while Long Short-Term Memory achieved an accuracy of 75.05%, precision of 75.48%, recall of 75.05%, and F1-score of 75.25%. The performance difference between the two models was relatively small, so the results should be interpreted carefully. The aspect analysis shows that the general aspect dominated positive sentiment, while cleanliness had the highest number of negative sentiments.

Downloads

Download data is not yet available.

References

Af’idah, D. I., Anggraeni, P. D., Rizki, M., Setiawan, A. B., & Handayani, S. F. (2023). Aspect-Based Sentiment Analysis for Indonesian Tourist Attraction Reviews Using Bidirectional Long Short-Term Memory. JUITA: Jurnal Informatika, 11(1), 27–36. https://doi.org/10.30595/juita.v11i1.15341

Asnawiyah, & Putra, R. E. (2024). Perbandingan Algoritma LSTM dan BiLSTM untuk Analisis Sentimen Multi-Class Media Sosial Twitter. Journal of Informatics and Computer Science (JINACS), 6(3), 778–786. https://doi.org/10.26740/jinacs.v6n03.p778-786

Aufar, A. F., Rosid, M. A., Eviyanti, A., & Astutik, I. R. I. (2023). Optimizing Text Preprocessing for Accurate Sentiment Analysis on E-Wallet Reviews. JICTE (Journal of Information and Computer Technology Education), 7(2), 42–50. https://doi.org/10.21070/jicte.v7i2.1650

Bahri, C. A., & Suadaa, L. H. (2023). Aspect-Based Sentiment Analysis in Bromo Tengger Semeru National Park Indonesia Based on Google Maps User Reviews. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 17(1), 79–90. https://doi.org/10.22146/ijccs.77354

Cahyaningtyas, S., Fudholi, D. H., & Hidayatullah, A. F. (2021). Deep Learning for Aspect-Based Sentiment Analysis on Indonesian Hotels Reviews. Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, 6(3), 239–248. https://doi.org/10.22219/kinetik.v6i3.1300

Cherradi, M., & El Haddadi, A. (2024). Comparative Analysis of Machine Learning Algorithms for Sentiment Analysis in Film Reviews. Acadlore Transactions on AI and Machine Learning, 3(3), 137–147. https://doi.org/10.56578/ataiml030301

Febrianto, D. C., Fitriani, M. A., Afrad, M., & Khadija, M. A. (2024). Aspect Based Sentiment Analysis Menggunakan IndoBERT Model terhadap Review Pengunjung Objek Wisata Baturraden. Melek IT: Information Technology Journal, 10(2), 157–166. https://doi.org/10.30742/melekitjournal.v10i2.358

Gunawan, A. R., & Aziza, R. F. A. (2025). Sentiment Analysis Using LSTM Algorithm Regarding Grab Application Services in Indonesia. Journal of Applied Informatics and Computing, 9(2). https://doi.org/10.30871/jaic.v9i2.8696

Ipmawati, J., Saifulloh, & Kusnawi. (2024). Sentiment Analysis of Tourist Attractions Based on Reviews on Google Maps Using the Support Vector Machine Algorithm. Analisis Sentimen Tempat Wisata Berdasarkan Ulasan Pada Google Maps Menggunakan Algoritma Support Vector Machine, 4(1), 247–256. https://doi.org/10.57152/malcom.v4i1.1066

Jayanto, R., Kusumaningrum, R., & Wibowo, A. (2022). Aspect-Based Sentiment Analysis for Hotel Reviews Using an Improved Model of Long Short-Term Memory. International Journal of Advances in Intelligent Informatics, 8(3), 391–403. https://doi.org/10.26555/ijain.v8i3.691

Kusuma, T. B., Widiartha, I. M., Suhartana, I. K. G., & Putra, I. G. N. A. C. (2026). Implementasi Attention-Based BiLSTM dengan LoRA Parameter Tuning untuk Analisis Sentimen Ulasan Destinasi Wisata. Techno.Com, 25(1), 13–29. https://doi.org/10.62411/tc.v25i1.15089

Malik, A., & Irawan, B. (2026). Penerapan Algoritma Bi-LSTM dengan Optimasi Threshold Adjustment untuk Analisis Sentimen Ulasan Aplikasi Mobile JKN. JITET (Jurnal Informatika Dan Teknik Elektro Terapan), 14(1), 945–953. https://doi.org/10.23960/jitet.v14i1.8879

Maulana, R., Voutama, A., & Ridwan, T. (2023). Analisis Sentimen Ulasan Aplikasi MyPertamina pada Google Play Store menggunakan Algoritma NBC. Jurnal Teknologi Terpadu, 9(1), 42–48. https://doi.org/10.54914/jtt.v9i1.609

Maulida, A., Irawan, B., & Ramdhan, N. A. (2026). Analisis Sentimen Ulasan Wisata Alun-Alun Brebes pada Google Maps Menggunakan Support Vector Machine. TIN: Terapan Informatika Nusantara, 6(8), 1398–1406. https://doi.org/10.47065/tin.v6i8.8883

Nasution, K., Saddami, K., Roslidar, R., Akhyar, A., Fathurrahman, F., & Aulia, N. (2025). Comparative Study of BiLSTM and GRU for Sentiment Analysis on Indonesian E-Commerce Product Reviews Using Deep Sequential Modeling. Jurnal Teknik Informatika (JUTIF), 6(4), 1881–1896. https://doi.org/10.52436/1.jutif.2025.6.4.4878

Oktapiani, S., Gunawansyah, & Aulia, B. E. (2025). Perbandingan Algoritma LSTM dan BiLSTM dalam Analisis Sentimen Data Ulasan Hotel. Prosiding Seminar Sosial Politik, Bisnis, Akuntansi Dan Teknik (SoBAT) Ke-7, 500–509. https://doi.org/10.32897/sobat.2025.7.1.5285

Oktaviana, N., Rustamaji, H. C., & Sofyan, H. (2021). Sentiment Analysis on Reviews of Beach Tourism Objects on Google Maps Using Long-Short Term Memory Method. Seminar Nasional Informatika (SEMNASIF), 133–143. https://garuda.kemdiktisaintek.go.id/documents/detail/2708540

Ramadhan, T., & Kusnawi, K. (2026). Performance Comparison of IndoBERT and Bi-LSTM Models for Sentiment Analysis of Shopee App Users in Indonesia. Journal of Applied Informatics and Computing, 10(2), 2076–2085. https://doi.org/10.30871/jaic.v10i2.10996

Sudiatmika, I. P. G. A., Saputra, P. S., Rahardian, R. L., & Dewi, K. H. S. (2025). Sentiment Analysis of Tourist Reviews on Google Maps for Pura Besakih Using Machine Learning Algorithms. Jurnal Mandiri IT, 14(1), 149–158. https://doi.org/10.35335/mandiri.v14i1.449

Suhaeni, C., Kamila, S. A., Fahira, F., & Yusran, M. (2024). Sentiment Classification on the 2024 Indonesian Presidential Candidate Dataset Using Deep Learning Approaches. Indonesian Journal of Statistics and Its Applications, 8(4), 567–580. https://doi.org/10.29244/ijsa.v8i4.1259

Tamami, G., Triyanto, W. A., & Muzid, S. (2025). Sentiment Analysis Mobile JKN Reviews Using SMOTE Based LSTM. Indonesian Journal of Computing and Cybernetics Systems, 19(1), 13–24. https://doi.org/10.22146/ijccs.101910


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Perbandingan Long Short-Term Memory dan Bidirectional Long Short-Term Memory pada Analisis Sentimen Ulasan Wisata

Dimensions Badge
Article History
Published: 2026-06-28
Abstract View: 0 times
Section
Articles