Designing Trustworthy Explainable Machine Learning Framework for Cyber Security Threat Analytics for Real-Time Threat Detection in Edge Computing

Authors

  • Iqra Aslam Faculty of Computer Science & IT, Superior University Lahore, 54000, Pakistan Author
  • Nasir Ayub Calrom Limited, M16EG, United Kingdom Author
  • Chaudary Umair Mehmood Edge Hill University, Ormskirk L39 4QP, United Kingdom Author
  • Hamayun Khan Department of Computer Science, Faculty of Computer Science & IT, Superior University, Lahore, 54000, Pakistan Author
  • Hafiz Muhammad Sufiyan Khan Devcore System Lahore, Punjab, Pakistan Author
  • Muhammad Ahmad Yousaf Wcg Technology Solutions, Wll, Bahrain Author
  • Hassan Ali Mehdi Codantrix Labs, Lahore, 54000, Pakistan Author
  • Muhammad Waleed Khawar Innova Network, 184 C, Airline Society, Lahore, 54000, Pakistan Author
  • Mian Muhammad Abdullah Department of Information Technology, TezHost, Gulberg 44022, Islamabad, Pakistan Author

DOI:

https://doi.org/10.5281/zenodo.23943314

Keywords:

Edge Computing, Cybersecurity, Intrusion Detection System, Explainable Artificial Intelligence, Machine Learning, Random Forest, XGBoost, SHAP, LIME, CICIDS2017

Abstract

Edge computing reduces communication latency by moving computation closer to data sources, but its distributed and resource-constrained architecture expands the cybersecurity attack surface. Machine-learning-based intrusion detection can identify malicious network traffic effectively, yet many models provide limited insight into why a particular flow is classified as benign or malicious. This paper presents an explainable machine-learning framework for edge-oriented cybersecurity threat analytics that combines Random Forest (RF) and Extreme Gradient Boosting (XGBoost) with Shapley Additive Explanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME). The framework was evaluated using the CICIDS2017 network intrusion dataset after data cleaning, infinite-value handling, label encoding, Min-Max normalization, feature selection, and an 80:20 stratified hold-out split with random state 42. The article reports RF performance of 98.70% accuracy, 98.50% precision, 98.40% recall, 98.40% F1-score, 0.992 ROC-AUC, and 98.60% PR-AUC. The detailed XGBoost results table reports 98.20% accuracy, 99.00% precision, 99.10% recall, 99.00% F1-score, 0.997 ROC-AUC, and 99.30% PR-AUC. SHAP identified Flow Duration, Destination Port, Flow Bytes/s, and Packet Length Mean among the most influential features, while LIME provided local explanations for individual traffic decisions. The results indicate that XGBoost provides stronger predictive discrimination on most reported metrics, whereas RF offers lower training requirements and faster prediction. The combined framework therefore addresses the dual requirements of detection performance and interpretability for edge-oriented intrusion detection.

Downloads

Download data is not yet available.

Downloads

Published

2026-02-23

How to Cite

Designing Trustworthy Explainable Machine Learning Framework for Cyber Security Threat Analytics for Real-Time Threat Detection in Edge Computing. (2026). Annual Methodological Archive Research Review, 4(2), 297-337. https://doi.org/10.5281/zenodo.23943314

Similar Articles

1-10 of 1038

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)

1 2 3 > >>