arrow
Return

CapsRule: Explainable Deep Learning for Classifying Network Attacks

delete2024-09-01
delete3
PRE
AI
S
Samaneh Mahdavifar *
A
Ali A. Ghorbani
DOI:10.1109/TNNLS.2023.3262981delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Despite the potential deep learning (DL) algorithms have shown, their lack of transparency hinders their widespread application. Extracting if-then rules from deep neural networks is a powerful explanation method to capture nonlinear local behaviors. However, existing rule extraction methods suffer from inefficiency, incomprehensibility, infidelity, and not scaling well. Concerning security applications, they are not optimized regarding the decision boundary, data types and ranges, classification tasks, and dataset size. In this article, we propose CapsRule, an effective and efficient rule-based DL explanation method dedicated to classifying network attacks. It extracts high-fidelity rules from the feed-forward capsule network that explains how an input sample is classified. Using precomputed coupling coefficients, the training phase overlaps the rule extraction process to increase efficiency. The activation vector of a capsule can represent semantic intelligence about the attributes of the input sample. The rules extracted from CapsRule address the major concerns of network attack detection. The rules: 1) approximate the nonlinear decision boundary of the underlying data; 2) reduce the number of false positives significantly; 3) increase transparency; and 4) help find errors and noise in the data. We evaluate CapsRule on the CICDDoS2019 dataset that contains over a million of the most advanced Distributed Denial-of-Service (DDoS) attacks. The extensive evaluation shows that it generates accurate, high-fidelity, and comprehensible rules. CapsRule achieves an average accuracy of 99.0% and a false positive rate of 0.70% for reflection-and exploitation-based attacks. We verify that the learned features from the rulesets match our domain-specific knowledge. They also help find flaws in the dataset generation process and erroneous patterns caused by attack simulators.
Keywords:
Feature extraction
Security
Neural networks
Intrusion detection
Denial-of-service attack
Data mining
Couplings
Capsule network
Distributed Denial-of-Service (DDoS) attacks
explainability
explainable deep neural network (DNN)
rule extraction

Journal

IEEE Transactions on Neural Networks and Learning Systems cover
IEEE Transactions on Neural Networks and Learning Systems
IF:
8.9
Papers:
7.6K
Citations:
7.2W

Organization

U
University of New Brunswick
Scholars:
4.0K
Papers: 4.2K
Citations: 6.3K
M
McGill University
Scholars:
5.5W
Papers: 4.9W
Citations: 7.0W
Cited Papers

Cited Papers

The First ERP Upgrade Project at DSW
err2006-10-01
err0
PREAI
errMarta Zarotsky; Nava Pliskin; Tsipi Heart
errShare
errSave
Dynamics of a magnetic skyrmionium in an anisotropy gradient
err2019-07-23
err0
errOAAI
errChengkun Song; Chendong Jin; Jinshuai Wang; Yunxu Ma; Haiyan Xia; Jianing Wang; Jianbo Wang; Qingfang Liu
errShare
errSave
When Does Model-Based Control Pay Off?
err2016-08-26
err0
errOAAI
errWouter Kool; Fiery A. Cushman; Samuel J. Gershman
errShare
errSave
Effects of Inflorescence Size on Pollination in Epilobium angustifolium
err1988-07-01
err0
PREAI
errPaul Schmid-Hempel; Bernard Speiser
errShare
errSave
researcher View more