Skip to main content
QUICK REVIEW

[Paper Review] Explaining Network Intrusion Detection System Using Explainable AI Framework

Shraddha Mane, Dattaraj Jagdish Rao|arXiv (Cornell University)|Mar 12, 2021
Explainable Artificial Intelligence (XAI)Computer Science6 references63 citations
TL;DR

The paper develops an explainable AI framework for a deep neural network-based network intrusion detection system and demonstrates explanations using SHAP, LIME, CoM, ProtoDash, and Boolean rules on the NSL-KDD dataset.

ABSTRACT

Cybersecurity is a domain where the data distribution is constantly changing with attackers exploring newer patterns to attack cyber infrastructure. Intrusion detection system is one of the important layers in cyber safety in today's world. Machine learning based network intrusion detection systems started showing effective results in recent years. With deep learning models, detection rates of network intrusion detection system are improved. More accurate the model, more the complexity and hence less the interpretability. Deep neural networks are complex and hard to interpret which makes difficult to use them in production as reasons behind their decisions are unknown. In this paper, we have used deep neural network for network intrusion detection and also proposed explainable AI framework to add transparency at every stage of machine learning pipeline. This is done by leveraging Explainable AI algorithms which focus on making ML models less of black boxes by providing explanations as to why a prediction is made. Explanations give us measurable factors as to what features influence the prediction of a cyberattack and to what degree. These explanations are generated from SHAP, LIME, Contrastive Explanations Method, ProtoDash and Boolean Decision Rules via Column Generation. We apply these approaches to NSL KDD dataset for intrusion detection system and demonstrate results.

Motivation & Objective

  • Motivate the need for transparency in ML-based intrusion detection due to changing data distributions and evolving attack patterns.
  • Propose an end-to-end Explainable AI framework to provide explanations at each stage of the ML pipeline.
  • Apply multiple XAI techniques to reveal feature influence and reasoning behind predictions.
  • Demonstrate the approach on the NSL-KDD intrusion detection dataset.

Proposed method

  • Train a deep neural network for network intrusion detection.
  • Integrate multiple XAI methods (SHAP, LIME, Contrastive Explanations Method, ProtoDash, and Boolean Decision Rules via Column Generation) to generate explanations.
  • Provide explanations that quantify feature influence and reasoning for predictions.
  • Apply explanations to the NSL-KDD dataset to illustrate transparency in decisions.

Experimental results

Research questions

  • RQ1How can explanations be generated at each stage of a deep learning-based intrusion detection pipeline?
  • RQ2What features most influence intrusion predictions according to different explainable AI methods?
  • RQ3Do XAI explanations help in understanding and trusting the IDS decisions on NSL-KDD data?

Key findings

  • An explainable AI framework is proposed to add transparency to a deep neural network-based IDS.
  • Explanations are produced using SHAP, LIME, Contrastive Explanations Method, ProtoDash, and Boolean rules.
  • The framework enables measurement of which features influence predictions and to what degree.
  • The NSL-KDD dataset is used to demonstrate the explanatory capabilities of the approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.