Skip to main navigation Skip to search Skip to main content

MGCRL: Multi-Scale Graph Contrastive Representation Learning For Network Intrusion Detection

  • Hamad bin Khalifa University

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

Abstract

Graph neural networks (GNNs) have recently garnered significant attention for use in network intrusion detection systems (NIDS), owing to their ability to model network traffic as graphs and capture complex dependencies between flows. However, existing GNN-based methods face critical limitations: their reliance on labeled data, often scarce or noisy in practice, and their inability to address multi-scale threats, such as localized node anomalies (e.g., port scanning), coordinated subnet-work attacks (e.g., botnets), and global network-wide campaigns (e.g., DDoS attacks). To bridge this gap, we propose Multi-Scale Graph Contrastive Representation Learning (MGCRL), a semi-supervised framework that hierarchically integrates three perspectives to model network intrusions. At the node level, MGCRL constructs semantic subnetworks around individual traffic flows to capture fine-grained behavioral deviations. For subnetwork-level threats, it employs substructure-aware pooling to identify coordinated anomalies, such as clusters of devices exhibiting synchronized malicious activity. Finally, at the global level, MGCRL derives representations that reflect the holistic state of the network, enabling detection of large-scale threats, such as distributed malware propagation. MGCRL couples a shared GNN encoder with a multi-level contrastive loss to align multi-scale representations while largely eliminating label dependence. It learns discriminative features from unlabeled traffic, sharpens decision boundaries with minimal supervision, and exposes anomalies that surface in a hierarchical network context by contrasting related and unrelated nodes at each scale. Extensive experiments on three benchmark datasets for multi-class classification show that MGCRL consistently outperforms SOTA methods, particularly under severe label scarcity and class imbalance.

Original languageEnglish
Title of host publicationGLOBECOM 2025 - 2025 IEEE Global Communications Conference
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages3158-3163
Number of pages6
ISBN (Electronic)9798331577810
DOIs
Publication statusPublished - 2025
Event2025 IEEE Global Communications Conference, GLOBECOM 2025 - Taipei, Taiwan, Province of China
Duration: 8 Dec 202512 Dec 2025

Publication series

NameProceedings - IEEE Global Communications Conference, GLOBECOM
ISSN (Print)2334-0983
ISSN (Electronic)2576-6813

Conference

Conference2025 IEEE Global Communications Conference, GLOBECOM 2025
Country/TerritoryTaiwan, Province of China
CityTaipei
Period8/12/2512/12/25

Keywords

  • Graph contrastive learning
  • Graph neural networks
  • Multiscale contrastive learning
  • Network intrusion detection systems
  • Security and privacy in networks

Fingerprint

Dive into the research topics of 'MGCRL: Multi-Scale Graph Contrastive Representation Learning For Network Intrusion Detection'. Together they form a unique fingerprint.

Cite this