mlsanityData to 7 Oct 2026

Versatile yet Efficient Network Traffic Analysis: Offloading Network Foundation Model to SmartNIC

arXiv 2508.02001 ↗First posted 4 Aug 2025cs.NI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Pervasive encryption makes large-scale labeling infeasible for traffic analysis, while security operations demand edge analysis to avert service degradation and further vulnerabilities. These pressures have produced two disjoint research lines: 1) versatile analysis, via network foundation models for low label dependency, and 2) efficient analysis, via hardware offloading for low analysis latency. However, versatility and efficiency have appeared fundamentally incompatible to co-achieve, with prior work consistently sacrificing one for the other, yet we show that this incompatibility is a consequence of polarized design choices across the three components of traffic analysis systems, i.e., traffic processing, model architecture, and analysis execution. In response, we present Nepco, a versatile yet efficient network traffic analysis system that offloads network foundation models to SmartNIC. Our key observation is that discriminative traffic information is concentrated in localized byte regions, motivating versatile yet efficient localized byte-sequence modeling rather than inefficient global modeling. To exploit this without incurring the latency bottlenecks of complex encoding steps, we employ a hardware-friendly processing pipeline that directly embeds raw byte sequences. Crucially, to maintain versatility across diverse tasks, we propose a pattern-aware convolutional architecture equipped with dedicated scoring and gating mechanisms. By exploiting translation invariance, this design dynamically locates and extracts salient semantic signatures. We prototype Nepco on the Nvidia BlueField-3 SmartNIC with multiengine collaborative analysis execution. The experimental results demonstrate that Nepco achieves macro F1 competitive with the best performances achieved by 8 state-of-the-art network foundation models, while reducing end-to-end latency by 328x to the millisecond scale.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 36 of its 140 references that are in the map. First posted on arXiv 4 Aug 2025.

Builds on

36 of 140 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  7. 2014Going Deeper with Convolutionscited by 4,231
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  11. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
24 more
  1. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  2. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  3. 2016Language Modeling with Gated Convolutional Networkscited by 688
  4. 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
  5. 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 69
  6. 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 66
  7. 2023NetGPT: Generative Pretrained Transformer for Network Trafficcited by 31
  8. 2024NetMamba: Efficient Network Traffic Classification via Pre-training Unidirectional Mambacited by 24
  9. 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysiscited by 20
  10. 2023netFound: Principled Design for Network Foundation Modelscited by 17
  11. 2024TrafficGPT: Breaking the Token Barrier for Efficient Long Traffic Analysis and Generationcited by 15
  12. 2025SoK: Decoding the Enigma of Encrypted Network Traffic Classifierscited by 15
  13. 2016Deciphering Malware's use of TLS (without Decryption)cited by 9
  14. 2024Robust and Reliable Early-Stage Website Fingerprinting Attacks via Spatial-Temporal Distribution Analysiscited by 8
  15. 2024Lens: A Knowledge-Guided Foundation Model for Network Trafficcited by 7
  16. 2023Detecting Unknown Encrypted Malicious Traffic in Real Time via Flow Interaction Graph Analysiscited by 6
  17. 2024Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speedcited by 5
  18. 2024PhishLang: A Real-Time, Fully Client-Side Phishing Detection Framework Using MobileBERTcited by 3
  19. 2024CATO: End-to-End Optimization of ML-Based Traffic Analysis Pipelinescited by 2
  20. 2025Pegasus: A Universal Framework for Scalable Deep Learning Inference on the Dataplanecited by 2
  21. 2025FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable Switchescited by 2
  22. 2023Listen to Minority: Encrypted Traffic Classification for Class Imbalance with Contrastive Pre-Trainingcited by 1
  23. 2024Non-uniformity is All You Need: Efficient and Timely Encrypted Traffic Classification With ECHOcited by 1
  24. 2025TraGe: A Generic Packet Representation for Traffic Classification Based on Header-Payload Differencescited by 1

Built on by

Not cited yet.