Analisis Sentimen Berbasis Aspek pada Opini Publik Pascabencana Hidrometeorologi Menggunakan Model Pre-Trained IndoBERT


Authors

  • Muhammad Yusran Universitas Budi Darma, Medan, Indonesia
  • Saidi Ramadan Siregar Universitas Budi Darma, Medan, Indonesia
  • Arini Vika Sari Universitas Budi Darma, Medan, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i5.1321

Keywords:

Aspect-Based Sentiment Analysis; IndoBERT; Public Opinion; Hydrometeorological Disasters; Aceh

Abstract

Aceh Province is highly vulnerable to disasters, particularly hydrometeorological events like floods and landslides. Aceh Disaster Management Agency (BPBA) data shows 418 disasters occurred in 2023 with total losses reaching Rp430 billion; similarly, in 2024, most incidents were hydrometeorological disasters affecting tens of thousands of families. This high frequency triggered a social media reaction surge, producing data volumes unanalyzable via conventional sentiment methods. This study applies Aspect-Based Sentiment Analysis (ABSA) and the pre-trained IndoBERT model (indobenchmark/indobert-base-p1) to analyze public opinion across five disaster management aspects: logistics and assistance, evacuation and shelters, government coordination, infrastructure and reconstruction, and healthcare. A total of 1,000 opinions were gathered from X (Twitter) and YouTube (November 2025–April 2026), pre-processed via indoNLP, yielding 3,319 labeled opinion-aspect pairs. The model used sentence-pair classification, fine-tuned with CrossEntropy Loss (learning rate 2e-5, batch size 16, 3 epochs), evaluated via accuracy, precision, recall, and F1-score (target >85%). Testing shows IndoBERT achieved 91.26% accuracy and an 86.03% F1-score, exceeding targets. Sentiment distribution reveals healthcare triggered the most positive sentiment (89.82%), reflecting public appreciation for medical teams. Conversely, negative sentiment dominated evacuation and shelters (34.45%), indicating public dissatisfaction with evacuation procedures and shelter availability post-disaster in Aceh.

Downloads

Download data is not yet available.

References

B. Ilyas and A. Sharifi, “A systematic review of social media-based sentiment analysis in disaster risk management,” Int. J. Disaster Risk Reduct., vol. 123, p. 105487, Jun. 2025, doi: 10.1016/J.IJDRR.2025.105487.

Rencana Nasional Penanggulangan Bencana 2020-2024, “Rencana Nasional Penanggulangan Bencana 2020-2024,” Jakarta, 2021. Accessed: May 04, 2026. [Online]. Available: https://www.bnpb.go.id/buku/rencana-nasional-penanggulangan-bencana-20202024

E. Cambria, Q. Liu, S. Decherchi, F. Xing, and K. Kwok, “SenticNet 7: A Commonsense-based Neurosymbolic AI Framework for Explainable Sentiment Analysis,” Marseille: European Language Resources Association, 2022, pp. 3829–3839. Accessed: May 04, 2026. [Online]. Available: https://aclanthology.org/2022.lrec-1.408/

D. Khurana, A. Koli, K. Khatter, and S. Singh, “Natural Language Processing: State of The Art, Current Trends and Challenges,” Multimed. Tools Appl., vol. 82, no. 3, pp. 3713–3744, Jan. 2023, doi: 10.1007/s11042-022-13428-4.

G. Brauwers and F. Frasincar, “A Survey on Aspect-Based Sentiment Classification,” ACM Comput. Surv., vol. 55, no. 4, Mar. 2022, doi: 10.1145/3503044.

W. Zhang, X. Li, Y. Deng, L. Bing, and W. Lam, “Towards Generative Aspect-Based Sentiment Analysis,” in ACL-IJCNLP 2021 - 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, Proceedings of the Conference, Association for Computational Linguistics (ACL), 2021, pp. 504–510. doi: 10.18653/v1/2021.acl-short.64.

N. M. Gardazi, A. Daud, M. K. Malik, A. Bukhari, T. Alsahfi, and B. Alshemaimri, “BERT Applications in Natural Language Processing: A Review,” Artif. Intell. Rev., vol. 58, no. 166, pp. 1–49, Mar. 2025, doi: 10.1007/s10462-025-11162-5.

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, AACL-IJCNLP 2020, K. F. Wong, K. Knight, and H. Wu, Eds., Suzhou, China: Association for Computational Linguistics (ACL), 2020, pp. 843–857. doi: 10.18653/v1/2020.aacl-main.85.

M. F. Mubaraq and W. Maharani, “Sentiment Analysis on Twitter Social Media Towards Climate Change on Indonesia Using IndoBERT Model,” J. MEDIA Inform. BUDIDARMA, vol. 6, no. 4, p. 2426, Oct. 2022, doi: 10.30865/mib.v6i4.4570.

