SENTIMENT ANALYSIS OF DEFORESTATION POLICIES IN INDONESIA USING AN INDO-BERT ALGORITHM BASED ON OPTIMIZATION
DOI:
https://doi.org/10.33480/jitk.v12i2.8602Keywords:
Deforestation, Indo-BERT, Optimization, sentiment analysis, social media XAbstract
One government policy that has sparked public debate is regarding deforestation, specifically the conversion of virgin forests into oil palm plantations or similar land uses. This policy has naturally become a hot topic of discussion on social media, particularly Twitter. Public reaction to the implementation of forest deforestation notably in Papua, where virgin forests are being converted into oil palm plantations, as well as in other regions that still possess virgin forests has triggered a variety of community responses, ranging from positive, negative, to neutral views. The dataset used in this study comprises 1,117 tweets. This study aims to analyze public sentiment regarding government policies on deforestation using an optimization-based Indo-BERT algorithm. The research workflow involved several main stages, including data collection, data pre-processing, experimentation, modeling, and evaluation. The data was categorized into three sentiment classes: 23 positive data, 59 neutral data, and 1,035 negative data. Based on the modeling experiment results and the application of various optimization techniques, it can be concluded that using the Indo-BERT algorithm with Bayesian optimization achieved a 2% improvement, rising from 94% to 96%, based on the initial testing accuracy of Indo-BERT at 94% (Good Classification). Further research could be conducted using this algorithm to examine the broader public response to government discourse, particularly in sectors that interact directly with the general public. Overall, this study makes a significant contribution to understanding public perceptions of government policy discourse while serving as an important foundation for developing sentiment analysis of government policies on Twitter.
Downloads
References
[1] C. Parsch et al., “Forecasting deforestation and carbon loss across New Guinea using machine learning and cellular automata,” Sci. Total Environ., vol. 970, no. September 2024, p. 178864, 2025, doi: 10.1016/j.scitotenv.2025.178864.
[2] D. Jeong, S. Hwang, J. Kim, H. Yu, and E. Park, “Public perspective on renewable and other energy resources: Evidence from social media big data and sentiment analysis,” Energy Strateg. Rev., vol. 50, no. September, p. 101243, 2023, doi: 10.1016/j.esr.2023.101243.
[3] T. H. Do and M. van Noordwijk, “Accelerating subnational deforestation and forest degradation reduction efforts (REDD+): need for recognition of instrumental and relational value interactions,” Curr. Opin. Environ. Sustain., vol. 64, p. 101330, 2023, doi: 10.1016/j.cosust.2023.101330.
[4] M. S. Hussain, J. W. Groninger, and K. Akamani, “Predicting socioeconomic drivers of deforestation in Murree forest region, Pakistan using statistical inference and machine learning approach,” Trees, For. People, vol. 24, no. February, p. 101195, 2026, doi: 10.1016/j.tfp.2026.101195.
[5] D. A. Putri and S. Nurwahyuni, “Improving Sentiment Analysis Of Women In STEM Discourse Using Smote-Enhanced SVM – Vader,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 11, no. 3, pp. 891–900, 2026, doi: 10.33480/jitk.v11i3.7353.
[6] Y. P. Mulyani et al., “Analyzing public discourse on photovoltaic (PV) adoption in Indonesia: A topic-based sentiment analysis of news articles and social media,” J. Clean. Prod., vol. 434, no. October 2023, p. 140233, 2024, doi: 10.1016/j.jclepro.2023.140233.
[7] S. Shabani et al., “Spatially explicit machine learning reveals province-specific drivers of deforestation in the Hyrcanian forests,” Ecol. Inform., vol. 92, no. July, p. 103533, 2025, doi: 10.1016/j.ecoinf.2025.103533.
[8] Y. Wang, J. Guo, C. Yuan, and B. Li, “Sentiment Analysis of Twitter Data,” Appl. Sci., vol. 12, no. 22, pp. 1–14, 2022, doi: 10.3390/app122211775.
[9] V. Picanço Rodrigues and M. A. Leonel Caetano, “The impacts of political activity on fires and deforestation in the Brazilian Amazon rainforest: An analysis of social media and satellite data,” Heliyon, vol. 9, no. 12, p. e22670, 2023, doi: 10.1016/j.heliyon.2023.e22670.
[10] E. Ayuk Pusvita, D. Stefanus, P. Ranggup, and U. Arfan, “Machine Learning Based Sentiment Analysis of Public Opinion on Palm Oil Plantation Expansion in Papua,” vol. 5, no. October, pp. 1396–1405, 2025, doi: https://doi.org/10.57152/malcom.v5i4.2279.
[11] P. Subarkah, H. A. A. Rozaq, P. Arsi, S. A. Sholikhatin, R. Riyanto, and H. Marcos, “Implementation of Text Mining to Detect Emotions of Fuel Price Increase Using BERT-LSTM Method,” Gazi Univ. J. Sci., vol. 37, no. 4, pp. 1707–1716, 2024, doi: 10.35378/gujs.1424742.
[12] G. S. C. Kananta, D. R. S. Saputro, and Sutanto, “Analysis of Multilingual Opinion Polarization With Cross-Lingual Language Model-Robustly Optimized Bidirectional Encoder Representations From Transformers Approach (Xlm-Roberta),” Barekeng, vol. 20, no. 2, pp. 1709–1717, 2026, doi: 10.30598/barekengvol20iss2pp1709-1718.
[13] M. Evtimova, “Hyperparameter Tuning for Address Validation using Optuna,” WSEAS Trans. Comput. Res., vol. 12, pp. 105–111, 2024, doi: 10.37394/232018.2024.12.10.
[14] M. S. Islam and K. M. Alam, “Sentiment analysis of Bangla language using a new comprehensive dataset BangDSA and the novel feature metric skipBangla-BERT,” Nat. Lang. Process. J., vol. 7, no. March, p. 100069, 2024, doi: 10.1016/j.nlp.2024.100069.
[15] B. AlBadani, R. Shi, and J. Dong, “A Novel Machine Learning Approach for Sentiment Analysis on Twitter Incorporating the Universal Language Model Fine-Tuning and SVM,” Appl. Syst. Innov., vol. 5, no. 1, 2022, doi: 10.3390/asi5010013.
[16] M. N. Zaidan, Y. Sibaroni, and S. S. Prasetyowati, “Learning Rate and Epoch Optimization in the Fine-Tuning Process for Indobert’S Performance on Sentiment Analysis of Mytelkomsel App Reviews,” J. Tek. Inform., vol. 5, no. 5, pp. 1443–1450, 2024, doi: 10.52436/1.jutif.2024.5.5.2396.
[17] A. Wafda, D. H. Fudholi, and J. Nugraha, “Aspect-Based Sentiment Analysis on Twitter Tweets About the Merdeka Curriculum Using Indobert,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 10, no. 3, pp. 586–599, 2025, doi: 10.33480/jitk.v10i3.5692.
[18] Jasmir, M. Rosario, I. Irawan, A. Siswanto, and T. N. Annisa, “HYBRIDIZATION OF FASTTEXT-BLSTM AND BERT FOR ENHANCED SENTIMENT ANALYSIS ON SOCIAL MEDIA TEXTS,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 11, no. 3, pp. 640–650, 2026, doi: 10.33480/jitk.v11i3.7488.
[19] A. Iskoko, I. Tahyudin, and P. Purwadi, “Hyperparameter Optimization Of IndoBERT Using Grid Search, Random Search, And Bayesian Optimization In Sentiment Analysis Of E-Government Application Reviews,” J. Tek. Inform., vol. 6, no. 5, pp. 3430–3444, 2025, doi: 10.52436/1.jutif.2025.6.5.4897.
[20] I. Tahyudin et al., Big Data dan Analytics. Purwokerto: Zahira Media Publisher, 2023.
[21] A. J. N. Kisma, P. Arsi, and P. Subarkah, “Sentiment Analysis Regarding Candidate Presidential 2024 Using Support Vector Machine Backpropagation Based,” JTAM (Jurnal Teor. dan Apl. Mat., vol. 8, no. 1, p. 96, 2024, doi: 10.31764/jtam.v8i1.17294.
[22] V. F. Lestari, P. Arsi, and P. Subarkah, “Sentimen Analisis Evaluasi Pengguna Aplikasi Orbit Telkomsel Pada Ulasan Playstore Menggunakan Algoritma Naïve Bayes,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 8, no. 2, pp. 2297–2302, 2024, doi: 10.36040/jati.v8i2.9139.
[23] J. S. Pimentel, R. Ospina, and A. Ara, “A novel fusion Support Vector Machine integrating weak and sphere models for classification challenges with massive data,” Decis. Anal. J., vol. 11, no. December 2023, p. 100457, 2024, doi: 10.1016/j.dajour.2024.100457.
[24] E. Marthen and I. Novita, “Optimasi RoBERTa dengan Hyperparameter Tuning untuk Deteksi,” J. Nas. Teknol. dan Sist. Inf., vol. 03, pp. 240–248, 2024, doi: 10.25077/teknosi.v10i3.2024.240-248.
[25] C. Shaw, P. LaCasse, and L. Champagne, “Exploring emotion classification of indonesian tweets using large scale transfer learning via IndoBERT,” Soc. Netw. Anal. Min., vol. 15, no. 1, pp. 1–12, 2025, doi: 10.1007/s13278-025-01439-6.
[26] F. Baharuddin and M. F. Naufal, “Fine-Tuning IndoBERT for Indonesian Exam Question Classification Based on Bloom’s Taxonomy,” J. Inf. Syst. Eng. Bus. Intell., vol. 9, no. 2, pp. 253–263, 2023, doi: 10.20473/jisebi.9.2.253-263.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Riyanto, Nevita Cahaya Ramadani, Nandang Hermanto, Pungkas Subarkah

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




-a.jpg)
-b.jpg)












