Journal of Mathematics and Scientific Computing With Applications
Vol. 7 No. 1 (2026)

HYBRID RF–XGBOOST STACKING ENSEMBLE FOR LOW-RESOURCE INDONESIAN TOXIC COMMENT CLASSIFICATION ON ROBLOX

Kartika Imam Santoso (Computer Science, Universitas An Nuur, Purwodadi, 58112, Indonesia)
Gatot Susilo (Informatics Management, STMIK Bina Patria, Magelang, 56116, Indonesia)
Saefurrohman (Informatics Engineering, Universitas STIKUBANK, Semarang, 50241, Indonesia)
Eko Supriyadi (Computer Science, Universitas An Nuur, Purwodadi, 58112, Indonesia)
Edi Widodo (Information Systems, Universitas Semarang, Semarang, 50196, Indonesia)



Article Info

Publish Date
15 Aug 2026

Abstract

This study developed a hybrid stacking ensemble combining Random Forest and XGBoost for multi-class toxic comment detection in Indonesian gaming chat on Roblox. The dataset comprised 10,702 labeled comments across four toxicity categories: Violence, Harassment, Racist, and Neutral. Text preprocessing included comprehensive techniques such as case folding, tokenization, slang normalization, and stemming, while features were extracted using TF-IDF representation. The stacking ensemble achieved 91.4% accuracy and 91.3% macro F1-Score, significantly surpassing standalone baselines (Random Forest 87.2%, XGBoost 89.5%). McNemar’s test confirmed statistical significance of the improvement over XGBoost (p<0.001). Analysis revealed distinct linguistic patterns across toxicity categories. Importantly, the model operates at 2,500 predictions per second on CPU without GPU infrastructure, enabling practical deployment on resource-constrained gaming platforms. These findings demonstrate the effectiveness of hybrid ensemble learning for low-resource multilingual toxic content moderation.

Copyrights © 2026






Journal Info

Abbrev

jmscowa

Publisher

Subject

Mathematics

Description

Journal of Mathematics and Scientific Computing With Applications is a broad-based journal covering all branches of computational or applied mathematics with special encouragement to researchers in theoretical computer science and mathematical computing. It covers all major areas, such as numerical ...