Responsive Banner

Indonesian fake news detection on imbalanced data using IndoBERT with focal loss

Trahestiawan, Akbar Bimantara, Abidin, Zainal ORCID: https://orcid.org/0000-0002-9261-4952 and Sari, Nur Fitriyah Ayu Tunjung ORCID: https://orcid.org/0009-0009-9239-3246 (2026) Indonesian fake news detection on imbalanced data using IndoBERT with focal loss. Jurnal Teknik Indonesia, 5 (02). pp. 308-318. ISSN 2964-0490

[img]
Preview
Text
29639.pdf - Published Version
Available under License Creative Commons Attribution Non-commercial.

Download (308kB) | Preview

Abstract

The spread of fake news (hoaxes) in Indonesia's digital space is increasingly massive and has an impact on social polarization and declining public trust, while Indonesian-language hoax news datasets generally face extreme class imbalance problems that cause the classification model to be biased towards the majority class. This study aims to implement the IndoBERT model for binary classification of fake news categories FALSE (misinformation) and FRAUD (disinformation) and test the effectiveness of Focal Loss in overcoming data imbalance. The method used is experimental by fine-tuning the IndoBERT-base-p1 model on the Indonesia False News Dataset 2025 dataset from Turnbackhoax.id containing 970 samples (71.96% FALSE, 28.04% FRAUD). Two loss function scenarios are tested: Cross Entropy as the baseline and Focal Loss with parameters α=0.25/0.75 and γ=2.0. The results showed that the Focal Loss model achieved 98.63% accuracy, a macro F1-score of 98.33%, and successfully reduced the loss value by 93.61% compared to the baseline (from 0.0923 to 0.0059). The most significant improvement occurred in the FRAUD minority class with a 2.62% increase in F1-score and the elimination of all false negative errors. In conclusion, the combination of IndoBERT and Focal Loss proved effective for hoax detection in imbalanced Indonesian language data. The implication of this research is that the developed system can be integrated into digital platforms to assist in automatic news verification and support public digital literacy.

Item Type: Journal Article
Keywords: fake news detection; indobert; focal loss; data imbalance; text classification
Subjects: 08 INFORMATION AND COMPUTING SCIENCES > 0801 Artificial Intelligence and Image Processing > 080107 Natural Language Processing
Divisions: Faculty of Technology > Department of Informatics Engineering
Depositing User: Nur Fitriyah Ayu Tunjung Sari
Date Deposited: 27 Nov 2026 10:50

Downloads

Downloads per month over past year

Actions (login required)

View Item View Item