Application of IndoBERT for Granular Emotion Detection in Public Sentiment toward the Free Nutritious Meals Program (MBG)
DOI:
https://doi.org/10.54783/influencejournal.v8i3.400Keywords:
IndoBERT, Emotion Detection, Robert Plutchik, Free Nutritious Meals Program, Data Augmentation, Natural Language Processing.Abstract
The Free Nutritious Meals Program (Program Makan Bergizi Gratis/MBG) is a government policy that has generated diverse public responses on social media. Previous studies have generally focused on sentiment analysis, which may not adequately capture the fine-grained emotional responses of the public, while the use of data augmentation and misclassification analysis remains limited. This study aims to classify public emotions toward the MBG Program using IndoBERT based on Robert Plutchik’s emotion theory, which consists of eight emotion categories: anger, happiness, sadness, trust, fear, disgust, interest, and surprise. Data were collected through web scraping from X (Twitter), TikTok, and Facebook and were subsequently annotated by the author and two expert annotators. The preprocessing steps included case folding, data cleaning, and normalization. Back-translation data augmentation was applied to minority classes in the training set to address class imbalance. The experiments compared baseline and augmented data scenarios using several learning-rate configurations. Model performance was evaluated using accuracy, precision, recall, and F1-score, along with misclassification analysis. The results show that Model M4, which employed data augmentation with a learning rate of 1 × 10⁻⁵, a batch size of 16, and 5 epochs, achieved an accuracy of 85.13% and a macro F1-score of 85.39%. Based on the 733 test records, anger was the dominant emotion (31.79%), followed by happiness (16.78%) and trust (15.96%). Anger was the dominant emotion on Facebook and TikTok, whereas trust was dominant on X (Twitter). The misclassification analysis revealed classification errors among several emotions with semantically similar characteristics. These findings demonstrate the applicability of IndoBERT combined with data augmentation for granular emotion classification of public responses to the MBG Program.
References
Alan, T. B. W. (2022). Klasifikasi emosi pada teks menggunakan metode deep learning [Skripsi sarjana, Universitas Islam Indonesia]. DSpace UII. https://dspace.uii.ac.id/handle/123456789/40586.
Arfan, U., & Badii, E. (2025). Sentiment Analysis of Papuan Public Perceptions Toward the Free Nutritional Meal Program in Indonesia Analisis Sentimen Masyarakat Papua Terhadap Program Makan Gizi Gratis di Indonesia. 5(October), 1538–1546.
Destryanto, F., Rizqiyah, P., & Sokibi, P. (2025). Sentiment Analysis of Public Response to the Free Nutritious Meal Program on Instagram Using IndoBERT. 5(1), 1–5.
Dwiyansaputra, R., Murpratiwi, S. I., & Aranta, A. (2025). Analisis Sentimen Pengguna Platform Media Sosial X pada Topik Pemilihan Presiden 2024 Menggunakan Perbandingan Model. 9(1), 626–634.
Ezer, E., Marpaung, O., & Tarigan, M. (2026). Perbandingan Model Indobert dan Indonesian Roberta Base Dalam Analisis Sentimen Pengguna Twitter terhadap Timnas Indonesia di Kualifikasi Piala Dunia 2026. 10(1), 30–37.
Khairani, U., Mutiawani, V., Ahmadian, H., Kuala, U. S., Aceh, B., Ar-raniry, U. I. N., Aceh, B., & Korespondensi, P. (2024). Pengaruh Tahapan Preprocessing terhadap Model Indobert dan The Influence of Preprocessing Stages on Indobert and Indobertweet Models For Emotion Detection In Instagram News. 11(4). https://doi.org/10.25126/jtiik.1148315
Laia, M. M., Hasan, F. N., Kuntoro, A. Y., Informatika, B. S., Pusat, J., Kramat, J., No, R., & Pusat, J. (2025). Analisis Sentimen Program Makan Gratis Pada Platform X Algoritma Naïve Bayes Menggunakan.
Marchelo, N., Fatyanosa, T. N., & Perdana, R. S. (2025). Klasifikasi Sentimen Lintas Domain pada Komentar Media Sosial Menggunakan IndoBERT dengan Fine-Tuning dan Data Augmentation. 9(12).
Mohammad, S. M., Bravo-marquez, F., & Zealand, N. (2017). Emotion Intensities in Tweets. 65–77.
Munir, R. A., Voutama, A., Karawang, U. S., Timur, T., & Barat, J. (n.d.). Analisis Sentimen Cuitan di Media Sosial X Tentang Program Makan Bergizi Gratis. 13(3), 589–595.
Pornama, A., Fitri, S., & Wati, A. (2025). Text-Based Emotion Sentiment Analysis Dengan Pendekatan Deep Learning : Akuisisi Tiktok terhadap Tokopedia. 9(1), 518–526.
Rahma, I. A., Suadaa, L. H., Timur, J., & Korespondensi, P. (2023). Penerapan Text Augmentation intuk Mengatasi Data yang Tidak Seimbang Pada Klasifikasi Teks Berbahasa Indonesia Studi Kasus : Deteksi Judul Clickbait dan Komentar Hate Speech Application of Text Augmentation To Handling Imbalanced Data Problem in Indonesian Text Classification Case Study : Clickbait Headline And Hate Speech Comment. 10(6), 1329–1340. https://doi.org/10.25126/jtiik.2023107325
Rahmatullah, B., Saputra, S. A., Budiono, P., & Wigandi, D. P. (2025). Sentimen Analisis Makan Bergizi Gratis Menggunakan Algoritma Naive Bayes. 05(01).
Roberta, M. (2026). Klasifikasi Emosi Pada Data Teks Pidato Politik Menggunakan. 13(1).
Saepul Rohman, I. W. P. A. (2025). Dalam Analisis Sentimen Program Makan Bergizi Gratis. 9(6), 9464–9471.
Sahron Angelina Ihalauw. (2025). Analisis Sentimen Kinerja 100 Hari Pemerintahan Prabowo Gibran Pada Media Sosial X Menggunakan INDOBERT.
Saputra, A. C., Saragih, A. S., & Ronaldo, D. (2025). Prediksi Emosi dalam Teks Bahasa Indonesia. 19(1), 1–15.
Subarkah, P., Ikhsan, A. N., Anggraeni, E., & Sabaniyah, A. P. (2025). Sentiment Perspective of Government ’ s Free Nutritious Meal Policy on Social Media X using Indo-BERT and Bi-LTSM. 7(2), 201–210.
Tsabitah, L., Karima, D. A., Diva, Z., Munaspin, P., Titiana, N. M., Studi, P., Informasi, S., Sriwijaya, U., Ilir, K. O., Makan, P., Gratis, S., & Gratis, S. (2025). Analisis Sentimen Program Makan Siang Gratis Dalam. 9(4), 6288–6294.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 INFLUENCE: INTERNATIONAL JOURNAL OF SCIENCE REVIEW

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














