← Lab /Security & privacy

Three-feature model reaches MCC 0.9622, cutting feature set by 92%

A small subset of features can achieve near-full intrusion detection performance on IoT devices

Security & privacy arXiv 7 Nov 2026 Method Prototype evidence

Published as “Towards Lightweight IoT Intrusion Detection: Feature Optimization and Explainable Machine Learning for Resource-Constrained Environment”

Why it matters

The approach makes it feasible to run ML-based IDS on memory- and power-constrained IoT devices by drastically shrinking the required feature set without severely compromising detection accuracy.

Summary

The authors show that a Random Forest IDS using only three features (HTTPS, ack flag number, ack count) attains an MCC of 0.9622, a 92.1% reduction in feature-processing requirements, and a fifteen-feature model retains 99.97% of the full-feature MCC (0.9747) while cutting the feature set by 60.5%. They evaluate on the public CICIoT2023 dataset, balancing it to 35,588 records, and compare against a baseline Random Forest using all 38 features. Evidence is based on stratified 5-fold cross-validation and MCC as the primary metric, which is appropriate for the highly imbalanced data, but the performance drop for the ultra-light model is not negligible.

What they found 1

  1. A three-feature model (HTTPS, ack flag number, ack count) achieves MCC 0.9622 with 92.1% feature-processing reduction

    “a three-feature model achieves an MCC of 0.9622 while reducing feature-processing requirements by 92.1%”

Caveats 4

  • The MCC drops from 0.9747 (full 38-feature baseline) to 0.9622 for the three-feature model, indicating a measurable loss in detection quality
  • Training and inference times are only modestly reduced (e.g., training time 0.221 s for 3-feature vs 1.137 s for full model), so resource gains may be limited for some deployments
  • Future work will focus on validating the proposed framework using additional IoT intrusion detection datasets to further assess model generalization and robustness.
  • Real-world deployment on IoT and edge devices will also be investigated to evaluate practical performance in terms of latency, memory utilization, CPU consumption, and energy efficiency.

What’s new here 3

  • Combines feature ranking, aggressive feature reduction, and SHAP explainability in a single framework
  • Quantifies resource savings (feature-processing reduction) alongside detection performance using MCC
  • Demonstrates that a three-feature model can achieve MCC >0.96 on a realistic IoT traffic dataset