Explainability and Adversarial Robustness for RNNs

Alexander Hartl, Maximilian Bachl, Joachim Fabini, Tanja Zseby
12/20/2019
cs.LGcs.CRcs.NI

Official code: CN-TU/adversarial-recurrent-ids (19 stars, TeX, GPL-3.0, last commit 2021-03-16).

Abstract

Recurrent Neural Networks (RNNs) yield attractive properties for constructing Intrusion Detection Systems (IDSs) for network data. With the rise of ubiquitous Machine Learning (ML) systems, malicious actors have been catching up quickly to find new ways to exploit ML vulnerabilities for profit.

Show full abstract

Recently developed adversarial ML techniques focus on computer vision and their applicability to network traffic is not straightforward: Network packets expose fewer features than an image, are sequential and impose several constraints on their features. We show that despite these completely different characteristics, adversarial samples can be generated reliably for RNNs. To understand a classifier's potential for misclassification, we extend existing explainability techniques and propose new ones, suitable particularly for sequential data. Applying them shows that already the first packets of a communication flow are of crucial importance and are likely to be targeted by attackers. Feature importance methods show that even relatively unimportant features can be effectively abused to generate adversarial samples. Since traditional evaluation metrics such as accuracy are not sufficient for quantifying the adversarial threat, we propose the Adversarial Robustness Score (ARS) for comparing IDSs, capturing a common notion of adversarial robustness, and show that an adversarial training procedure can significantly and successfully reduce the attack surface.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Contact: Alexander Hartl, Maximilian Bachl, Fares Meghdouri. Explainability methods and Adversarial Robustness metrics for RNNs for Intrusion Detection Systems. Also contains code for "SparseIDS: Learning Packet Sampling with Reinforcement Learning" (branch "rl").

1911TeX, PythonDec 17, 20195 years agoGPL-3.0
adversarial-machine-learningadversarial-robustnessexplainabilityfeature-importancefeature-sensitivity+2 more

Similar Papers

Cite this paper

@article{hartl2019explainability,
  title  = {Explainability and Adversarial Robustness for RNNs},
  author = {Alexander Hartl and Maximilian Bachl and Joachim Fabini and Tanja Zseby},
  year   = {2019},
  eprint = {1912.09855},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.09855}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.09855.svg)](https://codeofpaper.com/paper/1912.09855)

Discussion