Empowering IoT security: deploying TinyML ensemble techniques for cyberattack detection

As the Internet of Things (IoT) grows and devices connect, protecting IoT networks from vulnerabilities is crucial. Intrusion detection systems (IDS) that use machine learning (ML) techniques are vital for increasing security and preventing unauthorized access. Traditionally, ML models have been trained and deployed on forceful computers, such as cloud services. However, sending data to the cloud can slow the detection of attacks in real time. This research constructs and assesses the TinyML ensemble and singular techniques, focusing on bagging (Random Forest) and boosting (XGBoost) using decision trees as the base learner, employing three feature selection (FS) methods (analysis of variance (ANOVA), maximum relevance minimum redundancy (mRMR), and chi-square), and different feature thresholds over the NF-ToN-IoT-v2 and NF-BoT-IoT-v2 datasets for cyberattack detection. The evaluations were performed on the Arduino UNO, considering two prediction performance criteria (Matthew's correlation coefficient and Cohen's kappa), three performance aspects linked to the embedded device: inference time (i.e. latency), static RAM, and flash memory, and using the Borda Count voting system to rank the models. A total of 140 TinyML ensembles and 14 singular classifier variants were tested on the Arduino UNO. The results show that XGBoost with 5 estimators, ANOVA with mRMR as FS, and selecting 40% of the best features is the best configuration for a TinyML-based IDS. This underscores its usefulness in detecting cyberattacks in IoT settings.

Authors

Institutions

Publication Details

Journal
Scientific African
Published
2025-06-11
DOI
https://doi.org/10.1016/j.sciaf.2025.e02809
Citations
6
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
8.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Empowering IoT security: deploying TinyML ensemble techniques for cyberattack detection

Ali Idri
6 citations
Scientific African
Network Security and Intrusion Detection
8.92
article

Empowering IoT security: deploying TinyML ensemble techniques for cyberattack detection

Ali Idri
article en
6 citations

Abstract

As the Internet of Things (IoT) grows and devices connect, protecting IoT networks from vulnerabilities is crucial. Intrusion detection systems (IDS) that use machine learning (ML) techniques are vital for increasing security and preventing unauthorized access. Traditionally, ML models have been trained and deployed on forceful computers, such as cloud services. However, sending data to the cloud can slow the detection of attacks in real time. This research constructs and assesses the TinyML ensemble and singular techniques, focusing on bagging (Random Forest) and boosting (XGBoost) using decision trees as the base learner, employing three feature selection (FS) methods (analysis of variance (ANOVA), maximum relevance minimum redundancy (mRMR), and chi-square), and different feature thresholds over the NF-ToN-IoT-v2 and NF-BoT-IoT-v2 datasets for cyberattack detection. The evaluations were performed on the Arduino UNO, considering two prediction performance criteria (Matthew's correlation coefficient and Cohen's kappa), three performance aspects linked to the embedded device: inference time (i.e. latency), static RAM, and flash memory, and using the Borda Count voting system to rank the models. A total of 140 TinyML ensembles and 14 singular classifier variants were tested on the Arduino UNO. The results show that XGBoost with 5 estimators, ANOVA with mRMR as FS, and selecting 40% of the best features is the best configuration for a TinyML-based IDS. This underscores its usefulness in detecting cyberattacks in IoT settings.

Scientific AfricanVol. 29
Mohammed V University (MA), Université Mohammed VI Polytechnique (MA)
Openalex Percentile: Top 2%
Network Security and Intrusion Detection
8.92
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.

Empowering IoT security: deploying TinyML ensemble techniques for cyberattack detection — Ali Idri · Scientific African (2025) | TGRS Research Map | TGRS