[Paper Review] An Optimized Decision Tree-Based Framework for Explainable IoT Anomaly Detection
An explainable AI framework using an optimized Decision Tree classifier with SHAP and Morris sensitivity analyses achieves state-of-the-art IoT anomaly detection with real-time, edge-compatible performance.
The increase in the number of Internet of Things (IoT) devices has tremendously increased the attack surface of cyber threats thus making a strong intrusion detection system (IDS) with a clear explanation of the process essential towards resource-constrained environments. Nevertheless, current IoT IDS systems are usually traded off with detection quality, model elucidability, and computational effectiveness, thus the deployment on IoT devices. The present paper counteracts these difficulties by suggesting an explainable AI (XAI) framework based on an optimized Decision Tree classifier with both local and global importance methods: SHAP values that estimate feature attribution using local explanations, and Morris sensitivity analysis that identifies the feature importance in a global view. The proposed system attains the state of art on the test performance with 99.91% accuracy, F1-score of 99.51% and Cohen Kappa of 0.9960 and high stability is confirmed by a cross validation mean accuracy of 98.93%. Efficiency is also enhanced in terms of computations to provide faster inferences compared to those that are generalized in ensemble models. SrcMac has shown as the most significant predictor in feature analyses according to SHAP and Morris methods. Compared to the previous work, our solution eliminates its major drawback lack because it allows us to apply it to edge devices and, therefore, achieve real-time processing, adhere to the new regulation of transparency in AI, and achieve high detection rates on attacks of dissimilar classes. This combination performance of high accuracy, explainability, and low computation make the framework useful and reliable as a resource-constrained IoT security problem in real environments.
Motivation & Objective
- Motivates the need for accurate, explainable IDS in resource-constrained IoT environments.
- Proposes an explainable AI framework using an optimized Decision Tree classifier.
- Demonstrates local (SHAP) and global (Morris) feature attribution to enhance transparency.
- Aims for edge-amenable, real-time processing without compromising detection quality.
- Evaluates performance against state-of-the-art on IoT security datasets.
Proposed method
- Uses an optimized Decision Tree classifier as the core model.
- Applies SHAP values for local feature attribution and Morris sensitivity analysis for global importance.
- Assesses inference efficiency to enable edge deployment and real-time processing.
- Evaluates detection performance using standard metrics (accuracy, F1-score, Cohen Kappa) and cross-validation stability.
- Identifies SrcMac as the most significant predictor via SHAP and Morris analyses.
- Compared to prior work, emphasizes explainability and low computation for resource-constrained IoT security.
Experimental results
Research questions
- RQ1Can a decision-tree-based model provide high detection performance for IoT anomalies while remaining explainable?
- RQ2How do local (SHAP) and global (Morris) explanations influence feature importance insights in IoT IDS?
- RQ3Is the framework suitable for edge devices with real-time inference under resource constraints?
- RQ4Does the approach sustain high accuracy across dissimilar attack classes?
- RQ5How does the framework compare to previous work in terms of transparency and computation?
Key findings
- Achieves 99.91% accuracy on test performance.
- F1-score of 99.51% and Cohen Kappa of 0.9960.
- Cross-validation mean accuracy of 98.93%, indicating high stability.
- SrcMac identified as the most significant predictor by both SHAP and Morris analyses.
- Outperforms prior work in combining high accuracy with explainability and edge-friendly computation.
- Supports real-time processing suitable for edge IoT security scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.