When Learned IDS Model Selection Collapses to a Static Choice: A Measurement Study at the Edge
Nuonan Ouyang, Bonan Zhang, Adrian Shatte, Zhigang Lu, Chao Chen, Wei Xiang
Abstract
Runtime model selection trades detection quality against energy and latency. However, comparing a selector only with a more costly static detector conflates detector choice with the benefit of adaptation. We present a framework for analysis and physical measurement that combines a pairwise reward criterion, matched static controls, paired blocks, a fixed load-prevalence factorial design, and reporting of actions outside training support. On one Raspberry Pi 4B with four frozen TON-IoT detectors, tabular Q-learning and a deep Q-network (DQN) both select LightLR throughout. A retrospective audit using validation data only rules out preference reversals for MedRF versus LightLR and HeavyMLP versus LightLR. However, TinyDT has a higher reward than LightLR in seven of the 2,500 windows, so the audit does not establish global LightLR optimality. We also evaluate a causal DeadlineGuard rule under a fixed factorial design with three arrival rates (50, 100, and 4,000 rows/s) and three attack prevalences (0.10, 0.50, and 0.90). Compared with Static-MedRF, DeadlineGuard saves 43.7 J per 500-s run (2.98%; 95% paired CI 41.4--46.0 J) and eliminates all 512 deadline misses among 5,000 windows, at a cost of 1.373 percentage points in F1. Outside training support, Tabular-Q's deterministic tie-breaking rule selects TinyDT, resulting in a false-positive rate of 67.76%. These single-board results motivate joint audits of reward attainability, realized actions, attribution against matched static controls, service feasibility, and default actions outside training support.
Create a lesson
Related papers
ComputeWise: Measuring and Fixing GPU Waste by AI Research Agents
Shared title terminologycs.AIEgor Pakhomov, Nina Pakhomova, Anurag Koul et al.
Skill-Composer: Requirement-Driven Skill Selection from Multiple Marketplaces
Shared title terminologycs.AIZicheng Chen, Jia Li, Xiaohong Chen et al.
A statistical measure of trust in generative AI
Shared title terminologycs.AIAlina Ermilova, Valeria Yakupova, Nikita Sushko et al.
Correlated by Construction: Endpoint Choice and the Validation of Protein Screening
Shared title terminologycs.AIEric LoPrete, Galen Loving, George Sabin et al.
OWE-Bench: A long-horizon benchmark for measuring real-world engineering
Shared title terminologycs.AIJacob Cole, Martin Dimakis, Victor Barres et al.
The Retry Tax: Why Static Same-Task Retries Can Cost More per Completion
Shared title terminologycs.AIWei-Jung Huang