Explainable XGBoost-Based Detection of IoT DDoS Attacks Using SHAP Analysis
Mustafa Yeniad, Abdel-Hamid Abdelkerim Mahamat
Ankara Yıldırım Beyazıt University
Key points
From the paper's conclusion- Overall, this study shows that integrating tree-based machine learning with explainable artificial intelligence can significantly improve both the effectiveness and transparency of intrusion detection systems.
Abstract
The rapid growth of Internet of Things (IoT) networks, accelerated by 5G technologies, has expanded the attack surface and increased vulnerability to Distributed Denial-of-Service (DDoS) attacks. Although machine learning techniques have demonstrated strong detection performance, many intrusion detection systems operate as black-box models, limiting their transparency. To address this limitation, this study proposes an explainable intrusion detection framework based on XGBoost integrated with SHapley Additive exPlanations (SHAP). Evaluated on the ACI-IoT-2023 dataset for binary classification of benign and DDoS traffic, the proposed framework demonstrated high detection performance, achieving 99.93% accuracy and 99.94% F1-score while maintaining a low inference time suitable for real-time intrusion detection. Beyond performance evaluation, explainability analysis was conducted using global and local SHAP analyses, statistical feature behavior analysis, misclassification analysis, and synthetic feature-based validation. The results reveal that temporal traffic characteristics, particularly Idle Max and Flow IAT Min, together with protocol-related behavior, represent the most influential factors in distinguishing malicious from benign traffic. The findings further demonstrate that the proposed framework learns stable and interpretable traffic patterns rather than relying on isolated feature values or arbitrary statistical correlations. Overall, this study shows that integrating tree-based machine learning with explainable artificial intelligence can significantly improve both the effectiveness and transparency of intrusion detection systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An XGBoost-Based Intrusion Detection Framework with Interpretability Analysis for IoT NetworksApplied Sciences · 2026
- An explainable XGBoost–MLP fusion framework for intrusion detection in 5G and beyond networksDiscover Artificial Intelligence · 2026
- Understanding Statistical and Temporal Representations for Large-Scale IoT DDoS Detection Through Ablation-Driven AnalysisJournal of Computing Theories and Applications · 2026
- Fog-Deployable XGBoost Framework for DDoS Detection in IoT Networks.Sensors (Basel, Switzerland) · 2026
- XAI-Driven Intrusion Detection for Internet of Things Networks.Sensors (Basel, Switzerland) · 2026
- AI-driven simulated DDoS attacks in OMNeT++ using SHAP-based explainability analysisDiscover Computing · 2026