A Resource-Aware Edge–Cloud Framework for IoT Intrusion Detection under Traffic Shift
DOI:
https://doi.org/10.70882/vrj2bj45Keywords:
IoT Security; Intrusion Detection; Edge–Cloud Computing; Learning to Defer; Selective Escalation; Distribution Shift; CIC-DDoS2019; CICIoT2023.Abstract
Abstract
The gateway of an IoT network has to detect attacks with limited computation and limited uplink traffic. We built REC-IDS (Resource-aware Edge–Cloud IDS), in which a decision tree on the gateway classifies every flow and a deferral gate sends a declared share of the flows to a classifier in the cloud. First, we trained the tree and the cloud model on the training data. Second, we took a small labelled window from the beginning of the test period: its first half adapted the models in the adapted setting, and its second half trained the gate and set its threshold. Third, we tested the system on the remaining traffic. We used CIC-DDoS2019, with training and test data from different days, and CICIoT2023, with the first 70% of each class in time for training and the last 30% for testing. On CIC-DDoS2019 with a frozen gateway, the accuracy of the tree alone was 0.880. The learned gate raised it to 0.937, which is at the level of the cloud model alone (0.934), while 11% of the flows were sent and the uplink traffic fell by 89%. On CICIoT2023 the gain was smaller. At a declared budget of 10%, the accuracy went from 0.797 to 0.810 (cloud model 0.810), and after adapting the models to the labelled window it went from 0.817 to 0.835 (cloud model 0.837). Under a random split, the tree alone reached 0.9988 on CIC-DDoS2019 after the removal of conflicting labels and the cloud added nothing. On CICIoT2023 under a random split, the cloud model added one point of accuracy and the gate recovered it with 10% of the flows sent. The benefit of REC-IDS appeared when the test traffic differed from the training traffic: about 90% less uplink traffic at an accuracy close to that of the cloud model. On CICIoT2023 the learned gate was slightly better than a confidence gate.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Pure and Applied Sciences (Science Forum)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


