Smart defense based on explainable stacked machine learning architecture for securing internet of health things with K-means clustering

The Internet of Health Things (IoHT) transformed current healthcare by facilitating real-time patient monitoring and remote diagnosis via networked medical equipment. The advanced prevalence of interconnected medical devices creates substantial vulnerabilities, rendering IoHT settings more prone to advanced cyberattacks due to their miniature dimensions and diverse nature. To address these challenges, this study presents Smart Defence-IoHT, a novel stacked architecture enhanced with KMeans clustering to effectively detect and classify multi-class cyber threats within IoT-based healthcare networks using the latest ECU-IoHT dataset. Firstly, key features related to cyber networks, such as packet time, length, and encoded protocol, source, and destination information, are extracted and normalized. KMeans clustering is applied to uncover latent structural patterns in the data by grouping similar instances, and the resulting cluster labels are appended as an additional feature to enrich the input space. The proposed stack model captures different aspects of the data distribution, and the output of classifiers is integrated through a meta model, which improves the predictions from the collective learning of stacking. Experimental results demonstrate that the proposed model performed outstanding, achieved 99.41% accuracy, 99.39% precision, 99.40% f1 score, 99.93% AUC, 98.72% MCC, and 0.0221 log loss for five different attacks such as ARP Spoofing, DoS, Nmap Port Scans, Smurf Attacks, and normal traffic. Precision, recall, and F1-score were included alongside accuracy to better capture the model's ability to detect attacks while minimizing false alarms, providing a more meaningful evaluation for real-world IoHT systems. The experimental results clearly demonstrate that the proposed method achieves a superior detection rate compared to existing approaches. Furthermore, we applied Explainable Artificial Intelligence (XAI) techniques including SHAP and LIME for highlighting the importance of each feature and provides interpretability and model trust that is important in healthcare.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-10-24
DOI
https://doi.org/10.1038/s41598-025-21032-3
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Smart defense based on explainable stacked machine learning architecture for securing internet of health things with K-means clustering

Amal Al-Rasheed, Muhammad Mujahid, Amjad Rehman, Sarah Alotaibi et al.
Scientific Reports
Network Security and Intrusion Detection
article

Smart defense based on explainable stacked machine learning architecture for securing internet of health things with K-means clustering

Amal Al-Rasheed, Muhammad Mujahid, Amjad Rehman, Sarah Alotaibi, Abdallah Yousif, Tanzila Saba
article en

Abstract

The Internet of Health Things (IoHT) transformed current healthcare by facilitating real-time patient monitoring and remote diagnosis via networked medical equipment. The advanced prevalence of interconnected medical devices creates substantial vulnerabilities, rendering IoHT settings more prone to advanced cyberattacks due to their miniature dimensions and diverse nature. To address these challenges, this study presents Smart Defence-IoHT, a novel stacked architecture enhanced with KMeans clustering to effectively detect and classify multi-class cyber threats within IoT-based healthcare networks using the latest ECU-IoHT dataset. Firstly, key features related to cyber networks, such as packet time, length, and encoded protocol, source, and destination information, are extracted and normalized. KMeans clustering is applied to uncover latent structural patterns in the data by grouping similar instances, and the resulting cluster labels are appended as an additional feature to enrich the input space. The proposed stack model captures different aspects of the data distribution, and the output of classifiers is integrated through a meta model, which improves the predictions from the collective learning of stacking. Experimental results demonstrate that the proposed model performed outstanding, achieved 99.41% accuracy, 99.39% precision, 99.40% f1 score, 99.93% AUC, 98.72% MCC, and 0.0221 log loss for five different attacks such as ARP Spoofing, DoS, Nmap Port Scans, Smurf Attacks, and normal traffic. Precision, recall, and F1-score were included alongside accuracy to better capture the model's ability to detect attacks while minimizing false alarms, providing a more meaningful evaluation for real-world IoHT systems. The experimental results clearly demonstrate that the proposed method achieves a superior detection rate compared to existing approaches. Furthermore, we applied Explainable Artificial Intelligence (XAI) techniques including SHAP and LIME for highlighting the importance of each feature and provides interpretability and model trust that is important in healthcare.

Scientific ReportsVol. 15(1)
Princess Nourah bint Abdulrahman University (SA), Prince Sultan University (SA), University of Science and Technology Omdurman (SD), Sudan University of Science and Technology (SD)
Princess Nourah Bint Abdulrahman University, Prince Sultan University
Openalex Percentile: Top 64%
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.