Self-Supervised Learning of Graph Representations for Network Intrusion Detection

📅 2025-09-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the challenges of scarce supervision, dynamically evolving attack patterns, and the decoupling of representation learning from anomaly detection in network intrusion detection, this paper proposes GraphIDS—a novel self-supervised graph learning framework. GraphIDS unifies local graph representation learning with implicit modeling of global co-occurrence patterns: it employs an inductive GNN to encode local topological contexts and a Transformer-based encoder-decoder for masked graph reconstruction, directly leveraging reconstruction error as the anomaly score. The embedding process is end-to-end optimized, yielding representations intrinsically tailored for anomaly detection. Evaluated on multiple NetFlow benchmarks, GraphIDS achieves 99.98% PR-AUC and 99.61% macro F1-score—surpassing state-of-the-art baselines by 5–25 percentage points—and demonstrates significantly enhanced generalization to previously unseen attacks.

Technology Category

Application Category

📝 Abstract
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 detection, they often decouple representation learning from anomaly detection, limiting the utility of the embeddings for identifying attacks. We propose GraphIDS, a self-supervised intrusion detection model that unifies these two stages by learning local graph representations of normal communication patterns through a masked autoencoder. An inductive graph neural network embeds each flow with its local topological context to capture typical network behavior, while a Transformer-based encoder-decoder reconstructs these embeddings, implicitly learning global co-occurrence patterns via self-attention without requiring explicit positional information. During inference, flows with unusually high reconstruction errors are flagged as potential intrusions. This end-to-end framework ensures that embeddings are directly optimized for the downstream task, facilitating the recognition of malicious traffic. On diverse NetFlow benchmarks, GraphIDS achieves up to 99.98% PR-AUC and 99.61% macro F1-score, outperforming baselines by 5-25 percentage points.
Problem

Research questions and friction points this paper is trying to address.

Detecting network intrusions with limited supervision and evolving attack patterns
Overcoming decoupling of representation learning from anomaly detection in GNNs
Learning unified graph representations for identifying malicious network traffic
Innovation

Methods, ideas, or system contributions that make the work stand out.

Self-supervised learning with masked autoencoder for graph representations
Inductive graph neural network embeds flows with local topology
Transformer-based encoder-decoder reconstructs embeddings to detect anomalies
🔎 Similar Papers
No similar papers found.
L
Lorenzo Guerra
LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France
T
Thomas Chapuis
Ampere Software Technology, Guyancourt, France
Guillaume Duc
Guillaume Duc
Maître de Conférences, Télécom Paris
Sécurité des Systèmes Embarqués
Pavlo Mozharovskyi
Pavlo Mozharovskyi
LTCI, Telecom Paris, Institut Polytechnique de Paris
machine learningcomputational statisticsdata depthinterpretability of AIfunctional data analysis
V
Van-Tam Nguyen
LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France