Towards a graph-based foundation model for network traffic analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Van Langendonck, Louis, Castell-Uroz, Ismael, Barlet-Ros, Pere
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909313441726464
author Van Langendonck, Louis
Castell-Uroz, Ismael
Barlet-Ros, Pere
author_facet Van Langendonck, Louis
Castell-Uroz, Ismael
Barlet-Ros, Pere
contents Foundation models have shown great promise in various fields of study. A potential application of such models is in computer network traffic analysis, where these models can grasp the complexities of network traffic dynamics and adapt to any specific task or network environment with minimal fine-tuning. Previous approaches have used tokenized hex-level packet data and the model architecture of large language transformer models. We propose a new, efficient graph-based alternative at the flow-level. Our approach represents network traffic as a dynamic spatio-temporal graph, employing a self-supervised link prediction pretraining task to capture the spatial and temporal dynamics in this network graph framework. To evaluate the effectiveness of our approach, we conduct a few-shot learning experiment for three distinct downstream network tasks: intrusion detection, traffic classification, and botnet classification. Models finetuned from our pretrained base achieve an average performance increase of 6.87\% over training from scratch, demonstrating their ability to effectively learn general network traffic dynamics during pretraining. This success suggests the potential for a large-scale version to serve as an operational foundational model.
format Preprint
id arxiv_https___arxiv_org_abs_2409_08111
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards a graph-based foundation model for network traffic analysis
Van Langendonck, Louis
Castell-Uroz, Ismael
Barlet-Ros, Pere
Machine Learning
Artificial Intelligence
Cryptography and Security
Networking and Internet Architecture
Foundation models have shown great promise in various fields of study. A potential application of such models is in computer network traffic analysis, where these models can grasp the complexities of network traffic dynamics and adapt to any specific task or network environment with minimal fine-tuning. Previous approaches have used tokenized hex-level packet data and the model architecture of large language transformer models. We propose a new, efficient graph-based alternative at the flow-level. Our approach represents network traffic as a dynamic spatio-temporal graph, employing a self-supervised link prediction pretraining task to capture the spatial and temporal dynamics in this network graph framework. To evaluate the effectiveness of our approach, we conduct a few-shot learning experiment for three distinct downstream network tasks: intrusion detection, traffic classification, and botnet classification. Models finetuned from our pretrained base achieve an average performance increase of 6.87\% over training from scratch, demonstrating their ability to effectively learn general network traffic dynamics during pretraining. This success suggests the potential for a large-scale version to serve as an operational foundational model.
title Towards a graph-based foundation model for network traffic analysis
topic Machine Learning
Artificial Intelligence
Cryptography and Security
Networking and Internet Architecture
url https://arxiv.org/abs/2409.08111