mlsanityData to 7 Oct 2026

XG-NID: Dual-Modality Network Intrusion Detection using a Heterogeneous Graph Neural Network and Large Language Model

arXiv 2408.16021 ↗First posted 27 Aug 2024cs.CR cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In the rapidly evolving field of cybersecurity, the integration of flow-level and packet-level information for real-time intrusion detection remains a largely untapped area of research. This paper introduces "XG-NID," a novel framework that, to the best of our knowledge, is the first to fuse flow-level and packet-level data within a heterogeneous graph structure, offering a comprehensive analysis of network traffic. Leveraging a heterogeneous graph neural network (GNN) with graph-level classification, XG-NID uniquely enables real-time inference while effectively capturing the intricate relationships between flow and packet payload data. Unlike traditional GNN-based methodologies that predominantly analyze historical data, XG-NID is designed to accommodate the heterogeneous nature of network traffic, providing a robust and real-time defense mechanism. Our framework extends beyond mere classification; it integrates Large Language Models (LLMs) to generate detailed, human-readable explanations and suggest potential remedial actions, ensuring that the insights produced are both actionable and comprehensible. Additionally, we introduce a new set of flow features based on temporal information, further enhancing the contextual and explainable inferences provided by our model. To facilitate practical application and accessibility, we developed "GNN4ID," an open-source tool that enables the extraction and transformation of raw network traffic into the proposed heterogeneous graph structure, seamlessly integrating flow and packet-level data. Our comprehensive quantitative comparative analysis demonstrates that XG-NID achieves an F1 score of 97% in multi-class classification, outperforming existing baseline and state-of-the-art methods. This sets a new standard in Network Intrusion Detection Systems by combining innovative data fusion with enhanced interpretability and real-time capabilities.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 18 of its 60 references that are in the map. First posted on arXiv 27 Aug 2024.

Builds on

18 of 60 references.

References · 18

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2017Graph Attention Networkscited by 8,854
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2017Inductive Representation Learning on Large Graphscited by 6,284
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  6. 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,125
  7. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  8. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
  9. 2021E-GraphSAGE: A Graph Neural Network based Intrusion Detection System for IoTcited by 55
  10. 2023HuntGPT: Integrating Machine Learning-Based Anomaly Detection and Explainable AI with Large Language Models (LLMs)cited by 25
  11. 2020Automating Botnet Detection with Graph Neural Networkscited by 23
  12. 2022SoK: Explainable Machine Learning for Computer Security Applicationscited by 20
6 more
  1. 2021DeepAID: Interpreting and Improving Deep Learning-based Anomaly Detection in Security Applicationscited by 18
  2. 2021Unveiling the potential of Graph Neural Networks for robust Intrusion Detectioncited by 14
  3. 2024Enhancing IoT Security with CNN and LSTM-Based Intrusion Detection Systemscited by 9
  4. 2020Packet2Vec: Utilizing Word2Vec for Feature Extraction in Packet Datacited by 7
  5. 2023Explaining Tree Model Decisions in Natural Language for Network Intrusion Detectioncited by 7
  6. 2023IIDS: Design of Intelligent Intrusion Detection System for Internet-of-Things Applicationscited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.