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

TraGe: 一种基于头部-负载差异的流量分类通用数据包表示

TraGe: A Generic Packet Representation for Traffic Classification Based on Header-Payload Differences

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Purple Mountain Laboratories(紫金山实验室);Nanjing Institute of InforSuperBahn(南京信息高速研究院)

Chungang Lin, Yilong Jiang, Weiyao Zhang, Xuying Meng, Tianyu Zuo, Yujun Zhang

AI总结:

针对现有预训练模型未针对流量数据设计导致表示不充分的问题,提出TraGe模型,基于头部与负载的字节序列差异进行差异化预训练,并引入动态掩码策略,在流量分类任务上性能提升高达6.97%。

摘要:

流量分类对维持网络服务质量有重要影响。由于传统方法严重依赖特征提取和大规模标注数据,一些最近的预训练模型通过利用不同的预训练任务训练网络包的通用表示来减少这种依赖。然而,现有的预训练模型通常采用为图像或文本数据开发的预训练任务,这些任务并不适用于流量数据。因此,获得的流量表示未能充分反映流量中包含的信息,甚至可能破坏协议信息。为了解决这个问题,我们提出了TraGe,一种用于流量分类的新型通用数据包表示模型。基于头部和负载(网络包的两个基本组成部分)之间的差异,我们根据字节序列的变化(头部连续,负载不连续)进行差异化预训练。进一步引入动态掩码策略以防止过拟合固定字节位置。一旦获得通用数据包表示,TraGe可以使用有限标注数据针对不同的流量分类任务进行微调。实验结果表明,TraGe在两个流量分类任务上显著优于最先进的方法,性能提升高达6.97%。此外,TraGe在参数波动和采样配置变化下表现出优越的鲁棒性。

英文摘要:

Traffic classification has a significant impact on maintaining the Quality of Service (QoS) of the network. Since traditional methods heavily rely on feature extraction and large scale labeled data, some recent pre-trained models manage to reduce the dependency by utilizing different pre-training tasks to train generic representations for network packets. However, existing pre-trained models typically adopt pre-training tasks developed for image or text data, which are not tailored to traffic data. As a result, the obtained traffic representations fail to fully reflect the information contained in the traffic, and may even disrupt the protocol information. To address this, we propose TraGe, a novel generic packet representation model for traffic classification. Based on the differences between the header and payload-the two fundamental components of a network packet-we perform differentiated pre-training according to the byte sequence variations (continuous in the header vs. discontinuous in the payload). A dynamic masking strategy is further introduced to prevent overfitting to fixed byte positions. Once the generic packet representation is obtained, TraGe can be finetuned for diverse traffic classification tasks using limited labeled data. Experimental results demonstrate that TraGe significantly outperforms state-of-the-art methods on two traffic classification tasks, with up to a 6.97% performance improvement. Moreover, TraGe exhibits superior robustness under parameter fluctuations and variations in sampling configurations.

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

↑