Studi Komparasi IndoBERT dan IndoBERTweet dengan Full Fine Tuning dan LoRA untuk Klasifikasi Emosi pada Tweet Bertopik GERD


  • Luthfia Jayyida Ainaya Fatiha * Mail Universitas Dian Nuswantoro, Semarang, Indonesia
  • Junta Zeniarja Universitas Dian Nuswantoro, Semarang, Indonesia
  • (*) Corresponding Author
Keywords: GERD; IndoBERT; IndoBERTweet; Emotion Classification; LoRA; Full Fine-Tuning; Social Media X

Abstract

This study compares IndoBERT and IndoBERTweet for emotion classification on Indonesian tweets related to Gastroesophageal Reflux Disease (GERD). The term GERD-related tweets is used because the data were collected from social media X, and the clinical status of each user cannot be verified. The initial dataset contained 1,389 records. After validation, text cleaning, empty-text removal, label filtering, and deduplication, 1,343 tweets remained and were manually assigned into five emotion classes: angry, fear, joy, sad, and neutral. The experiments were conducted in Python on Google Colab with a Tesla T4 GPU using Pandas, PyTorch, Hugging Face Transformers, PEFT, scikit-learn, Matplotlib, and Seaborn. The models were evaluated using Stratified 5-Fold Cross Validation, lexical substitution-based data augmentation on the training data of each fold, early stopping, and Focal Loss to address class imbalance. The results show that full fine-tuning achieved the best performance. IndoBERTweet obtained the highest accuracy of 0.5703 and macro F1-score of 0.5629, while IndoBERT achieved an accuracy of 0.5145 and a macro F1-score of 0.5034. In contrast, IndoBERT + LoRA only achieved a macro F1-score of 0.2412, and IndoBERTweet + LoRA achieved 0.2227. These findings indicate that LoRA was not effective for this small and imbalanced health-emotion dataset, although it trained less than 1% of the model parameters. Parameter efficiency therefore did not translate into better classification performance in informal and semantically overlapping social media text.

Downloads

Download data is not yet available.

References

M. S. Maqbul et al., “Gastro-esophageal reflux disease among the urban population of Saudi Arabia,” Gastroenterology and Endoscopy, vol. 2, no. 3, pp. 121–130, Jul. 2024, doi: 10.1016/j.gande.2024.07.004.

R. Syifa, A. Nirwani, Z. Arifin, and T. A. Laariya, “Hubungan Tingkat Stres Akademik dan Kejadian Gastroesophageal Reflux Disease (GERD) pada Mahasiswa S1 Program Studi Kedokteran, Fakultas Kedokteran Universitas Ahmad Dahlan.” Accessed: Jun. 13, 2026. [Online]. Available: https://doi.org/10.55175/cdk.v52i8.1594

L. Chen et al., “Global, regional and national burdens of gastroesophageal reflux disease from 1990 to 2021 and projections to 2050: a finding from the global burden of disease study 2021,” BMC Public Health, vol. 25, no. 1, Dec. 2025, doi: 10.1186/s12889-025-25121-w.

S. Deasy Siregar, V. Trismanjaya Hulu, and D. Veronika Lase, “Factors Associated With The Occurrence Of Gastroesophageal Reflux Disease (Gerd) In Students,” Jurnal Berkala Epidemiologi, vol. 13, no. 1, pp. 58–65, 2025, doi: 10.20473/jbe.v13i12025.58.

S. Murillo, “The use of emojis in X/Twitter for research recontextualization,” Discourse, Context and Media, vol. 68, Dec. 2025, doi: 10.1016/j.dcm.2025.100950.

S. Hinduja, M. Afrin, S. Mistry, and A. Krishna, “Machine learning-based proactive social-sensor service for mental health monitoring using twitter data,” International Journal of Information Management Data Insights, vol. 2, no. 2, Nov. 2022, doi: 10.1016/j.jjimei.2022.100113.

E. Mayor, M. Miché, and R. Lieb, “Associations between emotions expressed in internet news and subsequent emotional content on twitter,” Heliyon, vol. 8, no. 12, Dec. 2022, doi: 10.1016/j.heliyon.2022.e12133.

W. Subait et al., “Artificial Intelligence-based Natural Language Processing for sarcasm detection and classification on Arabic Corpus,” Alexandria Engineering Journal, vol. 125, pp. 320–331, Jun. 2025, doi: 10.1016/j.aej.2025.03.125.

J. I. T. Krisna, A. Luthfiarta, L. D. Cahya, S. Winarno, and A. Nugraha, “Comparing Optimizer Strategies For Enhancing Emotion Classification In IndoBERT Models,” Advance Sustainable Science, Engineering and Technology, vol. 6, no. 2, Feb. 2024, doi: 10.26877/asset.v6i2.18228.

A. Amelia and R. Yusuf, “Analisis Sentimen Masyarakat Indonesia Pada Platfrom X Terhadap Isu Fufufafa Menggunakan Bidirectional Encoder Representations From Transformers,” 2025. Accessed: Jun. 13, 2026. [Online]. Available: 10.51401/jinteks.v7i1.5160

