netFound: Foundation Model for Network Security

Satyandra Guthula, Roman Beltiukov, Navya Battula, Wenbo Guo, Arpit Gupta +1 more
10/25/2023
36 citations
cs.NIcs.AI
transformer-attention

Official code: SNL-UCSB/netFound (42 stars, Python, MIT, last commit 2026-05-04).

Abstract

Developing generalizable ML-based solutions for disparate learning problems in network security is highly desired. However, despite a rich history of applying ML to network security, most existing solutions lack generalizability.

Show full abstract

This lack of progress can be attributed to an overreliance on supervised learning techniques and the associated challenges of curating well-specified labeled training data. This paper addresses a fundamental gap by introducing a novel transformer-based network foundation model, netFound. We employ self-supervised learning techniques on abundant, unlabeled network telemetry data for pre-training. This pretrained model can subsequently be fine-tuned to create generalizable learning artifacts for disparate learning tasks, even when using commonly available but challenging labeled datasets that are sparse, noisy, and skewed. To realize this goal, netFound leverages various domain-specific attributes and constraints unique to network data (packet traces) by developing multi-modal embeddings, protocol-aware tokenization, data-driven token composition, and hierarchical transformers. Our results demonstrate that netFound's domain-specific design choices ensure that it (1) effectively captures the hidden networking context in production settings, (2) outperforms four different SOTA methods on five different learning tasks, and (3) is robust to both noisy labels and learning shortcuts -- critical for developing generalizable ML models in practical settings.

View on arXivView PDF

Code Implementations(1)

SNL-UCSB/netFoundOfficial100%
MIT
4215Python, C++Jan 6, 20257 months agoMIT

Similar Papers

Cite this paper

@article{guthula2023netfound,
  title  = {netFound: Foundation Model for Network Security},
  author = {Satyandra Guthula and Roman Beltiukov and Navya Battula and Wenbo Guo and Arpit Gupta and Inder Monga},
  year   = {2023},
  eprint = {2310.17025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.17025v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.17025.svg)](https://codeofpaper.com/paper/2310.17025)

Discussion