E-GraphSAGE: A Graph Neural Network based Intrusion Detection System for IoT

Wai Weng Lo, Siamak Layeghy, Mohanad Sarhan, Marcus Gallagher, Marius Portmann
3/30/2021
cs.NIcs.AIcs.CR

Official code: waimorris/E-GraphSAGE (108 stars, Apache-2.0, last commit 2022-06-30).

Abstract

This paper presents a new Network Intrusion Detection System (NIDS) based on Graph Neural Networks (GNNs). GNNs are a relatively new sub-field of deep neural networks, which can leverage the inherent structure of graph-based data. Training and evaluation data for NIDSs are typically represented as flow records, which can naturally be represented in a graph format. In this paper, we propose E-GraphSAGE, a GNN approach that allows capturing both the edge features of a graph as well as the topological information for network intrusion detection in IoT networks. To the best of our knowledge, our proposal is the first successful, practical, and extensively evaluated approach of applying GNNs on the problem of network intrusion detection for IoT using flow-based data. Our extensive experimental evaluation on four recent NIDS benchmark datasets shows that our approach outperforms the state-of-the-art in terms of key classification metrics, which demonstrates the potential of GNNs in network intrusion detection, and provides motivation for further research.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A PyTorch implementation of of E-GraphSAGE.

10822Jupyter NotebookOct 30, 20214 years agoApache-2.0
gnngraph-convolutional-networksgraph-neural-networksiotnids

Cite this paper

@article{lo2021egraphsage,
  title  = {E-GraphSAGE: A Graph Neural Network based Intrusion Detection System for IoT},
  author = {Wai Weng Lo and Siamak Layeghy and Mohanad Sarhan and Marcus Gallagher and Marius Portmann},
  year   = {2021},
  eprint = {2103.16329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16329}
}

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/2103.16329.svg)](https://codeofpaper.com/paper/2103.16329)

Discussion