paper-with-me

홈 › Papers

Applying Self-supervised Learning to Network Intrusion Detection for Network Flows with Graph Neural Network

2024-03-03 · Renjie Xu, Guangwei Wu, Weiping Wang, Xing Gao, An He, Zhengpeng Zhang

Graph Neural Networks (GNNs) have garnered intensive attention for Network Intrusion Detection System (NIDS) due to their suitability for representing the network traffic flows. However, most present GNN-based methods for NIDS are supervised or semi-supervised. Network flows need to be manually annotated as supervisory labels, a process that is time-consuming or even impossible, making NIDS difficult to adapt to potentially complex attacks, especially in large-scale real-world scenarios. The existing GNN-based self-supervised methods focus on the binary classification of network flow as benign or not, and thus fail to reveal the types of attack in practice. This paper studies the application of GNNs to identify the specific types of network flows in an unsupervised manner. We first design an encoder to obtain graph embedding, that introduces the graph attention mechanism and considers the edge information as the only essential factor. Then, a self-supervised method based on graph contrastive learning is proposed. The method samples center nodes, and for each center node, generates subgraph by it and its direct neighbor nodes, and corresponding contrastive subgraph from the interpolated graph, and finally constructs positive and negative samples from subgraphs. Furthermore, a structured contrastive loss function based on edge features and graph local topology is introduced. To the best of our knowledge, it is the first GNN-based self-supervised method for the multiclass classification of network flows in NIDS. Detailed experiments conducted on four real-world databases (NF-Bot-IoT, NF-Bot-IoT-v2, NF-CSE-CIC-IDS2018, and NF-CSE-CIC-IDS2018-v2) systematically compare our model with the state-of-the-art supervised and self-supervised models, illustrating the considerable potential of our method. Our code is accessible through https://github.com/renj-xu/NEGSC.

📄 PDF Abstract BibTeX arXiv:2403.01501

Code (1)

renj-xu/negsc 공식 구현 pytorch

Tasks

Binary ClassificationContrastive LearningGraph AttentionGraph EmbeddingGraph Neural NetworkIntrusion DetectionNetwork Intrusion DetectionSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Focus 설명 없음
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Anomal-E: A Self-Supervised Network Intrusion Detection System based on Graph Neural Networks

2022-07-14 · Evan Caville, Wai Weng Lo, Siamak Layeghy, Marius Portmann

This paper investigates Graph Neural Networks (GNNs) application for self-supervised network intrusion and anomaly detection. GNNs are a deep learning approach for graph-based data that incorporate graph structures into …

Anomaly DetectionIntrusion DetectionNetwork Intrusion Detection

Self-Supervised Learning of Graph Representations for Network Intrusion Detection

2025-09-20 · Lorenzo Guerra, Thomas Chapuis, Guillaume Duc, Pavlo Mozharovskyi 외 arxiv

Detecting intrusions in network traffic is a challenging task, particularly under limited supervision and constantly evolving attack patterns. While recent works have leveraged graph neural networks for network intrusion…

Network Intrusion DetectionSelf-Supervised LearningRepresentation LearningGraph Neural Network

Self-Supervised Transformer-based Contrastive Learning for Intrusion Detection Systems

2025-05-12 · Ippokratis Koukoulis, Ilias Syrigos, Thanasis Korakis

As the digital landscape becomes more interconnected, the frequency and severity of zero-day attacks, have significantly increased, leading to an urgent need for innovative Intrusion Detection Systems (IDS). Machine Lear…

Anomaly DetectionContrastive LearningData AugmentationIntrusion Detection

Modern Cybersecurity Solution using Supervised Machine Learning

2021-09-15 · Mustafa Sakhai, Maciej Wielgosz

Cybersecurity is essential, and attacks are rapidly growing and getting more challenging to detect. The traditional Firewall and Intrusion Detection system, even though it is widely used and recommended but it fails to d…

BIG-bench Machine LearningIntrusion Detection

Timestamp-Aware Spatio-Temporal Graph Contrastive Learning for Network Intrusion Detection

2026-06-15 · Jianli Dai, Guangwei Wu, Jiacheng Li, Weiping Wang 외 arxiv

Given their effectiveness in modeling the relational structure among network traffic flows, graph neural networks (GNNs) have been widely adopted in network intrusion detection systems (NIDSs). However, most existing GNN…

Network Intrusion DetectionComputational EfficiencyRepresentation LearningContrastive Learning