arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.21792cs.LG
收藏

NetMamba+: 一种用于高效准确网络流量分类的预训练模型框架

NetMamba+: A Framework of Pre-trained Models for Efficient and Accurate Network Traffic Classification

Institute for Network Sciences and Cyberspace, Tsinghua University(网络科学与网络空间研究院,清华大学);Department of Computer Science and Technology, Tsinghua University(计算机科学与技术系,清华大学);Zhongguancun Laboratory(中关村实验室);Central South University(中南大学)

Tongze Wang, Xiaohui Xie, Wenduo Wang, Chuyi Wang, Jinzhou Liu, Boyan Huang, Yannan Hu, Youjian Zhao, Yong Cui

AI总结:

NetMamba+通过高效架构、多模态表示和标签分布感知微调,实现高效准确的网络流量分类。

摘要:

随着加密网络流量的迅速增长,有效的流量分类已成为网络安全和服务质量管理的关键。当前用于流量分类的机器学习和深度学习方法面临三个关键挑战:Transformer架构的计算效率低下、流量表示不足导致关键字节级特征丢失同时保留有害偏差、以及对现实数据中长尾分布处理不佳。我们提出NetMamba+,通过三个关键创新解决这些问题:(1)考虑Mamba和Flash Attention机制的高效架构;(2)一种多模态流量表示方案,保留必要的流量信息同时消除偏差;(3)一种标签分布感知的微调策略。在涵盖四项主要分类任务的大量数据集上的评估实验显示,NetMamba+在F1分数上比最先进的基线提高了最高6.44%。此外,NetMamba+表现出卓越的效率,其推理吞吐量比最佳基线高1.7倍,同时保持相对较低的内存使用。此外,NetMamba+在较少标注数据的情况下表现出更好的少量学习能力。此外,我们实现了一个在线流量分类系统,该系统在261.87 Mb/s的吞吐量下展示了稳健的现实世界性能。作为第一个将Mamba架构适应于网络流量分类的框架,NetMamba+为复杂网络环境中的高效准确流量分析开辟了新可能。

英文摘要:

With the rapid growth of encrypted network traffic, effective traffic classification has become essential for network security and quality of service management. Current machine learning and deep learning approaches for traffic classification face three critical challenges: computational inefficiency of Transformer architectures, inadequate traffic representations with loss of crucial byte-level features while retaining detrimental biases, and poor handling of long-tail distributions in real-world data. We propose NetMamba+, a framework that addresses these challenges through three key innovations: (1) an efficient architecture considering Mamba and Flash Attention mechanisms, (2) a multimodal traffic representation scheme that preserves essential traffic information while eliminating biases, and (3) a label distribution-aware fine-tuning strategy. Evaluation experiments on massive datasets encompassing four main classification tasks showcase NetMamba+'s superior classification performance compared to state-of-the-art baselines, with improvements of up to 6.44\% in F1 score. Moreover, NetMamba+ demonstrates excellent efficiency, achieving 1.7x higher inference throughput than the best baseline while maintaining comparably low memory usage. Furthermore, NetMamba+ exhibits superior few-shot learning abilities, achieving better classification performance with fewer labeled data. Additionally, we implement an online traffic classification system that demonstrates robust real-world performance with a throughput of 261.87 Mb/s. As the first framework to adapt Mamba architecture for network traffic classification, NetMamba+ opens new possibilities for efficient and accurate traffic analysis in complex network environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