An efficient method for network traffic anomaly detection based on SHAP and deep learning.
Zhaohui Fang, Ping Xuan, Hong Ding
School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China. · Electronic and Electrical Products Inspection Institute, Anhui Product Quality Supervision and Inspection Research Institute, Hefei, China.
Key points
From the paper's conclusion- This work demonstrates that combining interpretable feature selection (SHAP) with attention-driven deep learning significantly enhances detection efficiency and accuracy, providing a viable solution for real-time WSN security.
Abstract
To address the critical challenge of Denial-of-Service (DoS) attack detection in wireless sensor networks (WSNs), this study proposes an efficient anomaly detection framework that synergistically integrates SHAP (SHapley Additive exPlanations) for feature interpretation and a deep convolutional neural network (DCNN) with self-attention mechanism. The SHAP algorithm directly selects optimal feature subsets by quantifying feature contributions, eliminating the need for dimensionality reduction. Subsequently, a DCNN model enhanced with self-attention mechanisms learns spatiotemporal patterns from SHAP-refined features, improving discriminative capability for anomaly traffic. Evaluated on the UNSW-NB15 dataset, our model achieves AUROC = 0.999 and AUPRC = 0.992, surpassing state-of-the-art methods (SVM: AUROC = 0.993; XGBoost: AUPRC = 0.988). Ablation studies confirm SHAP improves MCC by 6.1% and attention mechanisms boost DoS detection precision by 3.9%. This work demonstrates that combining interpretable feature selection (SHAP) with attention-driven deep learning significantly enhances detection efficiency and accuracy, providing a viable solution for real-time WSN security.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ExLightNet: A Lightweight and Explainable 1D-CNN for Real-Time Intrusion Detection in Resource-Constrained IoT Sensor Networks.Sensors (Basel, Switzerland) · 2026
- Explainable AI-Driven Intrusion Detection System for DoS Attack Classification Using Deep Learning and Optimization TechniquesIEEE Access · 2026
- Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI frameworkScientific Reports · 2025
- Deep Learning Utilization for DDoS Attack Detection with Federated Learning: A Case Study on the CICDDoS2019 DatasetEngineering Technology & Applied Science Research · 2026
- Capacity‐Scalable Attention‐Fused Hybrid Deep Network With Selective SHAP for DDoS Detection in Software‐Defined NetworksJournal of Electrical and Computer Engineering · 2026
- An XGBoost-Based Intrusion Detection Framework with Interpretability Analysis for IoT NetworksApplied Sciences · 2026