Skip to main navigation Skip to search Skip to main content

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

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-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 subnetwork attacks (e.g., botnets), and global network-wide campaigns (e.g., DDoS attacks). To bridge this gap, we propose MultiScale 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 multiclass classification show that MGCRL consistently outperforms SOTA
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
ISBN (Print)979-8-3315-7782-7
DOIs
Publication statusPublished - 12 Dec 2025
Event2025 IEEE Global Communications Conference, GLOBECOM 2025 - Taipei, Taiwan, Province of China
Duration: 8 Dec 2025 → 12 Dec 2025

Publication series

NameIeee Global Telecommunications Conference (globecom)

Conference

Conference2025 IEEE Global Communications Conference, GLOBECOM 2025
Country/TerritoryTaiwan, Province of China
CityTaipei
Period8/12/25 → 12/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