Skip to main navigation Skip to search Skip to main content

A Few-Shot Network Flow Attack Classification via Graph Contrastive Learning

  • Binbin Gel
  • , Bo Li
  • , Xudong Mou
  • , Jun Zhao
  • , Xudong Liu
  • Zhongguancun Laboratory
  • Beijing Advanced Innovation Center for Future Urban Design
  • Blockchain and Privacy Computing

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Accurately identifying network attacks is crucial for maintaining network security. However, these attacks are often hide within massive volumes of network traffic, posing significant challenges for traditional detection methods. Supervised learning approaches require substantial labeled data and struggle to adapt to unknown attack types, while unsupervised methods face difficulties in accurately pinpointing specific attack categories. To address these limitations, we propose a novel fewshot learning model for network flow attack classification based on graph contrastive learning. Our model leverages contrastive learning to enhance feature representation and generalization capabilities, enabling high-accuracy attack detection even with limited training data. Specifically, we first construct a multi- graph representation of network traffic and segment the data into snapshots. Then, we perform graph data augmentation within each snapshot to generate augmented sample pairs, which are used to pre-train the model via contrastive learning. Finally, we fine-tune the model parameters to achieve multi-class attack classification, leveraging the learned feature representations to identify various attack types, even those unseen during training. Experimental results demonstrate that our model exhibits excellent generalization ability and achieves high attack detection performance, even with limited training data.

Original languageEnglish
Title of host publicationProceedings - 11th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages30-35
Number of pages6
ISBN (Electronic)9798350376982
DOIs
StatePublished - 2024
Externally publishedYes
Event11th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2024 - Shanghai, China
Duration: 28 Jun 202430 Jun 2024

Publication series

NameProceedings - 11th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2024

Conference

Conference11th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2024
Country/TerritoryChina
CityShanghai
Period28/06/2430/06/24

Keywords

  • Attack Classification
  • Data Augmentation
  • Few-Shot Learning
  • Graph Contrastive Learning

Fingerprint

Dive into the research topics of 'A Few-Shot Network Flow Attack Classification via Graph Contrastive Learning'. Together they form a unique fingerprint.

Cite this