A routing-signal study of confidence-gated conditional computation for lightweight IoT intrusion detection
<ns5:p> Background Intrusion detection at Internet of Things (IoT) edge gateways must run under tight compute and memory budgets, motivating <ns5:italic>dual-path</ns5:italic> designs that classify most flows with a cheap model and escalate only uncertain flows to a heavier one. A prior conference study introduced such a system, in which a tiny multilayer perceptron (MLP) on features compressed by principal component analysis (PCA) is the fast path, gated to a heavy MLP by the maximum softmax probability (MSP). That system recovers near-heavy accuracy while escalating few flows. Methods We extend that work into a systematic study of <ns5:italic>what signal should drive the escalation gate.</ns5:italic> On three benchmarks (ACI-IoT-2023, TabularIoTAttacks-2024, and the large-scale CICIoT2023), we compare routing signals (MSP, predictive entropy, margin, energy, temperature-scaled confidence, latent norm) against a <ns5:italic>learned router</ns5:italic> and an <ns5:italic>oracle</ns5:italic> bound at matched cost; study temperature-scaling calibration and a leakage-free threshold rule; test a tiny-ensemble disagreement signal; and evaluate robustness, latency, model size, statistical significance, and cross-dataset transfer. Results Confidence-gated routing gives large, statistically significant gains over the tiny model on every dataset, whereas a learned router improves only marginally over plain MSP, so once an escalation budget is fixed a simple MSP gate suffices. On CICIoT2023 we observe an <ns5:italic>oracle gap.</ns5:italic> Routing cannot reach the heavy model even at large budgets, because the tiny model is <ns5:italic>confidently wrong</ns5:italic> on a few high-volume attack families such as denial-of-service (DoS) floods that are never escalated. Neither ensembling nor confidence-independent signals close the gap. A fixed threshold does not transfer across datasets, its escalation rate swinging from 1 % to 55 % . Conclusions The efficiency benefit grows with a stronger heavy backbone, including a gradient-boosted-tree heavy. Gates should be set by a budget, and closing the oracle gap requires identifying confident errors within high-confidence classes rather than a better routing signal. </ns5:p>
Authors
- Marta Plaza-Hernández (ORCID: https://orcid.org/0000-0002-2249-5425)
- Javier Prieto (ORCID: https://orcid.org/0000-0001-8175-2201)
- Mahmoud Abbasi (ORCID: https://orcid.org/0000-0002-1886-8284)
- Carolina Villoria Torres (ORCID: https://orcid.org/0009-0009-7857-8252)
Institutions
- Universidad de Salamanca (ES)
Publication Details
- Journal
- Open Research Europe
- Published
- 2026-07-27
- DOI
- https://doi.org/10.12688/openreseurope.24532.1
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- HORIZON EUROPE Framework Programme