J. Devlin, M. W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in NAACL HLT 2019 - 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings of the Conference, J. Burstein, C. Doran, and T. Solorio, Eds., Stroudsburg, PA, USA: Association for Computational Linguistics, 2019, pp. 4171–4186. doi: 10.18653/V1/N19-1423.

N. Istiqomah and F. Novika, “Comparative Performance of IndoBERT and IndoLEM Baseline Models for Post-Disaster Health Information Extraction from Indonesian Online News,” J. Comput. Sci. Informatics Eng., vol. 4, no. 3, pp. 158–174, Jul. 2025, doi: 10.55537/COSIE.V4I3.1174.

E. Yulianti and N. K. Nissa, “ABSA of Indonesian customer reviews using IndoBERT: single-sentence and sentence-pair classification approaches,” Bull. Electr. Eng. Informatics, vol. 13, no. 5, pp. 3579–3589, Oct. 2024, doi: 10.11591/eei.v13i5.8032.

T. Aprilah, D. Rosal, I. M. Setiadi, and W. Herowati, “Enhancing Aspect-Based Sentiment Analysis via Hugging Face Fine-Tuned IndoBERT,” J. Appl. Informatics Comput., vol. 9, no. 6, pp. 3821–3830, Dec. 2025, doi: 10.30871/JAIC.V9I6.11409.

D. Purwitasari, C. B. P. Putra, and A. B. Raharjo, “A Stance Dataset with Aspect-Based Sentiment Information from Indonesian COVID-19 Vaccination-Related Tweets,” Data Br., vol. 47, pp. 1–16, Apr. 2023, doi: 10.1016/j.dib.2023.108951.

V. R. Prasetyo, G. Erlangga, and D. A. Prima, “Analisis Sentimen untuk Identifikasi Bantuan Korban Bencana Alam berdasarkan Data di Twitter Menggunakan Metode K-Means dan Naive Bayes,” J. Teknol. Inf. dan Ilmu Komput., vol. 10, no. 5, pp. 1055–1062, Oct. 2023, doi: 10.25126/jtiik.2023107077.

A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, ?. Kaiser, “Attention Is All You Need,” in Attention Is All You Need, Long Beach, CA, USA: Curran Associates, Inc., 2017, pp. 5998–6008. doi: 10.48550/arXiv.1706.03762.

Suhariyanto, R. Sarno, C. Fatichah, and R. Abdullah, “Aspect-based Sentiment Analysis: Natural Language Understanding for Implicit Review,” Int. J. Electr. Comput. Eng., vol. 14, no. 6, pp. 6711–6722, 2024, doi: 10.11591/ijece.v14i6.pp6711-6722.

I. Duru and A. S. Sunar, “Transformer and Pre-Transformer Model-Based Sentiment Prediction with Various Embeddings?: A Case Study on Amazon Reviews,” Entropy, vol. 27, no. 12, p. 1202, 2025, doi: https://doi.org/10.3390/e27121202.

M. Grandini, E. Bagli, and G. Visani, “Metrics for Multi-Class Classification: an Overview,” Aug. 2020, Accessed: Aug. 07, 2026. [Online]. Available: https://arxiv.org/pdf/2008.05756

M. Imran, F. Ofli, D. Caragea, and A. Torralba, “Using AI and Social Media Multimodal Content for Disaster Response and Management: Opportunities, Challenges, and Future Directions,” Inf. Process. Manag., vol. 57, no. 5, p. 102261, Sep. 2020, doi: 10.1016/j.ipm.2020.102261.

M. Wankhade, A. C. S. Rao, and C. Kulkarni, “A survey on sentiment analysis methods, applications, and challenges,” Artif. Intell. Rev. 2022 557, vol. 55, no. 7, pp. 5731–5780, Feb. 2022, doi: 10.1007/S10462-022-10144-1.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Sentimen Berbasis Aspek pada Opini Publik Pascabencana Hidrometeorologi Menggunakan Model Pre-Trained IndoBERT

Dimensions Badge

ARTICLE HISTORY

Published: 2026-08-27

Abstract View: 0 times
PDF Download: 0 times

How to Cite

Yusran, M., Siregar, S. R., & Sari, A. V. (2026). Analisis Sentimen Berbasis Aspek pada Opini Publik Pascabencana Hidrometeorologi Menggunakan Model Pre-Trained IndoBERT. Bulletin of Computer Science Research, 6(5), 2100-2108. https://doi.org/10.47065/bulletincsr.v6i5.1321

Issue

Section

Articles