Sriwijaya Electrical and Computer Engineering (Selco) Journal
Vol. 1 No. 2 (2024): Sriwijaya Electrical and Computer Engineering Journal

Enhancing the performance of IoT network intrusion detection models using NF-ToN-IoT-V2 and IoTID20 datasets with chi-square feature selection

Thereza, Nadia (Unknown)
Harahap, Pardomuan Raja (Unknown)



Article Info

Publish Date
05 Jun 2025

Abstract

The Internet of Things (IoT) expansion increases the number and size of networks and the volume of sensitive and private data. Consequently, IoT networks have become vulnerable to various threats and attacks. Researchers have recently devised intrusion detection systems (IDSs) to detect threats and attacks on IoT networks. However, in developing IDS for IoT networks, previous studies predominantly used more limited datasets to depict the actual IoT network characteristics. Thus, this research used datasets containing network flow records from real IoT networks, namely the NF-ToN-IoT-V2 and IoTID20. Various machine-learning algorithms, such as random forest, decision tree, naïve Bayes, AdaBoost, and XGBoost, were employed to train and evaluate the datasets for developing intrusion detection models. We investigated the model's performance based on accuracy, precision, recall, F1-score, false positive rate, training, and testing time utilization. We used the chi-square algorithm for feature selection to select the most relevant and valuable features. The findings indicate that implementing feature selection using chi-square improves the performance of the detection system models. By applying the Chi-Square algorithm, the RF model that outperforms in terms of accuracy performance increases its accuracy up to 0.42% on the NF-ToN-IoT-V2 testing and 0.16% on the IoTID20 testing. The DT model with the fastest training and testing time reduces its time utilization by 6.98% on the NF-ToN-IoT-V2 testing and 29.63% on the IoTID20 testing through feature selection.

Copyrights © 2024






Journal Info

Abbrev

selco

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

Selco Journal is a peer-reviewed, open-access publication dedicated to advancing research and innovation in the fields of electrical engineering and computer engineering. SELCO journal serves as a platform for scholars, researchers, academicians, and industry professionals to disseminate their ...