Analysis of Attack Detection on IoT Using XGBoost Algorithm and SHAP
With the increasing popularity of IoT devices, the potential for cyber-attack threats is also rising. These devices can steal valuable information, conduct monitoring activities, or launch ransomware attacks. The cybersecurity community has made considerable progress in developing security tools and methods to protect the users and data within conventional IT systems. One such solution to prevent these threats is the Intrusion Detection System (IDS). Intrusion detection systems powered by artificial intelligence perform outstandingly in detecting attacks. This research uses the XGBoost algorithm to detect attacks on IoT systems, and XAI was applied to the model to improve interpretability and readability. The dataset used is an IoT and IIoT application data collection called Edge-IIoTset. In this research, tests were carried out to compare the performance of XGBoost with Logistic Regression, Decision Tree, and Random Tree. Global and local explanations were created using SHAP to improve the interpretability and readability of the model. This research shows that XGBoost outperforms the other classifiers with an accuracy of 97.5%, precision of 97%, recall of 100%, and an F1 score of 99%.
Authors
- Parman Sukarno (ORCID: https://orcid.org/0000-0002-2565-3580)
- Muhammad Habibi (ORCID: https://orcid.org/0000-0001-7039-5827)
Institutions
- Telkom University (ID)
Publication Details
- Published
- 2025-07-30
- DOI
- https://doi.org/10.1109/icoict66265.2025.11193104
- Primary Topic
- Brain Tumor Detection and Classification
- Type
- article
- Field-Weighted Citation Impact
- 0.00