Akses terbuka Jurnal SINTA 1
Explainable IoT Intrusion Detection Using Random Forest, SMOTE, and SHAP
Jurnal Elektronika dan Telekomunikasi · Vol. 26 No. 1 (2026) · hlm. 45–53
- ISSN
- 1411-8289, 2527-9955
- Terbit
- 2026-08-31
- Penerbit
- Indonesian Institute of Sciences
- Bahasa
- en
Abstrak
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.
Kata kunci
Jaringan kolaborasi para penulis
40 penulis · 114 tautan kepenulisan bersama · 27 lintas organisasi · menampilkan 40 yang paling banyak terhubung
Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.
- State University of Malang
- Universiti Teknikal Malaysia Melaka
- Universiti Teknologi MARA
- Universitas Ahmad Dahlan
- Politeknik Negeri Malang
- University of Brawijaya
- University of South Australia
- Organisasi lain
- Afiliasi tidak diketahui
- Organisasi berbeda
- Organisasi sama
- Afiliasi tidak diketahui
- Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
| Rekan penulis | Organisasi | Artikel bersama |
|---|---|---|
| Agung Bella Putra Utama | State University of Malang | 3 |
| Didik Dwi Prasetya | State University of Malang | 3 |
| Rosa Andrie Asmara | Politeknik Negeri Malang | 2 |
| Denis Eka Cahyani | State University of Malang | 2 |
| Andrew Nafalski | University of South Australia | 2 |
| Langlang Gumilar | State University of Malang | 2 |
| Arif Nur Afandi | State University of Malang | 2 |
| M. Noer Fadli Hidayat | State University of Malang | 2 |
| Adi Izhar Che Ani | Universiti Teknologi MARA | 2 |
| Ahmad Shukri Firdhaus Kamaruzaman | Universiti Teknologi MARA | 2 |
| Mohammad Afiq Hamdani Mohammad Farid | Universiti Teknologi MARA | 2 |
| Resty Wulanningrum | State University of Malang | 2 |
| Sujito Sujito | State University of Malang | 2 |
| Syaad Patmanthara | State University of Malang | 2 |
| Cahya Rahmad | Politeknik Negeri Malang | 1 |
| Riri Nada Devita | State University of Malang | 1 |
| Heru Wahyu Herwanto | State University of Malang | 1 |
| Wayan Firdaus Mahmudy | University of Brawijaya | 1 |
| Nadia Roosmalita Sari | University of Brawijaya | 1 |
| Elta Sonalitha | Universitas Merdeka Malang | 1 |
| Ahmad Kadri Junoh | Universiti Malaysia Perlis | 1 |
| Rully Charitas Indra Prahmana | Universitas Ahmad Dahlan | 1 |
| Tri Sutanti | Universitas Ahmad Dahlan | 1 |
| Ahmad Muhammad Diponegoro | Universitas Ahmad Dahlan | 1 |
| Lizawati Binti Salahuddin | Universiti Teknikal Malaysia Melaka | 1 |
| Ummi Raba’ah Hashim | Afiliasi tidak diketahui | 1 |
| Kasturi Kanchymalay | Universiti Teknikal Malaysia Melaka | 1 |
| Martina Ali | Universiti Teknikal Malaysia Melaka | 1 |
| Rahillda Nadhirah Norizzaty Rahiddin | Universiti Teknikal Malaysia Melaka | 1 |
| Aripriharta Aripriharta | State University of Malang | 1 |
| Muhammad Cahyo Bagaskoro | State University of Malang | 1 |
| Yuni Rahmawati | State University of Malang | 1 |
| Gregorius Paulus Mario Laka Kaki | State University of Malang | 1 |
| Ayu Purwatiningsih | State University of Malang | 1 |
Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.