NetGlyph: Representation Learning to generate Network Traffic with Transformers

Network security has been a significant concern in recent years. Due to the rising number and complexity of cyber-attacks, Machine Learning (ML) models have been proposed to enhance intrusion detection. However, training these models requires extensive data, which is challenging to collect. To tackle this issue, previous work has focused on the generation of synthetic network traffic data using generative neural networks. Considering network traffic as a sequence of packets that contains continuous, discrete, and binary features, we propose a novel approach to learn a discrete representation of network traffic using Vector-Quantized Variational Autoencoders (VQ-VAE). In this paper, we adapt this model to learn how to represent network flows as a sequence of discrete tokens, called NetGlyphs. We evaluate the model on a dataset of Command & Control flows and compare performances to another model that uses a continuous representation. We show that our model is able to, reconstruct the data accurately and better preserve the original distribution. We also find promising results on network traffic generation using a state-of-the-art Transformer model to generate new NetGlyphs sequences that can be decoded back into real network traffic.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.23919/cnsm62983.2024.10814626
Citations
1
Primary Topic
Big Data and Digital Economy
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NetGlyph: Representation Learning to generate Network Traffic with Transformers

Cédric Lefebvre, William Ritchie, Philippe Owezarski, Gabin Noblet
1 citations
Big Data and Digital Economy
0.78
article

NetGlyph: Representation Learning to generate Network Traffic with Transformers

Cédric Lefebvre, William Ritchie, Philippe Owezarski, Gabin Noblet
article en
1 citations

Abstract

Network security has been a significant concern in recent years. Due to the rising number and complexity of cyber-attacks, Machine Learning (ML) models have been proposed to enhance intrusion detection. However, training these models requires extensive data, which is challenging to collect. To tackle this issue, previous work has focused on the generation of synthetic network traffic data using generative neural networks. Considering network traffic as a sequence of packets that contains continuous, discrete, and binary features, we propose a novel approach to learn a discrete representation of network traffic using Vector-Quantized Variational Autoencoders (VQ-VAE). In this paper, we adapt this model to learn how to represent network flows as a sequence of discrete tokens, called NetGlyphs. We evaluate the model on a dataset of Command & Control flows and compare performances to another model that uses a continuous representation. We show that our model is able to, reconstruct the data accurately and better preserve the original distribution. We also find promising results on network traffic generation using a state-of-the-art Transformer model to generate new NetGlyphs sequences that can be decoded back into real network traffic.

Centre National de la Recherche Scientifique (FR), Université Fédérale de Toulouse Midi-Pyrénées (FR), Laboratoire d'Analyse et d'Architecture des Systèmes (FR)
Openalex Percentile: Top 19%
Big Data and Digital Economy
0.78
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

NetGlyph: Representation Learning to generate Network Traffic with Transformers — Cédric Lefebvre, William Ritchie, et al. · (2024) | TGRS Research Map | TGRS