Building of Informatics, Technology and Science
Vol 8 No 2 (2026): September 2026

Perbandingan Embedding IndoBERT dan FastText dalam Deteksi Cyberbullying Berbahasa Indonesia

Muhammad Ihksan Alfiansyah (Universitas Bina Darma, Palembang)
Diana Diana (Universitas Bina Darma, Palembang)



Article Info

Publish Date
22 Sep 2026

Abstract

The escalation of cyberbullying on social media necessitates automated content moderation systems capable of deciphering the characteristics of non-standard digital language. This study compares the effectiveness of contextual word embeddings (IndoBERT) and static subword embeddings (FastText) in multi-class text classification (Safe, Mild, Moderate, Severe, and Very Dangerous) for Indonesian-language social media comments. The research focuses on analyzing embedding architectures: IndoBERT is integrated with a Dense Layer, while FastText is evaluated using Logistic Regression and Random Forest (15 trees). A dataset of 16,643 samples was extracted from social media platforms and processed through text cleaning and dictionary-based slang normalization stages. Test results indicate that the bidirectional contextual architecture of IndoBERT achieved the highest performance, with an accuracy of 82.15% and a Macro F1-Score of 74.97%. Regarding FastText representations, the linear Logistic Regression approach (78.70% accuracy) proved more stable than the Random Forest model (65.50% accuracy). These findings demonstrate that contextual embeddings are more adaptive than static embeddings at distinguishing sarcasm and mutated lexicons in digital text. As a research contribution, this study not only offers a precise five-level severity classification architecture for informal Indonesian but also provides a prototype automated moderation system (CyberGuard AI) ready for implementation in real-time risk mitigation.

Copyrights © 2026






Journal Info

Abbrev

bits

Publisher

Subject

Computer Science & IT

Description

Building of Informatics, Technology and Science (BITS) is an open access media in publishing scientific articles that contain the results of research in information technology and computers. Paper that enters this journal will be checked for plagiarism and peer-rewiew first to maintain its quality. ...