Aug 2026· Jurnal Elektronika dan Telekomunikasi· 0 citations· 32 references
TL;DR
The proposed RF–SMOTE–SHAP framework delivers a high-performing IoT IDS while providing improved transparency in explaining detection decisions, thereby supporting the development of trustworthy and interpretable IDS solutions for IoT environments.
Abstract
Class imbalance in Internet of Things (IoT) Intrusion Detection System (IDS) datasets is a major challenge that degrades the detection performance on minority attacks and complicates model interpretability. This study investigates the performance of an IoT IDS based on Random Forest (RF) combined with the Synthetic Minority Over-sampling Technique (SMOTE) and explainable AI analysis using SHapley Additive exPlanations (SHAP) on the public IoTID20 dataset. The research pipeline consists of data preprocessing (cleaning, numerical and categorical feature encoding, normalization), stratified train–test split into 7,000 training and 3,000 test samples, training an RF baseline on the imbalanced training set, applying SMOTE to balance the DoS, Scan, Normal, and MITM ARP Spoofing classes, and training an RF–SMOTE model. The models are compared using accuracy, precision, recall, and F1-score per class as well as macro averages. Afterwards, SHAP is employed to analyse global feature importance for both models. Experimental results show that the RF baseline already achieves very high performance with an accuracy of about 0.99 and a macro F1-score of approximately 0.984, while the RF–SMOTE model maintains the same accuracy with a macro F1-score of around 0.983. SMOTE substantially improves the class distribution in the training set but yields only minor differences in aggregate performance, RF–SMOTE slightly enhances sensitivity for some minority classes, whereas the F1-score for the MITM ARP Spoofing class decreases marginally compared to the baseline. SHAP analysis indicates that flow-related traffic features such as connection duration, packet counts, byte volume, and packet direction ratios are consistently the most influential features in both models. Changes in SHAP values for the RF–SMOTE model highlight an increased relative contribution of features representing rare attack patterns, making explanations for minority classes more prominent. Overall, the proposed RF–SMOTE–SHAP framework delivers a high-performing IoT IDS while providing improved transparency in explaining detection decisions, thereby supporting the development of trustworthy and interpretable IDS solutions for IoT environments.
Imbalanced class distributions in Internet of Things (IoT) attack datasets limit the ability of machine learning (ML) models to detect minority intrusions and lead to high false-negative rates. This study investigates the effectiveness of the Synthetic Minority Oversampling Technique (SMOTE) in improving multi-class at...
Ela Kalifati, K. Küçük, Şevval Şolpan et al.· Journal of universal compute...· 0 citations
Internet of Things (IoT) technologies have introduced a new complexity in the network environment and made it larger, leading to the demand for accurate, robust and interpretable Intrusion Detection System (IDS). This study presents a machine-learning framework for multi-class IoT intrusion detection system (IDS) with...
Assistant Lecturer Ahmed Ridha Khudhur· مجلة الشرق الأوسط للعلوم الإ...· 0 citations
: Artificial intelligence (AI)-based intrusion detection systems (IDS) have evolved to be fundamental in detecting cyberattacks in contemporary networks. Unfortunately, the significant class imbalance present in cyberse-curity datasets may introduce unfair biases during model learning, producing unpredictable predictio...
John Ojo Ajayi, Grace Egenti· Journal of Cyber Security· 0 citations
A unified taxonomy is developed in which data integrity, model intelligence, temporal resilience, human trust, and evaluation rigor are treated as interdependent design requirements and an evidence-driven architecture and a research agenda for device-aware evaluation, calibrated uncertainty, explanation monitoring, and...
Aanchal Khare· IJAICET - International Jour...· 0 citations
The SHAP analysis identifies the transformed network attributes that contribute most strongly to attack predictions and illustrates how individual records can be explained, which adds an interpretability layer to conventional network-traffic classification and can support analystoriented investigation of suspicious eve...
D. P., H. S.· International Journal of Sci...· 0 citations
Introduction Internet of Things (IoT) botnet detection faces significant challenges due to the growing intricacy and decreased transparency of Machine Learning (ML) models. Methods In this work, we provide an ensemble-based detection system that makes use of a voting classifier made up of a Boosted Decision Tree and a...
Linda Joseph, S. M., V. M· Frontiers in Big Data· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.