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.
Create a lesson
Metadata
- Journal
- 2026 IEEE International Conference on AI-Enabled Internet of Things (AIBThings), 2026
- Comments
- 6 pages, 2 figures, 3 tables. Published in IEEE AIBThings 2026
Related papers
An LLM-Assisted Multi-Objective AutoML Framework for Efficient Network Intrusion Detection
Shared title terminologycs.CRAilin Barzegar, Khalil El-Khatib, Li Yang
Enhancing Metaverse Security using Explainable AI-based Intrusion Detection Framework
Shared title terminologycs.CREsha Kuppanda, Shalaka Mahadik, Pranav M. Pawar et al.
Open-Set Radio Frequency Fingerprint Identification with Feature Fusion and Vision Transformer
Shared title terminologycs.CRJie Ma, Junqing Zhang, Guanxiong Shen et al.
IDSMorph: Self-Adaptive Malicious Traffic Detection through Consistency-Guided Dynamic Decision Boundaries
Shared title terminologycs.CRHao Fu, Degang Sun, Jinxia Wei et al.
Lightweight Spectral Subspace Filtering for Trojan-Resilient AI Inference Engines
Shared title terminologycs.CRSoumita Chatterjee, Sudip Ghosh, Tamal Ghosh et al.
Quantum-Annealing-Assisted Search-Space Reduction for Large-Scale Shortest-Path Computation
Shared title terminologycs.CRKasymkhan Khubiyev, Yaroslav Kholodov, Alexey Petrenko