mlsanityData to 14 Oct 2026

NetMamba: Efficient Network Traffic Classification via Pre-training Unidirectional Mamba

arXiv 2405.11449 ↗First posted 19 May 2024cs.LG cs.NIcited by 24

On the map: State-space sequence models (S4, Mamba) → Video, motion and generative Mamba models

Abstract (arXiv)

Network traffic classification is a crucial research area aiming to enhance service quality, streamline network management, and bolster cybersecurity. To address the growing complexity of transmission encryption techniques, various machine learning and deep learning methods have been proposed. However, existing approaches face two main challenges. Firstly, they struggle with model inefficiency due to the quadratic complexity of the widely used Transformer architecture. Secondly, they suffer from inadequate traffic representation because of discarding important byte information while retaining unwanted biases. To address these challenges, we propose NetMamba, an efficient linear-time state space model equipped with a comprehensive traffic representation scheme. We adopt a specially selected and improved unidirectional Mamba architecture for the networking field, instead of the Transformer, to address efficiency issues. In addition, we design a traffic representation scheme to extract valid information from massive traffic data while removing biased information. Evaluation experiments on six public datasets encompassing three main classification tasks showcase NetMamba's superior classification performance compared to state-of-the-art baselines. It achieves an accuracy rate of nearly 99% (some over 99%) in all tasks. Additionally, NetMamba demonstrates excellent efficiency, improving inference speed by up to 60 times while maintaining comparably low memory usage. Furthermore, NetMamba exhibits superior few-shot learning abilities, achieving better classification performance with fewer labeled data. To the best of our knowledge, NetMamba is the first model to tailor the Mamba architecture for networking.

Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Placed in Video, motion and generative Mamba models, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 22 of its 41 references that are in the map. First posted on arXiv 19 May 2024.

Builds on

22 of 41 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024STG-Mamba: Spatial-Temporal Graph Learning via Selective State Space Model19 Mar
  2. 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces1 Feb

Other references · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  7. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  8. 2024VMamba: Visual State Space Modelcited by 969
  9. 2024PointMamba: A Simple State Space Model for Point Cloud Analysiscited by 167
  10. 2024VL-Mamba: Exploring State Space Models for Multimodal Learningcited by 93
  11. 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 70
  12. 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 66
8 more
  1. 2024MiM-ISTD: Mamba-in-Mamba for Efficient Infrared Small Target Detectioncited by 60
  2. 2015k-fingerprinting: a Robust Scalable Website Fingerprinting Techniquecited by 34
  3. 2023NetGPT: Generative Pretrained Transformer for Network Trafficcited by 31
  4. 2024DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Modelscited by 22
  5. 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysiscited by 20
  6. 2024TrafficGPT: Breaking the Token Barrier for Efficient Long Traffic Analysis and Generationcited by 15
  7. 2023TFE-GNN: A Temporal Fusion Encoder Using Graph Neural Networks for Fine-grained Encrypted Traffic Classificationcited by 13
  8. 2024Lens: A Knowledge-Guided Foundation Model for Network Trafficcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 4; 2026: 17.

24 papers.

Sort:

By area:

  1. 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
  2. 2024Network Anomaly Traffic Detection via Multi-view Feature Fusioncited by 2
  3. 2025Pegasus: A Universal Framework for Scalable Deep Learning Inference on the Dataplanecited by 2
  4. 2025Demystifying Network Foundation Modelscited by 2
  5. 2026PLUME: Building a Network-Native Foundation Model for Wireless Traces via Protocol-Aware Tokenizationcited by 2
  6. 2026CENTILE: A Telemetry Foundation Model Evaluated by the Decisions It Drivescited by 2
  7. 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mambacited by 1
  8. 2026Bias in the Shadows: Explore Shortcuts in Encrypted Network Traffic Classificationcited by 1
  9. 2026Mean Masked Autoencoder with Flow-Mixing for Encrypted Traffic Classificationcited by 1
  10. 2026UniAlign: A Model-Agnostic Framework for Robust Network Traffic Classification under Distribution Shiftscited by 1
  11. 2026SoK: Where Do Flow Labels Come From? Auditing Label Provenance in Encrypted Traffic Benchmarkscited by 1
  12. 2024Inference-to-complete: A High-performance and Programmable Data-plane Co-processor for Neural-network-driven Traffic Analysiscited by 0
12 more
  1. 2025Versatile yet Efficient Network Traffic Analysis: Offloading Network Foundation Model to SmartNICcited by 0
  2. 2026Generalizable IoT Traffic Representations for Cross-Network Device Identificationcited by 0
  3. 2026Where Do Flow Semantics Reside? A Protocol-Native Tabular Pretraining Paradigm for Encrypted Traffic Classificationcited by 0
  4. 2026Multimodal Reasoning with LLM for Encrypted Traffic Interpretation: A Benchmarkcited by 0
  5. 2026MambaNetBurst: Direct Byte-level Network Traffic Classification without Tokenization or Pretrainingcited by 0
  6. 2026TraceCodec: A Compiler-Backed Neural Codec for Network Traffic Tracescited by 0
  7. 2026GETA: Generalized Encrypted Traffic Analysiscited by 0
  8. 2026Protocol-Aware Tokenization and Architecture Co-Design for Wireless Packet Foundation Modelscited by 0
  9. 2026Disentangling Multi-View Scanning in Mamba for Network Traffic Anomaly Detectioncited by 0
  10. 2026PERO: Efficient Robust Post-Training Foundation Models for Encrypted Traffic Classificationcited by 0
  11. 2026TDDM-Melatt: A Decoupled Memory and Diffusion Framework for Generalizable Encrypted Traffic Classificationcited by 0
  12. 2026Beyond Measurement Metrics: A Human-Centered Framework for Semantic Validation of Network Traffic Classificationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026NetMamba+: A Framework of Pre-trained Models for Efficient and Accurate Network Traffic Classification
  2. 2026Lightweight GenAI for Network Traffic Generation: Fidelity, Augmentation, and Classification
  3. 2025MamNet: A Novel Hybrid Model for Time-Series Forecasting and Frequency Pattern Analysis in Network Traffic
  4. 2026Unknown-Traffic Detection, Calibration and Shortcut Reliance in Distilled Encrypted-Traffic Classifiers over One Year
  5. 2025FastFlow: Early Yet Robust Network Flow Classification using the Minimal Number of Time-Series Packets
  6. 2025Energy-Efficient Deep Learning for Traffic Classification on Microcontrollers
  7. 2024ST-MambaSync: The Complement of Mamba and Transformers for Spatial-Temporal in Traffic Flow Prediction
  8. 2026TrafficMoE: Heterogeneity-aware Mixture of Experts for Encrypted Traffic Classification