A hierarchical ensemble learning framework for cyberthreat detection in IoT platforms

The proliferation of Internet of Things (IoT) and Internet of Medical Things (IoMT) devices has dramatically escalated the risk of cyberattacks, necessitating robust and highly responsive Intrusion Detection Systems (IDS). However, existing solutions frequently struggle with severe class imbalance and high-dimensional data, leading to a suboptimal trade-off between detection accuracy and computational efficiency. To address these challenges, this paper introduces a novel hierarchical machine learning-based IDS optimized for real-time multiclass attack detection. We construct a comprehensive unified dataset by integrating the recent CICIoT2023 and CICIoMT2024 datasets. Our framework first employs a Genetic Algorithm (GA) for feature selection, extracting a lightweight subset of critical features to minimize computational overhead. The core classification engine utilizes a two-stage hierarchical Random Forest architecture coupled with selective SMOTE oversampling. The first stage identifies major attack categories while grouping minority instances into a meta-class, which are then precisely classified by the second stage. Experimental evaluations demonstrate that the proposed hierarchical framework establishes an optimal accuracy-efficiency trade-off and improves the classification performance on minority attack classes compared to traditional flat classifiers. While simple data undersampling methods achieve fast runtimes at the cost of severe performance degradation, our hierarchical approach preserves exceptional detection capabilities and operates faster than conventional models trained on full datasets. The framework achieves robust F1-scores of 90% on the unified dataset and 89% on CICIoT2023 . Finally, the integration of Explainable AI (XAI) techniques, including SHAP and LIME, ensures model transparency and interpretability, making the proposed IDS a highly practical, reliable, and scalable solution for deployment in resource-constrained IoT environments.

Authors

Institutions

Publication Details

Journal
Peer-to-Peer Networking and Applications
Published
2026-11-05
DOI
https://doi.org/10.1007/s12083-026-02302-x
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A hierarchical ensemble learning framework for cyberthreat detection in IoT platforms

Masoud Mostafaei, Alireza Shafieinejad
Peer-to-Peer Networking and Applications
Network Security and Intrusion Detection
article

A hierarchical ensemble learning framework for cyberthreat detection in IoT platforms

Masoud Mostafaei, Alireza Shafieinejad
article en

Abstract

The proliferation of Internet of Things (IoT) and Internet of Medical Things (IoMT) devices has dramatically escalated the risk of cyberattacks, necessitating robust and highly responsive Intrusion Detection Systems (IDS). However, existing solutions frequently struggle with severe class imbalance and high-dimensional data, leading to a suboptimal trade-off between detection accuracy and computational efficiency. To address these challenges, this paper introduces a novel hierarchical machine learning-based IDS optimized for real-time multiclass attack detection. We construct a comprehensive unified dataset by integrating the recent CICIoT2023 and CICIoMT2024 datasets. Our framework first employs a Genetic Algorithm (GA) for feature selection, extracting a lightweight subset of critical features to minimize computational overhead. The core classification engine utilizes a two-stage hierarchical Random Forest architecture coupled with selective SMOTE oversampling. The first stage identifies major attack categories while grouping minority instances into a meta-class, which are then precisely classified by the second stage. Experimental evaluations demonstrate that the proposed hierarchical framework establishes an optimal accuracy-efficiency trade-off and improves the classification performance on minority attack classes compared to traditional flat classifiers. While simple data undersampling methods achieve fast runtimes at the cost of severe performance degradation, our hierarchical approach preserves exceptional detection capabilities and operates faster than conventional models trained on full datasets. The framework achieves robust F1-scores of 90% on the unified dataset and 89% on CICIoT2023 . Finally, the integration of Explainable AI (XAI) techniques, including SHAP and LIME, ensures model transparency and interpretability, making the proposed IDS a highly practical, reliable, and scalable solution for deployment in resource-constrained IoT environments.

Peer-to-Peer Networking and ApplicationsVol. 19(6)
Tarbiat Modares University (IR)
Openalex Percentile: Top 14%
Network Security and Intrusion Detection
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.

Laika access coming soon