R. Merdiansah and A. Ali Ridha, “Analisis Sentimen Pengguna X Indonesia Terkait Kendaraan Listrik Menggunakan IndoBERT,” Jurnal Ilmu Komputer dan Sistem Informasi (JIKOMSI, vol. 7, no. 1, pp. 221–228, 2024, Accessed: Jun. 13, 2026. [Online]. Available: ejournal.sisfokomtek.org/index.php/jikom

N. M. Damayanti, “Analisis Sentimen Publik Pada Tagar #Btscomeback Di Platform X Menggunakan Indobertweet,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 3, Jul. 2025, doi: 10.23960/jitet.v13i3.7176.

D. Ismiyana Putri, A. Nurul Alfian, M. Yudhi Putra, and P. Dwi Mulyo, “IndoBERT Model Analysis: Twitter Sentiments on Indonesia’s 2024 Presidential Election,” 2024. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC

J. C. Setiawan, K. M. Lhaksmana, and B. Bunyamin, “Sentiment Analysis of Indonesian TikTok Review Using LSTM and IndoBERTweet Algorithm,” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 8, no. 3, pp. 774–780, Aug. 2023, doi: 10.29100/jipi.v8i3.3911.

U. Khairani, V. Mutiawani, and H. Ahmadian, “Pengaruh Tahapan Preprocessing Terhadap Model Indobert Dan Indobertweet Untuk Mendeteksi Emosi Pada Komentar Akun Berita Instagram,” Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), 2024.

D. Nur Wahyu Ningsih, “Deteksi Risiko Depresi Pada Pengguna Media Sosial Indonesia Menggunakan Indobertweet,” 2025. Accessed: Jun. 13, 2026. [Online]. Available: journal.risetdigital.org/JCSC/article/view/8/3

N. Marito Putry and B. Nurina Sari, “Komparasi Algoritma Knn Dan Naïve Bayes Untuk Klasifikasi Diagnosis Penyakit Diabetes Melitus,” Jurnal Sains dan Manajemen, vol. 10, no. 1, 2022, Accessed: Jun. 13, 2026. [Online]. Available: doi.org/10.31294/EVOLUSI.V10I1.12514

I. Topan Adib Amrulloh et al., “Evaluasi Augmentasi Data Pada Deteksi Penyakit Daun Tebu Dengan YOLOV8,” 2024. Accessed: Jun. 13, 2026. [Online]. Available: 10.36040/jati.v8i4.10267

R. Fadhilah, F. Hakim, C. V. Pangemanan, E. Supriyadi, and U. Koperasi Indonesia, “CoopMind V1: Fine-Tuning Large Language Model dengan Pendekatan Low Rank Adaptation (LoRA) untuk Demokratisasi Pengetahuan Perkoperasian,” 2026. Accessed: Jun. 13, 2026. [Online]. Available: journal2.ikopin.ac.id/index.php/dataenthusiast/article/view/17/19

K. Davis and R. Maiden, “The Importance of Understanding False Discoveries and the Accuracy Paradox When Evaluating Quantitative Studies,” Stud. Soc. Sci. Res., vol. 2, no. 2, p. p1, Mar. 2021, doi: 10.22158/sssr.v2n2p1.

F. Zen et al., “Analisis Perbandingan Efektivitas Arsitektur Convolutional Neural Network Dengan Focal Loss Pada Kasus Imbalance Data Klasifikasi Hewan,” 2025, doi: 10.32485/jcsai.

F. Reynaldi Valerian, M. Syarief, D. Abdul Fatah, J. Raya Telang, K. Kamal, and J. Timur, “Klasifikasi Tingkat Obesitas Menggunakan Metode Gbm Dan Confusion Matrix,” 2025. Accessed: Jun. 13, 2026. [Online]. Available: doi.org/10.36040/jati.v9i2.13062

A. Gumelar Syah Moeslim, Esa Firmansyah, and Beben Sutara, “Perbandingan Kinerja XGBoost dan IndoBERT untuk Klasifikasi Teks Kesehatan Bahasa Indonesia,” Data Sciences Indonesia (DSI), vol. 5, no. 2, pp. 62–72, Dec. 2025, doi: 10.47709/dsi.v5i2.7281.

M. Z. Haq, C. S. Octiva, A. Ayuliana, U. W. Nuryanto, and D. Suryadi, “Algoritma Naïve Bayes untuk Mengidentifikasi Hoaks di Media Sosial,” Jurnal Minfo Polgan, vol. 13, no. 1, pp. 1079–1084, Jul. 2024, doi: 10.33395/jmp.v13i1.13937.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Studi Komparasi IndoBERT dan IndoBERTweet dengan Full Fine Tuning dan LoRA untuk Klasifikasi Emosi pada Tweet Bertopik GERD

Dimensions Badge
Article History
Submitted: 2026-05-26
Published: 2026-08-31
Abstract View: 18 times
PDF Download: 14 times
How to Cite
Fatiha, L., & Zeniarja, J. (2026). Studi Komparasi IndoBERT dan IndoBERTweet dengan Full Fine Tuning dan LoRA untuk Klasifikasi Emosi pada Tweet Bertopik GERD. Building of Informatics, Technology and Science (BITS), 8(1), 655-666. https://doi.org/10.47065/bits.v8i1.10039
Issue
Section
Articles