Comparative Analysis of Machine Learning Classifiers for Lightweight IoT Intrusion Detection Using Feature Reduction
Shaker Nawasra
Key points
From the paper's conclusion- This study presents a lightweight binary IoT intrusion detection framework using an approximately balanced CICIoT2023 derived dataset, feature reduction, and comparative machine learning evaluation.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An optimized gradient boosting framework for IoT intrusion detection: a comprehensive evaluation on the CICIoT2023 datasetScientific Reports · 2026
- Adaptive lightweight intrusion detection system for internet of things and internet of medical things securityDiscover Internet of Things · 2026
- Towards Lightweight IoT Intrusion Detection: Feature Optimization and Explainable Machine Learning for Resource-Constrained EnvironmentarXiv · 2026
- Efficient detection of intrusions in TON-IoT dataset using hybrid feature selection approachScientific Reports · 2026
- LIMITS: A Lightweight Two-Layer Hybrid IoT Intrusion Detection System with Mutual-Information Feature SelectionElectronics · 2026
- The Aggregate–Worst-Class Trade-Off in Feature Selection for IoT Intrusion Detection: A Multi-Objective Study on TON_IoTComputation · 2026