betaFeedback

WorksComputer Science

Comparative Analysis of Machine Learning Classifiers for Lightweight IoT Intrusion Detection Using Feature Reduction

Abstract

Machine learning-based intrusion detection systems can improve IoT security, but high-dimensional traffic features and imbalanced datasets may reduce model reliability and deployment feasibility in resource-constrained environments. This study presents a lightweight binary IoT intrusion detection framework using an approximately balanced CICIoT2023 derived dataset, feature reduction, and comparative machine learning evaluation. The original multi-class attack labels were converted into two classes: Benign and Malicious. To reduce class bias, malicious traffic was randomly undersampled to obtain an approximately balanced binary dataset. Information Gain Ratio and Gini Decrease were then used to rank traffic features and generate reduced feature subsets of 38, 30, 20, 10, 5, and 3 features. Five machine learning classifiers, including Random Forest(RF), Decision Tree(DT), Naive Bayes(NB), Logistic Regression(LR), and Support Vector Machine(SVM), were evaluated using 5-fold cross-validation. The results show that Random Forest achieved the strongest overall performance. In particular,the 20-feature subset achieved accuracy of 99.1% and MCC of 0.982, matching the full-feature model while reducing feature dimensionality by approximately 47.4%. The 10-feature subset also maintained strong performance with accuracy of 98.9% and MCC of 0.979, reducing the feature space by approximately 73.7%. These findings demonstrate that balanced binary classification and progressive feature reduction can preserve detection effectiveness while improving lightweight IDS feasibility.

Paper details

vlnc:W_hv3c8deq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…