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

倾听少数:基于对比预训练的不平衡加密流量分类

Listen to Minority: Encrypted Traffic Classification for Class Imbalance with Contrastive Pre-Training

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Amazon(亚马逊);Zhongguancun Laboratory(中关村实验室);China Assets Cybersecurity Technology CO.,Ltd.(中资网络安全科技有限公司)

Xiang Li, Juncheng Guo, Qige Song, Jiang Xie, Yafei Sang, Shuyuan Zhao, Yongzheng Zhang

AI总结:

针对加密流量分类中类别不平衡和流量同质性问题,提出基于对比预训练和半监督优化的PASS框架,在四个公共数据集上显著提升F1值。

摘要:

移动互联网已深刻重塑现代生活的方方面面。加密流量分类(ETC)在管理移动互联网中自然扮演着至关重要的角色,尤其是在使用加密通信的移动应用爆炸式增长的背景下。尽管现有一些基于学习的ETC方法显示出有前景的结果,但在真实网络环境中仍存在三个方面的局限性:1)由流量类别不平衡导致的标签偏差,2)由组件共享导致的流量同质性,以及3)训练依赖充足的标记流量。现有的ETC方法均无法同时解决所有这些局限性。在本文中,我们提出了一种新颖的预训练半监督ETC框架,称为PASS。我们的关键见解是重新采样原始训练数据集,并直接使用单个应用标签进行对比预训练,以避免由类别不平衡引起的标签偏差问题,同时通过拉近正流量对和推远负流量对,获得稳健的特征表示以区分重叠的同质流量。同时,PASS设计了一种基于伪标签迭代和动态损失加权算法的半监督优化策略,以有效利用海量未标记流量数据并减轻人工训练数据集标注负担。PASS在四个具有显著类别不平衡和流量同质性的公共数据集上优于最先进的ETC方法和通用采样方法,显著将Cross-Platform215的F1提升了1.31%,ISCX-17的F1提升了9.12%。此外,我们验证了PASS的对比预训练和伪标签迭代组件的通用性,它们能够自适应地使具有不同特征提取器的ETC方法受益。

英文摘要:

Mobile Internet has profoundly reshaped modern lifestyles in various aspects. Encrypted Traffic Classification (ETC) naturally plays a crucial role in managing mobile Internet, especially with the explosive growth of mobile apps using encrypted communication. Despite some existing learning-based ETC methods showing promising results, three-fold limitations still remain in real-world network environments, 1) label bias caused by traffic class imbalance, 2) traffic homogeneity caused by component sharing, and 3) training with reliance on sufficient labeled traffic. None of the existing ETC methods can address all these limitations. In this paper, we propose a novel Pre-trAining Semi-Supervised ETC framework, dubbed PASS. Our key insight is to resample the original train dataset and perform contrastive pre-training without using individual app labels directly to avoid label bias issues caused by class imbalance, while obtaining a robust feature representation to differentiate overlapping homogeneous traffic by pulling positive traffic pairs closer and pushing negative pairs away. Meanwhile, PASS designs a semi-supervised optimization strategy based on pseudo-label iteration and dynamic loss weighting algorithms in order to effectively utilize massive unlabeled traffic data and alleviate manual train dataset annotation workload. PASS outperforms state-of-the-art ETC methods and generic sampling approaches on four public datasets with significant class imbalance and traffic homogeneity, remarkably pushing the F1 of Cross-Platform215 with 1.31%, ISCX-17 with 9.12%. Furthermore, we validate the generality of the contrastive pre-training and pseudo-label iteration components of PASS, which can adaptively benefit ETC methods with diverse feature extractors.

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

↑