Research Article

IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION

Volume: 14 Number: 3 September 2, 2026
TR EN

IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION

Abstract

The rapid growth of Internet of Things (IoT) makes the networks to which IoT devices are connected increasingly vulnerable to cyberattacks. This threat increases the importance of robust intrusion detection systems for IoT networks. We propose a novel XGBoost-based classification model with an optimized loss function. Furthermore, a fitness function was designed to minimize the multi-class loss function mlogloss and applied hyperparameter optimization with Optuna in task. To evaluate the effectiveness of the proposed model, we used the comprehensive CICIoT2023 dataset to effectively identify a wide variety of attacks in IoT environments. The proposed model configured with optimal hyperparameters achieved remarkable classification results with 99.39% precision, 99.41% recall, 99.39% F1-score, and 99.33% accuracy. The results demonstrate that the proposed model is a robust and feasible alternative for analyzing complex IoT network traffic. Optimizing the loss function in multi-class scenarios allows the model to produce more balanced and reliable predictions. Additionally, integrating XGBoost with Optuna provides an effective strategy for IoT security applications. Consequently, the proposed approach not only effectively distinguishes between various types of attacks in IoT traffic but also highlights the potential benefits of task-specific loss function optimization strategies for future cybersecurity models.

Keywords

Ethical Statement

Authors declare that all research and writing facilities complies with the ethical standarts of the journal.

References

  1. L. Atzori, A. Iera, and G. Morabito, “The Internet of Things: A survey,” Computer Networks, vol. 54, no. 15, pp. 2787–2805, Oct. 2010, doi: 10.1016/j.comnet.2010.05.010.
  2. R. Roman, J. Zhou, and J. Lopez, “On the features and challenges of security and privacy in distributed internet of things,” Computer Networks, vol. 57, no. 10, pp. 2266–2279, Jul. 2013, doi: 10.1016/j.comnet.2012.12.018.
  3. I. Andrea, C. Chrysostomou, and G. Hadjichristofi, “Internet of Things: Security vulnerabilities and challenges,” in 2015 IEEE Symposium on Computers and Communication (ISCC), IEEE, Jul. 2015, pp. 180–187. doi: 10.1109/ISCC.2015.7405513.
  4. K. A. Scarfone and P. M. Mell, “Guide to Intrusion Detection and Prevention Systems (IDPS),” Gaithersburg, MD, 2007. doi: 10.6028/NIST.SP.800-94.
  5. E. Anthi, L. Williams, M. Slowinska, G. Theodorakopoulos, and P. Burnap, “A Supervised Intrusion Detection System for Smart Home IoT Devices,” IEEE Internet Things J., vol. 6, no. 5, pp. 9042–9053, Oct. 2019, doi: 10.1109/JIOT.2019.2926365.
  6. B. Alotaibi and K. Elleithy, “A majority voting technique for Wireless Intrusion Detection Systems,” in 2016 IEEE Long Island Systems, Applications and Technology Conference (LISAT), IEEE, Apr. 2016, pp. 1–6. doi: 10.1109/LISAT.2016.7494133.
  7. M. AL-Hawawreh, N. Moustafa, and E. Sitnikova, “Identification of malicious activities in industrial internet of things based on deep learning models,” Journal of Information Security and Applications, vol. 41, pp. 1–11, Aug. 2018, doi: 10.1016/j.jisa.2018.05.002.
  8. R. Doshi, N. Apthorpe, and N. Feamster, “Machine Learning DDoS Detection for Consumer Internet of Things Devices,” in 2018 IEEE Security and Privacy Workshops (SPW), IEEE, May 2018, pp. 29–35. doi: 10.1109/SPW.2018.00013.

Details

Primary Language

English

Subjects

Machine Learning Algorithms, Cybersecurity and Privacy (Other)

Journal Section

Research Article

Publication Date

September 2, 2026

Submission Date

November 22, 2025

Acceptance Date

February 2, 2026

Published in Issue

Year 2026 Volume: 14 Number: 3

APA
Akkurt, R., İzci, K., & Akkurt, A. (2026). IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION. Konya Journal of Engineering Sciences, 14(3), 1470-1489. https://doi.org/10.36306/konjes.1828360
AMA
1.Akkurt R, İzci K, Akkurt A. IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION. KONJES. 2026;14(3):1470-1489. doi:10.36306/konjes.1828360
Chicago
Akkurt, Ramazan, Kübra İzci, and Abdullah Akkurt. 2026. “IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION”. Konya Journal of Engineering Sciences 14 (3): 1470-89. https://doi.org/10.36306/konjes.1828360.
EndNote
Akkurt R, İzci K, Akkurt A (September 1, 2026) IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION. Konya Journal of Engineering Sciences 14 3 1470–1489.
IEEE
[1]R. Akkurt, K. İzci, and A. Akkurt, “IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION”, KONJES, vol. 14, no. 3, pp. 1470–1489, Sept. 2026, doi: 10.36306/konjes.1828360.
ISNAD
Akkurt, Ramazan - İzci, Kübra - Akkurt, Abdullah. “IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION”. Konya Journal of Engineering Sciences 14/3 (September 1, 2026): 1470-1489. https://doi.org/10.36306/konjes.1828360.
JAMA
1.Akkurt R, İzci K, Akkurt A. IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION. KONJES. 2026;14:1470–1489.
MLA
Akkurt, Ramazan, et al. “IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION”. Konya Journal of Engineering Sciences, vol. 14, no. 3, Sept. 2026, pp. 1470-89, doi:10.36306/konjes.1828360.
Vancouver
1.Ramazan Akkurt, Kübra İzci, Abdullah Akkurt. IMPROVING THE PERFORMANCE OF XGBOOST IN MULTI-CLASS IOT ATTACK DETECTION WITH LOSS FUNCTION OPTIMIZATION. KONJES. 2026 Sep. 1;14(3):1470-89. doi:10.36306/konjes.1828360