Hybrid IndoBERT–GloVe untuk Analisis Sentimen Aspirasi Publik pada Isu Tuntutan Rakyat 17+8 di Media Sosial X
DOI:
https://doi.org/10.33795/jip.v13i1.11383Keywords:
Analisis Sentimen, Hybrid IndoBERT+GloVe, Media Sosial X, Tuntutan Rakyat 17+8Abstract
Media sosial X menjadi salah satu sarana masyarakat dalam menyampaikan opini terhadap berbagai isu publik, termasuk isu Tuntutan Rakyat 17+8. Besarnya volume data serta karakteristik teks media sosial yang tidak terstruktur, penggunaan bahasa tidak baku, dan variasi kosakata menyebabkan analisis sentimen secara manual menjadi kurang efektif. Penelitian ini mengusulkan model Hybrid IndoBERT–GloVe untuk meningkatkan performa analisis sentimen dengan mengintegrasikan representasi kontekstual dan representasi semantik pada data berbahasa Indonesia. Dataset diperoleh melalui proses crawling data dari media sosial X dan dipilih sebanyak 1.557 data yang terdiri atas 519 sentimen positif, 519 netral, dan 519 negatif. Tahapan penelitian meliputi preprocessing teks, pembentukan representasi kontekstual menggunakan IndoBERT, ekstraksi fitur semantik menggunakan GloVe, serta penggabungan kedua representasi melalui teknik feature fusion (concatenation). Model usulan kemudian dibandingkan dengan model IndoBERT sebagai baseline menggunakan metode Stratified 5-Fold Cross Validation dan dievaluasi berdasarkan metrik Accuracy, Precision, Recall, dan F1-Score. Hasil pengujian menunjukkan bahwa model IndoBERT memperoleh Accuracy 75,00%, Precision 77,46%, Recall 75,00%, dan F1-Score 74,46%. Sementara itu, model Hybrid IndoBERT+GloVe memperoleh Accuracy 80,13%, Precision 81,32%, Recall 80,13%, dan F1-Score 80,25%. Hasil tersebut menunjukkan bahwa integrasi representasi kontekstual IndoBERT dan representasi semantik GloVe mampu menghasilkan representasi fitur yang lebih komprehensif sehingga meningkatkan performa klasifikasi sentimen pada data media sosial berbahasa Indonesia.
Downloads
References
Andhika, F. R., Witanti, W., & Sabrina, P. N. (2025): Analisis Sentimen Menggunakan Metode IndoBERT Pada Ulasan Aplikasi Zoom Menggunakan Fitur Ekstraksi GloVe, Media Teknologi Informasi Dan Komputer Jurnal (METIK), 9(2).
Dang, C. N., Moreno-García, M. N., & De la Prieta, F. (2021): Hybrid Deep Learning Models for Sentiment Analysis, Complexity, 2021(1). https://doi.org/10.1155/2021/9986920
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019): BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 4171–4186. https://doi.org/10.18653/v1/N19-1423
Grandini, M., Bagli, E., & Visani, G. (2020): Metrics for Multi-Class Classification: an Overview, arXiv. https://doi.org/10.48550/arXiv.2008.05756
Hand, D. J., Christen, P., & Kirielle, N. (2021): F*: an interpretable transformation of the F-measure, Machine Learning, 110(3), 451–456. https://doi.org/10.1007/s10994-021-05964-1
Hasanah, U., Soleh, A. M., & Sadik, K. (2024): Effect of Random Under sampling, Oversampling, and SMOTE on the Performance of Cardiovascular Disease Prediction Models, Jurnal Matematika, Statistika Dan Komputasi, 21(1), 88–102. https://doi.org/10.20956/j.v21i1.35552
Incitti, F., Urli, F., & Snidaro, L. (2023): Beyond word embeddings: A survey, Information Fusion, 89, 418–436. https://doi.org/10.1016/j.inffus.2022.08.024
Khan, J., Ahmad, K., Jagatheesaperumal, S. K., & Sohn, K.-A. (2025): Textual variations in social media text processing applications: challenges, solutions, and trends, Artificial Intelligence Review, 58(3), 89. https://doi.org/10.1007/s10462-024-11071-z
Koto, F., Lau, J. H., & Baldwin, T. (2021): IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initialization, Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, 10660–10668. https://doi.org/10.18653/v1/2021.emnlp-main.833
Liu, C., Zhu, W., Zhang, X., & Zhai, Q. (2023): Sentence part-enhanced BERT with respect to downstream tasks, Complex & Intelligent Systems, 9(1), 463–474. https://doi.org/10.1007/s40747-022-00819-1
Mars, M. (2022): From Word Embeddings to Pre-Trained Language Models: A State-of-the-Art Walkthrough, Applied Sciences, 12(17), 8805. https://doi.org/10.3390/app12178805
Nandanwar, A. K., & Choudhary, J. (2023): Contextual Embeddings-Based Web Page Categorization Using the Fine-Tune BERT Model, Symmetry, 15(2), 395. https://doi.org/10.3390/sym15020395
Otter, D. W., Medina, J. R., & Kalita, J. K. (2021): A Survey of the Usages of Deep Learning for Natural Language Processing, IEEE Transactions on Neural Networks and Learning Systems, 32(2), 604–624. https://doi.org/10.1109/TNNLS.2020.2979670
Prusty, S., Patnaik, S., & Dash, S. K. (2022): SKCV: Stratified K-fold cross-validation on ML classifiers for predicting cervical cancer, Frontiers in Nanotechnology, 4. https://doi.org/10.3389/fnano.2022.972421
Raschka, S. (2020): Model Evaluation, Model Selection, and Algorithm Selection in Machine Learning, arXiv. https://doi.org/10.48550/arXiv.1811.12808
Suhendra, & Pratiwi, F. S. (2024): Peran Komunikasi Digital dalam Pembentukan Opini Publik: Studi Kasus Media Sosial, Iapa Proceedings Conference, 293. https://doi.org/10.30589/proceedings.2024.1059
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017): Attention is All You Need, Advances in Neural Information Processing Systems, 30, 5998–6008.
Vista, C. B., Sihono, O. M., & Firdausi, A. T. (2023): Analisis Sentimen Kebijakan Pembelajaran Tatap Muka Selama Pandemi Covid-19 menggunakan Metode Support Vector Machine, JIP (Jurnal Informatika Polinema), 9(3).
Wang, Y., & Zhang, Y. (2022): Lost in Context? On the Sense-wise Variance of Contextualized Word Embeddings, arXiv. https://doi.org/10.48550/arXiv.2208.09669
Wilie, B., Vincentio, K., Winata, G. I., Cahyawijaya, S., Li, X., Lim, Z. Y., Soleman, S., Mahendra, R., Fung, P., Bahar, S., & Purwarianti, A. (2020): IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding, 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, 843–857. https://doi.org/10.18653/v1/2020.aacl-main.85







