Melola Discovery

← Melola Discovery

Akses terbuka Jurnal SINTA 1

Benchmarking Classical And Neural Machine Learning for Intrusion Detection on Resource-Constrained IoT Platforms

JURNAL INFOTEL · Vol. 18 No. 3 (2026) · hlm. 490–509

DOI
10.20895/infotel.v18i3.10763
ISSN
2085-3688, 2460-0997
Terbit
2026-08-31
Penerbit
LPPM Institut Teknologi Telkom Purwokerto
Bahasa
en
Lisensi
creativecommons.org/licenses/by-nc-sa/4.0/

Abstrak

Intrusion detection system (IDS) research commonly evaluates models on server-grade hardware, overlooking whether these models actually run on the low-cost micro-controllers deployed at the network edge. This study benchmarks five machine learning models–Decision Tree (DT), Random Forest (RF), k-Nearest Neighbors (KNN), Deep Neural Network (DNN), and 1D Convolutional Neural Network (CNN)—for binary intrusion detection across three platforms: ESP32, Arduino Uno, and Arduino Nano. Classical models are exported through MicroMLGen, while neural models are deployed via TensorFlowLite for Microcontrollers with INT8 quantization on ESP32 and through a framework-free float32 PROGMEM approach on 8-bit AVR. Evaluation uses NSL-KDD and Edge-IIoTset v2 under a stratified balanced protocol with multiple random seeds. On NSL-KDD, DT obtains the best trade-off (F1=0.829, 2.65 µs latency on ESP32), outperforming all neural variants. The INT8-quantized DNN deployed on ESP32 shows severe precision-recall imbalance (F1=0.637), whereas the same DNN deployed in float32 on AVR reaches F1=0.762; since host-side INT8 evaluation is lossless and the AVR float32 deployment reproduces host predictions exactly, the on-device gap is a deployment-specific effect of the INT8 TFLite Micro path on ESP32, not of post-training quantization. CNN runs only on ESP32 (F1=0.720). Uniform perfect scores on Edge-IIoTset v2 serve as deployment-context evidence only; the findings above are limited to NSL-KDD. These results challenge the widespread assumption that neural networks automatically surpass classical methods for embedded IDS, and offer practitioners evidence-based guidance.

Kata kunci

Jaringan kolaborasi para penulis

2 penulis · 1 tautan kepenulisan bersama

Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.

  • Universitas Dian Nuswantoro
  • Organisasi berbeda
  • Organisasi sama
  • Afiliasi tidak diketahui
  • Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
Rekan penulisOrganisasiArtikel bersama

Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.

Sumber metadata: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S4210188896, pertama di-harvest 19 Nov 2026, terakhir terlihat 22 Nov 2026.
Metadata asli (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">Benchmarking Classical And Neural Machine Learning for Intrusion Detection on Resource-Constrained IoT Platforms</dc:title><dc:creator>Nur Dwi Priyambodo</dc:creator><dc:creator>Edi Sugiarto</dc:creator><dc:subject>intrusion detection</dc:subject><dc:subject>Internet of Things security</dc:subject><dc:subject>resource-constrained devices</dc:subject><dc:subject>microcontroller deployment</dc:subject><dc:subject>on-device learning</dc:subject><dc:subject>model benchmarking</dc:subject><dc:subject>INT8 quantization</dc:subject><dc:subject>TensorFlow Lite Micro</dc:subject><dc:subject>ESP32 microcontroller</dc:subject><dc:subject>Arduino</dc:subject><dc:subject>1D convolutional neural network</dc:subject><dc:subject>decision tree</dc:subject><dc:subject>random forest</dc:subject><dc:subject>k-nearest neighbors</dc:subject><dc:subject>NSL-KDD dataset</dc:subject><dc:subject>Edge-IIoTset</dc:subject><dc:description xml:lang="en">Intrusion detection system (IDS) research commonly evaluates models on server-grade hardware, overlooking whether these models actually run on the low-cost micro-controllers deployed at the network edge. This study benchmarks five machine learning models–Decision Tree (DT), Random Forest (RF), k-Nearest Neighbors (KNN), Deep Neural Network (DNN), and 1D Convolutional Neural Network (CNN)—for binary intrusion detection across three platforms: ESP32, Arduino Uno, and Arduino Nano. Classical models are exported through MicroMLGen, while neural models are deployed via TensorFlowLite for Microcontrollers with INT8 quantization on ESP32 and through a framework-free float32 PROGMEM approach on 8-bit AVR. Evaluation uses NSL-KDD and Edge-IIoTset v2 under a stratified balanced protocol with multiple random seeds. On NSL-KDD, DT obtains the best trade-off (F1=0.829, 2.65 µs latency on ESP32), outperforming all neural variants. The INT8-quantized DNN deployed on ESP32 shows severe precision-recall imbalance (F1=0.637), whereas the same DNN deployed in float32 on AVR reaches F1=0.762; since host-side INT8 evaluation is lossless and the AVR float32 deployment reproduces host predictions exactly, the on-device gap is a deployment-specific effect of the INT8 TFLite Micro path on ESP32, not of post-training quantization. CNN runs only on ESP32 (F1=0.720). Uniform perfect scores on Edge-IIoTset v2 serve as deployment-context evidence only; the findings above are limited to NSL-KDD. These results challenge the widespread assumption that neural networks automatically surpass classical methods for embedded IDS, and offer practitioners evidence-based guidance.</dc:description><dc:publisher>LPPM Institut Teknologi Telkom Purwokerto</dc:publisher><dc:date>2026-08-31</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:identifier>https://doi.org/10.20895/infotel.v18i3.10763</dc:identifier><dc:identifier>10.20895/infotel.v18i3.10763</dc:identifier><dc:source>JURNAL INFOTEL; Vol 18 No 3 (2026); 490-509</dc:source><dc:source>2085-3688</dc:source><dc:source>2460-0997</dc:source><dc:language>en</dc:language><dc:rights>https://creativecommons.org/licenses/by-nc-sa/4.0/</dc:rights></oai_dc:dc>