Multi Aspect Sentiment Analysis in Hotel Review Using Deep Learning

  • windi astriningsih universitas islam indonesia
  • Dhomas Hatta Fudholi Islamic University of Indonesia
Keywords: Sentiment Analsysis, Hotel Review, Multi Aspect, LSTM


Hotel reviews not only provide useful information for business owners but also shape the image of the hotel in the eyes of customers. Reviews generally cover various aspects expressed honestly by customers. In the era of technological development, the number of hotel reviews online is increasing, making the processing of hotel assessments discussed in reviews a challenge for many parties. To overcome this, a multi-aspect sentiment analysis has been developed to help extract more specific information about hotel evaluations from each review sentence. The aspects evaluated in the reviews include price, location, service, food, facilities, and rooms. In developing the multi-aspect sentiment analysis model, a deep learning method based on LSTM is used. The LSTM model architecture is built using a sequential model with four layers: embedding, SpatialDropout1D, LSTM, and dense. The model is trained with 10 epochs and a batch size of 32. The model is evaluated through three scenarios, including testing sentences with one aspect, testing sentences with a combination of two aspects, and testing sentences with a combination of three aspects. Top-1 and Top-2 accuracy are applied to test sentences with a combination of two and three aspects. Meanwhile, F1_score is used for testing sentences with one aspect and sentiment analysis. The obtained accuracy results are 79% for Top-2 accuracy in sentences with a combination of two and three aspects, 85.7% for F1_score in sentences with one aspect, and 83% for F1_score accuracy in sentiment analysis. These results indicate that the developed model is capable of performing multi-aspect sentiment analysis on hotel reviews.


[1] T. Tran, H. Ba, and V. N. Huynh, “Measuring hotel review sentiment: An aspect-based sentiment analysis approach,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer Verlag, 2019, pp. 393–405. doi: 10.1007/978-3-030-14815-7_33.
[2] B. Liu, “Sentiment analysis: Mining opinions, sentiments, and emotions,” Sentiment Analysis: Mining Opinions, Sentiments, and Emotions, no. May, pp. 1–367, 2015, doi: 10.1017/CBO9781139084789.
[3] S. Cahyaningtyas, D. Hatta Fudholi, and A. Fathan Hidayatullah, “Deep Learning for Aspect-Based Sentiment Analysis on Indonesian Hotels Reviews,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, Aug. 2021, doi: 10.22219/kinetik.v6i3.1300.
[4] M. Bouazizi and T. Ohtsuki, “A Pattern-Based Approach for Multi-Class Sentiment Analysis in Twitter,” IEEE Access, vol. 5, pp. 20617–20639, Aug. 2017, doi: 10.1109/ACCESS.2017.2740982.
[5] X. Ma, J. Zeng, L. Peng, G. Fortino, and Y. Zhang, “Modeling multi-aspects within one opinionated sentence simultaneously for aspect-level sentiment analysis,” Future Generation Computer Systems, vol. 93, pp. 304–311, Apr. 2019, doi: 10.1016/J.FUTURE.2018.10.041.
[6] A. C. Mazari, N. Boudoukhani, and A. Djeffal, “BERT-based ensemble learning for multi-aspect hate speech detection,” Cluster Comput, pp. 1–15, Jan. 2023, doi: 10.1007/S10586-022-03956-X/METRICS.
[7] R. A. A. Malik and Y. Sibaroni, “Multi-aspect Sentiment Analysis of Tiktok Application Usage Using FasText Feature Expansion and CNN Method,” Journal of Computer System and Informatics (JoSYC), vol. 3, no. 4, pp. 277–285, Sep. 2022, doi: 10.47065/josyc.v3i4.2033.
[8] W. Widayat, “Analisis Sentimen Movie Review menggunakan Word2Vec dan metode LSTM Deep Learning,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 5, no. 3, p. 1018, Jul. 2021, doi: 10.30865/mib.v5i3.3111.
[9] R. A. Priyantina and R. Sarno, “Sentiment analysis of hotel reviews using Latent Dirichlet Allocation, semantic similarity and LSTM,” International Journal of Intelligent Engineering and Systems, vol. 12, no. 4, pp. 142–155, 2019, doi: 10.22266/ijies2019.0831.14.
[10] R. Jayanto, R. Kusumaningrum, and A. Wibowo, “Aspect-based sentiment analysis for hotel reviews using an improved model of long short-term memory,” International Journal of Advances in Intelligent Informatics, vol. 8, no. 3, pp. 391–403, Nov. 2022, doi: 10.26555/ijain.v8i3.691.
[11] R. Haque, N. Islam, M. Tasneem, and A. K. Das, “Multi-class sentiment classification on Bengali social media comments using machine learning,” International Journal of Cognitive Computing in Engineering, vol. 4, pp. 21–35, Jun. 2023, doi: 10.1016/j.ijcce.2023.01.001.
[12] K. Simonyan and A. Zisserman, “VERY DEEP CONVOLUTIONAL NETWORKS FOR LARGE-SCALE IMAGE RECOGNITION,” 2015, Accessed: Jun. 04, 2023. [Online]. Available:
[13] A. Abdulraheem, R. Abdullah Arshah, and H. Qin, “Evaluating the Effect of Dataset Size on Predictive Model Using Supervised Learning Technique,” International Journal of Software Engineering & Computer Sciences (IJSECS), vol. 1, pp. 75–84, Feb. 2015, doi: 10.15282/ijsecs.1.2015.6.0006.