Source-Aware Evaluation of Tree-Based Intrusion Detection on MQTT-Associated IoT Devices

Authors

  • Bayu Setiaji Universitas Amikom Yogyakarta Author
  • Haryoko Department of Information Technology, Faculty of Computer Science, Universitas Amikom Yogyakarta Author
  • Windha Mega Pradnya Dhuhita Department of Informatics, Faculty of Computer Science, Universitas Amikom Yogyakarta Author
  • Eli Pujastuti Department of Informatics, Faculty of Computer Science, Universitas Amikom Yogyakarta Author
  • Lukman Department of Informatics Management, Faculty of Computer Science, Universitas Amikom Yogyakarta Author
  • Afrig Aminudin Department of Information Systems, Faculty of Computer Science, Universitas Amikom Yogyakarta Author

Keywords:

IoT security, MQTT, intrusion detection, ensemble learning, explainable AI, lightweight machine learning

Abstract

Packet-level intrusion-detection benchmarks can reward capture-specific signals and conceal differences in class coverage. This study audits a tree-model benchmark on Gotham Dataset 2025, treating MQTT association as device scope. Reconstruction identifies 56 source files containing 8,629,880 packets and reproduces the archived 112,845-row experiment. Removing 2,585 unresolved Unknown rows leaves 110,260 packets for revised evaluation. Seven fixed configurations are compared over five random and five source-disjoint splits with explicit class-coverage requirements. Multiclass macro F1 is 0.7295 ± 0.1150 under random splitting and 0.6455 ± 0.0211 under source separation for the ensemble, compared with 0.8247 ± 0.0094 and 0.6617 ± 0.0207 for XGBoost-200. XGBoost-200 therefore outperforms the ensemble in mean multiclass F1 under both protocols. Source scores use a fixed 15-label denominator. The original holdout score used a different averaging set and cannot establish a directly comparable generalization gap. Feature exclusions, uncapped testing, chronological evaluation, and probability diagnostics reveal further limitations. The contribution is a reproducible evaluation protocol; the results establish neither an ensemble accuracy–efficiency advantage nor operational edge-device performance.

Downloads

Published

2026-09-30

How to Cite

Source-Aware Evaluation of Tree-Based Intrusion Detection on MQTT-Associated IoT Devices. (2026). Internetworking Indonesia Journal, 18(1). https://internetworkingindonesia.org/index.php/iij/article/view/167