Generating key points…
Answers are grounded in this paper and cite their sources.
Machine learning-based intrusion detection systems (IDS) for the Internet of Things (IoT) are commonly evaluated using within-dataset protocols that can conceal benchmark-specific fitting, leakage, and failures under distribution shift. This study presents a leakage-aware, transfer-aware, and reproducible evaluation framework combining duplicate and leakage auditing, train-only preprocessing, mutual-information (MI) ranking, binary particle swarm optimisation (BPSO), validation-based threshold tuning, strict eight-concept cross-dataset mapping, optional correlation alignment (CORAL), and paired repeated-seed analysis. Five independent stratified holdout seeds were evaluated on resource-bounded real-data samples from Bot-IoT and UNSW-NB15. On Bot-IoT, near-perfect accuracy and attack-class F1 coexisted with much lower and unstable macro-F1 because each test split contained only six or seven normal records; mean macro-F1 ranged from 0.6871 ± 0.1314 for LR with MI+BPSO to 0.8590 ± 0.0683 for RF.On UNSW-NB15, XGBoost (0.9219 ± 0.0013) and RF (0.9182 ± 0.0031) outperformed LR with MI+BPSO (0.8738 ± 0.0039). No within-dataset comparison was significant after Holm adjustment in the exploratory five-seed Wilcoxon analysis. Multiclass results further showed that the MI-only feature pool outperformed the BPSO subset on both datasets. Strict cross-dataset macro-F1 was substantially lower than within-dataset performance. Source-only results ranged from 0.3186 to 0.4060 for Bot-IoT to UNSW-NB15 and from 0.3009 to 0.4457 in the reverse direction; CORAL improved macro-F1 only for RF in the Bot-IoT-to-UNSW-NB15 direction and degraded macro-F1 in the other five model-direction comparisons. Mean end-to-end single-record latency was 8.108 ms on Bot-IoT and 5.385 ms on UNSW-NB15. These findings support the methodological contribution: IoT-IDS claims should be based on leakage-controlled, class-aware, uncertainty-qualified, and transfer-aware evidence rather than headline accuracy alone.
No takes yet. Share an insight, caveat, or question.
Ogaili et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: