Open Access iconOpen Access

ARTICLE

Bridging AI and Cyber Defense: A Stacked Ensemble Deep Learning Model with Explainable Insights

Faisal Albalwy1,*, Muhannad Almohaimeed2

1 Department of Cybersecurity, College of Computer Science and Engineering, Taibah University, Madinah, 42353, Saudi Arabia
2 Department of Information Systems, College of Computer Science and Engineering, Taibah University, Madinah, 42353, Saudi Arabia

* Corresponding Author: Faisal Albalwy. Email: email

(This article belongs to the Special Issue: Artificial Intelligence Methods and Techniques to Cybersecurity)

Computers, Materials & Continua 2026, 87(2), 23 https://doi.org/10.32604/cmc.2025.075098

Abstract

Intrusion detection in Internet of Things (IoT) environments presents challenges due to heterogeneous devices, diverse attack vectors, and highly imbalanced datasets. Existing research on the ToN-IoT dataset has largely emphasized binary classification and single-model pipelines, which often show strong performance but limited generalizability, probabilistic reliability, and operational interpretability. This study proposes a stacked ensemble deep learning framework that integrates random forest, extreme gradient boosting, and a deep neural network as base learners, with CatBoost as the meta-learner. On the ToN-IoT Linux process dataset, the model achieved near-perfect discrimination (macro area under the curve = 0.998), robust calibration, and superior F1-scores compared with standalone classifiers. Interpretability was achieved through SHapley Additive exPlanations–based feature attribution, which highlights actionable drivers of malicious behavior, such as command-line patterns, process scheduling anomalies, and CPU usage spikes, and aligns these indicators with MITRE ATT&CK tactics and techniques. Complementary analyses, including cumulative lift and sensitivity-specificity trade-offs, revealed the framework’s suitability for deployment in security operations centers, where calibrated risk scores, transparent explanations, and resource-aware triage are essential. These contributions bridge methodological rigor in artificial intelligence/machine learning with operational priorities in cybersecurity, delivering a scalable and explainable intrusion detection system suitable for real-world deployment in IoT environments.

Keywords

Cybersecurity; IoT intrusion detection; stacked ensemble learning; deep learning; explainable AI (XAI); probability calibration; SHAP interpretability; ToN-IoT dataset; MITRE ATT&CK

Cite This Article

APA Style
Albalwy, F., Almohaimeed, M. (2026). Bridging AI and Cyber Defense: A Stacked Ensemble Deep Learning Model with Explainable Insights. Computers, Materials & Continua, 87(2), 23. https://doi.org/10.32604/cmc.2025.075098
Vancouver Style
Albalwy F, Almohaimeed M. Bridging AI and Cyber Defense: A Stacked Ensemble Deep Learning Model with Explainable Insights. Comput Mater Contin. 2026;87(2):23. https://doi.org/10.32604/cmc.2025.075098
IEEE Style
F. Albalwy and M. Almohaimeed, “Bridging AI and Cyber Defense: A Stacked Ensemble Deep Learning Model with Explainable Insights,” Comput. Mater. Contin., vol. 87, no. 2, pp. 23, 2026. https://doi.org/10.32604/cmc.2025.075098



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 552

    View

  • 107

    Download

  • 0

    Like

Share Link