Aspect-Based Sentiment Analysis on Twitter Using Bidirectional Long Short-Term Memory

Authors

  • Rizki Annas Sholehat Telkom University, Bandung
  • Erwin Budi Setiawan Telkom University, Bandung
  • Yuliant Sibaroni Telkom University, Bandung

DOI:

https://doi.org/10.30865/mib.v7i2.5636

Keywords:

Deep Learning, Bidirectional Long Short-Term Memory, GloVe, Sentiment Analysis, Aspect

Abstract

Twitter as one of the social media with the most users in the world, is often used as a medium for sharing opinions that can be positive or negative. Movie reviews containing many complex explanations and judgments will be challenging to classify. Therefore a sentiment analysis process based on aspects is needed to analyze the polarity of film review opinions based on predetermined aspects. This research aims to analyze the polarity of film review opinions based on aspects using the Bidirectional Long Short-Term Memory method and GloVe feature extraction. This study uses plot, acting, and director aspects with a total dataset of 17.247 data. Bidirectional Long Short-Term Memory is proven to produce relevant and accurate results for sentiment analysis with the greatest accuracy of 56,29% in the plot aspect, 87,07% in the acting aspect, and 85,55% in the director aspect. GloVe feature extraction is proven to increase the performance value of this research by up to 13,57% in the plot aspect, 4,16% in the acting aspect, and 10,48% in the director aspect.

References

H. Tankovska, “Twitter: most users by country | Statista,†Jan. 2022. https://www.statista.com/statistics/242606/number-of-active-twitter-users-in-selected-countries/ (accessed May 14, 2022).

H. H. Do, P. Prasad, A. Maag, and A. Alsadoon, “Deep Learning for Aspect-Based Sentiment Analysis: A Comparative Review,†Expert Syst Appl, vol. 118, pp. 272–299, Mar. 2019, doi: 10.1016/j.eswa.2018.10.003.

S. M. Jiménez-Zafra, M. T. Martín-Valdivia, E. Martínez-Cámara, and L. A. Ureña-López, “Combining resources to improve unsupervised sentiment analysis at aspect-level,†J Inf Sci, vol. 42, no. 2, pp. 213–229, Apr. 2016, doi: 10.1177/0165551515593686.

L. Zhang, S. Wang, and B. Liu, “Deep learning for sentiment analysis: A survey,†WIREs Data Mining and Knowledge Discovery, vol. 8, no. 4, Jul. 2018, doi: 10.1002/widm.1253.

L.-C. Cheng and S.-L. Tsai, “Deep learning for automated sentiment analysis of social media,†in Proceedings of the 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, Aug. 2019, pp. 1001–1004. doi: 10.1145/3341161.3344821.

G. Xu, Y. Meng, X. Qiu, Z. Yu, and X. Wu, “Sentiment Analysis of Comment Texts Based on BiLSTM,†IEEE Access, vol. 7, pp. 51522–51532, 2019, doi: 10.1109/ACCESS.2019.2909919.

M. K. Hernandi, S. A. Wibowo, and S. Suyanto, “Sentiment Analysis Implementation For Detecting Negative Sentiment Towards Indihome In Twitter Using Bidirectional Long Short Term Memory,†in 2021 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), Jul. 2021, pp. 143–147. doi: 10.1109/IAICT52856.2021.9532546.

H. Elfaik and E. H. Nfaoui, “Deep Bidirectional LSTM Network Learning-Based Sentiment Analysis for Arabic Text,†Journal of Intelligent Systems, vol. 30, no. 1, pp. 395–412, Dec. 2020, doi: 10.1515/jisys-2020-0021.

V. Parkhe and B. Biswas, “Aspect Based Sentiment Analysis of Movie Reviews: Finding the Polarity Directing Aspects,†in 2014 International Conference on Soft Computing and Machine Intelligence, Sep. 2014, pp. 28–32. doi: 10.1109/ISCMI.2014.16.

J. Eka Sembodo, E. Budi Setiawan, and Z. Abdurahman Baizal, “Data Crawling Otomatis pada Twitter,†in INDOSC 2016, Sep. 2016, pp. 11–16. doi: 10.21108/INDOSC.2016.111.

P. Badjatiya, S. Gupta, M. Gupta, and V. Varma, “Deep Learning for Hate Speech Detection in Tweets,†in Proceedings of the 26th International Conference on World Wide Web Companion - WWW ’17 Companion, 2017, pp. 759–760. doi: 10.1145/3041021.3054223.

K. Kumar, B. S. Harish, and H. K. Darshan, “Sentiment Analysis on IMDb Movie Reviews Using Hybrid Feature Extraction Method,†International Journal of Interactive Multimedia and Artificial Intelligence, vol. 5, no. 5, p. 109, 2019, doi: 10.9781/ijimai.2018.12.005.

Febiana Anistya and Erwin Budi Setiawan, “Hate Speech Detection on Twitter in Indonesia with Feature Expansion Using GloVe,†Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 5, no. 6, pp. 1044–1051, Dec. 2021, doi: 10.29207/resti.v5i6.3521.

S. P., O. v. Ramana Murthy, and S. Veni, “Sentiment analysis by deep learning approaches,†TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 18, no. 2, p. 752, Apr. 2020, doi: 10.12928/telkomnika.v18i2.13912.

E. B. Setiawan, D. H. Widyantoro, and K. Surendro, “Feature expansion using word embedding for tweet topic classification,†in 2016 10th International Conference on Telecommunication Systems Services and Applications (TSSA), Oct. 2016, pp. 1–5. doi: 10.1109/TSSA.2016.7871085.

G. Liu and J. Guo, “Bidirectional LSTM with attention mechanism and convolutional layer for text classification,†Neurocomputing, vol. 337, pp. 325–338, Apr. 2019, doi: 10.1016/j.neucom.2019.01.078.

M. Ilse, J. M. Tomczak, and M. Welling, “Attention-based Deep Multiple Instance Learning,†Feb. 2018.

Z. Cui, R. Ke, Z. Pu, and Y. Wang, “Deep Bidirectional and Unidirectional LSTM Recurrent Neural Network for Network-wide Traffic Speed Prediction,†Jan. 2018.

A. Suresh, “What is a confusion matrix?,†Nov. 17, 2020. https://medium.com/analytics-vidhya/what-is-a-confusion-matrix-d1c0f8feda5#:~:text=A%20Confusion%20matrix%20is%20an,by%20the%20machine%20learning%20model. (accessed May 24, 2022).

L. Demidova and I. Klyueva, “SVM classification: Optimization with the SMOTE algorithm for the class imbalance problem,†in 2017 6th Mediterranean Conference on Embedded Computing (MECO), Jun. 2017, pp. 1–4. doi: 10.1109/MECO.2017.7977136.

Downloads

Published

2023-04-27

Issue

Section

Articles