Leaner but Weaker? Metaheuristic Feature Selection and the Adversarial Robustness of IoT Intrusion Detection

Metaheuristic feature selection is a routine step in IoT intrusion detection research. It is judged almost entirely by subset size, accuracy and running time. Whether the smaller detector is easier to evade has rarely been asked, and this paper asks it. Seven binary metaheuristics (GA, PSO, GWO, WOA, HHO, BSA and the Contraction Mapping Optimizer—CMO) selected features for a LightGBM detector on CICIoT2023, TON_IoT and UNSW-NB15, with 30 runs each under an equal evaluation budget. Every selected subset was then attacked by an adversary allowed to change only the features of its own traffic (sizes, rates and durations) under a fixed budget defined in the full feature space. Three attacks were used: decision-based random search, transfer PGD from a surrogate, and an importance-guided attack. Clean F1 hardly changed; evasion did. On TON_IoT and UNSW-NB15, every standard metaheuristic subset raised the success rate (ASR) of the decision-based attack by a factor of 1.27 to 1.83 over the full feature set at ϵ = 0.1, and on UNSW-NB15, the transfer attacks became 2.4 to 4.7 times more successful. A mutual-information filter of matched size was weaker still. On CICIoT2023, no subset was evaded in more than 1.6% of cases, so reduction did no harm there. The subset size turned out to be a weak predictor (ρ between −0.18 and −0.35). What mattered was what the subset kept, in particular whether it retained features the attacker can move or features computed from them. Adding a cheap validation attack to the usual accuracy and size terms of the fitness pushed all three optimisers we tried away from such features. With the GA, the decision-based ASR on UNSW-NB15 fell from 33.4% to 0.3% (full set: 22.5%) at a cost of 0.015 in F1; with the CMO, the same fitness reached 9.0%. Removing every controllable feature was just as robust and accurate on UNSW-NB15, but on TON_IoT it cost 0.015 in F1 and 0.056 in MCC, which the robust wrappers did not pay. Where the attack was already ineffective, the robust fitness changed nothing. Feature selection for intrusion detection should be tested against an adaptive attacker before it is called lossless. A control with the same accuracy and size weights but no attack term did not reduce evasion, which ties the gain to the attack information. The gain shrank on the official UNSW-NB15 partition and vanished for unseen TON_IoT hosts; under an expanded threat model with more attacker-controllable features, the full UNSW-NB15 detector lost its advantage, while the role of controllable features persisted.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-11-26
DOI
https://doi.org/10.3390/s26237474
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Leaner but Weaker? Metaheuristic Feature Selection and the Adversarial Robustness of IoT Intrusion Detection

Arar Al Tawil, Amnah Alshahrani, Afaf Edinat, Hana Fathi
Sensors
Network Security and Intrusion Detection
article

Leaner but Weaker? Metaheuristic Feature Selection and the Adversarial Robustness of IoT Intrusion Detection

Arar Al Tawil, Amnah Alshahrani, Afaf Edinat, Hana Fathi
article en

Abstract

Metaheuristic feature selection is a routine step in IoT intrusion detection research. It is judged almost entirely by subset size, accuracy and running time. Whether the smaller detector is easier to evade has rarely been asked, and this paper asks it. Seven binary metaheuristics (GA, PSO, GWO, WOA, HHO, BSA and the Contraction Mapping Optimizer—CMO) selected features for a LightGBM detector on CICIoT2023, TON_IoT and UNSW-NB15, with 30 runs each under an equal evaluation budget. Every selected subset was then attacked by an adversary allowed to change only the features of its own traffic (sizes, rates and durations) under a fixed budget defined in the full feature space. Three attacks were used: decision-based random search, transfer PGD from a surrogate, and an importance-guided attack. Clean F1 hardly changed; evasion did. On TON_IoT and UNSW-NB15, every standard metaheuristic subset raised the success rate (ASR) of the decision-based attack by a factor of 1.27 to 1.83 over the full feature set at ϵ = 0.1, and on UNSW-NB15, the transfer attacks became 2.4 to 4.7 times more successful. A mutual-information filter of matched size was weaker still. On CICIoT2023, no subset was evaded in more than 1.6% of cases, so reduction did no harm there. The subset size turned out to be a weak predictor (ρ between −0.18 and −0.35). What mattered was what the subset kept, in particular whether it retained features the attacker can move or features computed from them. Adding a cheap validation attack to the usual accuracy and size terms of the fitness pushed all three optimisers we tried away from such features. With the GA, the decision-based ASR on UNSW-NB15 fell from 33.4% to 0.3% (full set: 22.5%) at a cost of 0.015 in F1; with the CMO, the same fitness reached 9.0%. Removing every controllable feature was just as robust and accurate on UNSW-NB15, but on TON_IoT it cost 0.015 in F1 and 0.056 in MCC, which the robust wrappers did not pay. Where the attack was already ineffective, the robust fitness changed nothing. Feature selection for intrusion detection should be tested against an adaptive attacker before it is called lossless. A control with the same accuracy and size weights but no attack term did not reduce evasion, which ties the gain to the attack information. The gain shrank on the official UNSW-NB15 partition and vanished for unseen TON_IoT hosts; under an expanded threat model with more attacker-controllable features, the full UNSW-NB15 detector lost its advantage, while the role of controllable features persisted.

SensorsVol. 26(23)
Princess Nourah bint Abdulrahman University (SA), Amman Arab University (JO), Applied Science Private University (JO)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon