RANDOM FOREST-XGBOOST STACKING ENSEMBLE FOR TOXIC COMMENT DETECTION ON ROBLOX

Authors

  • Kartika Imam Santoso Department of Computer Science, An Nuur University, Purwodadi, Central Java, Indonesia Author
  • Gatot Susilo Informatics Management, STMIK Bina Patria, Magelang, Central Java, Indonesia Author
  • Saefurrohman Informatics Engineering, Universitas STIKUBANK, Semarang, Central Java, Indonesia Author
  • Eko Supriyadi Department of Computer Science, An Nuur University, Purwodadi, Central Java, Indonesia Author
  • Edi Widodo Information Systems, Universitas Semarang, Semarang, Central Java, Indonesia Author

Keywords:

per class. These results confirm the effectiveness of hybrid ensemble learning for low-resource multilingual toxic content moderation

Abstract

This study developed a hybrid stacking ensemble model combining Random Forest (RF) and XGBoost for multi-class toxic comment detection in Indonesian gaming chat on Roblox. The dataset comprised 10,702 labeled comments across four categories: Violence, Harassment, Racist, and Neutral. Text preprocessing included case folding, URL removal, tokenization, slang normalization using a 200+ entry lexicon, stopword removal, and stemming. Features were extracted using TF-IDF with 10,000 maximum features and unigram-bigram n-grams. A stacking ensemble was constructed with RF and XGBoost as base models and Logistic Regression as the meta-classifier, trained using 5-fold cross-validation to prevent data leakage. The proposed model achieved an overall accuracy of 91.4% and macro F1-Score of 91.3%, surpassing standalone RF (87.2%) and XGBoost (89.5%) as well as IndoBERT-based baselines from prior work. McNemar test confirmed statistical significance of improvement over XGBoost (χ²=10.46, p=0.0012). Feature importance analysis identified discriminative

Published

2026-06-20

How to Cite

RANDOM FOREST-XGBOOST STACKING ENSEMBLE FOR TOXIC COMMENT DETECTION ON ROBLOX. (2026). BOOK OF ABSTRACT AN NUUR INTERNATIONAL CONFERENCE ON HEALTH, BUSINESS, EDUCATION, SCIENCE AND TECHNOLOGY, 1(2), 59. https://proceedings.unan.ac.id/index.php/abstrak/article/view/81

Similar Articles

1-10 of 51

You may also start an advanced similarity search for this article.