mlsanityData to 7 Oct 2026

Unveiling the potential of Graph Neural Networks for robust Intrusion Detection

arXiv 2107.14756 ↗First posted 30 Jul 2021cs.CR cs.AI cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

The last few years have seen an increasing wave of attacks with serious economic and privacy damages, which evinces the need for accurate Network Intrusion Detection Systems (NIDS). Recent works propose the use of Machine Learning (ML) techniques for building such systems (e.g., decision trees, neural networks). However, existing ML-based NIDS are barely robust to common adversarial attacks, which limits their applicability to real networks. A fundamental problem of these solutions is that they treat and classify flows independently. In contrast, in this paper we argue the importance of focusing on the structural patterns of attacks, by capturing not only the individual flow features, but also the relations between different flows (e.g., the source/destination hosts they share). To this end, we use a graph representation that keeps flow records and their relationships, and propose a novel Graph Neural Network (GNN) model tailored to process and learn from such graph-structured information. In our evaluation, we first show that the proposed GNN model achieves state-of-the-art results in the well-known CIC-IDS2017 dataset. Moreover, we assess the robustness of our solution under two common adversarial attacks, that intentionally modify the packet size and inter-arrival times to avoid detection. The results show that our model is able to maintain the same level of accuracy as in previous experiments, while state-of-the-art ML techniques degrade up to 50% their accuracy (F1-score) under these attacks. This unprecedented level of robustness is mainly induced by the capability of our GNN model to learn flow patterns of attacks structured as graphs.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 11 of its 35 references that are in the map. First posted on arXiv 30 Jul 2021.

Builds on

11 of 35 references.

References · 11

  1. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  2. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  3. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  4. 2015A Random Forest Guided Tourcited by 168
  5. 2019Deep Reinforcement Learning meets Graph Neural Networks: exploring a routing optimization use casecited by 53
  6. 2019RouteNet: Leveraging Graph Neural Networks for network modeling and optimization in SDNcited by 47
  7. 2019MIDAS: Microcluster-Based Detector of Anomalies in Edge Streamscited by 29
  8. 2019Unveiling the potential of Graph Neural Networks for network modeling and optimization in SDNcited by 27
  9. 2020Automating Botnet Detection with Graph Neural Networkscited by 23
  10. 2020MSTREAM: Fast Anomaly Detection in Multi-Aspect Streamscited by 17
  11. 2021NF-GNN: Network Flow Graph Neural Networks for Malware Detection and Classificationcited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 5; 2025: 4; 2026: 1.

14 papers.

Sort: