Comparative Performance of Fine-Tuned IndoBERT BASE and LARGE Variants for Emotion Detection in Indonesian Tweets
Jurnal Online Informatika · 24.04.2026 · 11 (1) · 14-26
DOI: 10.15575/join.v11i1.1704 ↗Kurz gefasst
Fachartikel in der Zeitschrift Jurnal Online Informatika, online erschienen am 24.04.2026. Verfasst von Sri Winarno und 7 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-ND 4.0).
Abstract (Originalsprache)
In the digital era, where emotions play a crucial role in shaping human behavior, communication, and decision-making, their expressions are often conveyed through short and informal texts on platforms such as Twitter. This research aims to improve the accuracy of emotion detection in Indonesian text using the IndoBERT-BASE-P2 and IndoBERT-LARGE-P2 transformer models. The dataset consists of 7,080 tweets annotated with six basic emotion categories (anger, fear, joy, love, neutral, and sad). The research methodology included text preprocessing, class balancing using SMOTE, and fine-tuning with optimized training parameters. Evaluation results show that IndoBERT-BASE-P2 achieved an accuracy of 84.43% and a macro F1-score of 84.33%, surpassing previous studies, while the larger IndoBERT-LARGE-P2 model tended to overfit and offered no meaningful improvement. Error analysis showed the neutral class was the most difficult to classify. These findings demonstrate that with effective preprocessing and parameter optimization, a smaller model can be a highly efficient solution for emotion classification in Indonesian text, especially in resource-constrained conditions.
Zitieren
APA
Winarno, S., Dewi, I. N., Nugraha, A., Firdausillah, F., Fitri, M. S., Ramadhani, T. O., Widhiyanti, E. A., & Rizqi, A. R. M. (2026). Comparative Performance of Fine-Tuned IndoBERT BASE and LARGE Variants for Emotion Detection in Indonesian Tweets. Jurnal Online Informatika, 11(1), 14-26. https://doi.org/10.15575/join.v11i1.1704
Vancouver
Winarno S, Dewi IN, Nugraha A, Firdausillah F, Fitri MS, Ramadhani TO, et al. Comparative Performance of Fine-Tuned IndoBERT BASE and LARGE Variants for Emotion Detection in Indonesian Tweets. Jurnal Online Informatika. 2026;11(1):14-26. doi:10.15575/join.v11i1.1704
BibTeX
@article{Winarno2026,
author = {Winarno, Sri and Dewi, Ika Novita and Nugraha, Adhitya and Firdausillah, Fahri and Fitri, Maulatus Shaffira and Ramadhani, Talitha Olga and Widhiyanti, Erna Amalia and Rizqi, Ainur Rahma Miftakhul},
title = {Comparative Performance of Fine-Tuned IndoBERT BASE and LARGE Variants for Emotion Detection in Indonesian Tweets},
journal = {Jurnal Online Informatika},
year = {2026},
volume = {11},
number = {1},
pages = {14--26},
doi = {10.15575/join.v11i1.1704}
}
EUVIMED