Dynamic feature weighting ensemble framework for IoT intrusion detection
Abstract
The increasing sophistication of network attacks poses significant challenges to traditional intrusion detection systems, including limited accuracy, poor adaptability, and high resource consumption. This paper presents a dynamic feature weighting ensemble framework for Internet of Things (IoT) intrusion detection (DFW-IDS), incorporating three key innovations: attack-type-driven dynamic feature weighting, a lightweight two-layer ensemble architecture combining Decision Tree, KNN, and Support Vector Machine (SVM) classifiers, and an adaptive threshold adjustment strategy based on sliding window error feedback. Experimental evaluation on the KDD99 dataset shows that DFW-IDS achieves a 99.2% recall rate for DoS attacks with a 1.8% false positive rate, while reducing memory usage by 40% and achieving 0.0005 seconds per sample inference latency. Validation on the NSL-KDD dataset further confirms its generalization capability, with a detection rate of 97.15% and a false positive rate of 8.23%. These results demonstrate that DFW-IDS is well-suited for real-time intrusion detection in resource-constrained IoT and edge environments.