Intrusion Detection on Resource-Constrained IoT Devices with Hardware-Aware ML and DL

Ali Diab, Adel Chehade, Edoardo Ragusa, Paolo Gastaldo, Rodolfo Zunino +2 more
12/1/2025
cs.NIcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

This paper proposes a hardware-aware intrusion detection system (IDS) for Internet of Things (IoT) and Industrial IoT (IIoT) networks; it targets scenarios where classification is essential for fast, privacy-preserving, and resource-efficient threat detection. The goal is to optimize both tree-based machine learning (ML) models and compact deep neural networks (DNNs) within strict edge-device constraints. This allows for a fair comparison and reveals trade-offs between model families. We apply constrained grid search for tree-based classifiers and hardware-aware neural architecture search (HW-NAS) for 1D convolutional neural networks (1D-CNNs). Evaluation on the Edge-IIoTset benchmark shows that selected models meet tight flash, RAM, and compute limits: LightGBM achieves 95.3% accuracy using 75 KB flash and 1.2 K operations, while the HW-NAS-optimized CNN reaches 97.2% with 190 KB flash and 840 K floating-point operations (FLOPs). We deploy the full pipeline on a Raspberry Pi 3 B Plus, confirming that tree-based models operate within 30 ms and that CNNs remain suitable when accuracy outweighs latency. These results highlight the practicality of hardware-constrained model design for real-time IDS at the edge.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{diab2025intrusion,
  title  = {Intrusion Detection on Resource-Constrained IoT Devices with Hardware-Aware ML and DL},
  author = {Ali Diab and Adel Chehade and Edoardo Ragusa and Paolo Gastaldo and Rodolfo Zunino and Amer Baghdadi and Mostafa Rizk},
  year   = {2025},
  eprint = {2512.02272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.02272v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.02272.svg)](https://codeofpaper.com/paper/2512.02272)

Discussion