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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A routing-signal study of confidence-gated conditional computation for lightweight IoT intrusion detection

Marta Plaza-Hernández, Javier Prieto, Mahmoud Abbasi, Carolina Villoria Torres
Open Research Europe
Network Security and Intrusion Detection
article

A routing-signal study of confidence-gated conditional computation for lightweight IoT intrusion detection

Marta Plaza-Hernández, Javier Prieto, Mahmoud Abbasi, Carolina Villoria Torres
article en

Abstract

<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>

Open Research EuropeVol. 6
Universidad de Salamanca (ES)
HORIZON EUROPE Framework Programme
Openalex Percentile: Top 7%
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.