阴影中的偏差:探索加密网络流量分类中的捷径
Bias in the Shadows: Explore Shortcuts in Encrypted Network Traffic Classification
AI总结:
本文提出BiasSeeker,一种半自动化的框架,用于检测加密网络流量分类中的数据集特定捷径特征,通过统计相关性分析和类别特定验证策略减少偏差,提升模型泛化能力。
摘要:
预训练模型直接在原始字节上进行操作,在加密网络流量分类(NTC)中取得了令人鼓舞的性能,但常常存在捷径学习的问题——依赖于虚假的相关性,这些相关性无法推广到真实世界的数据。现有解决方案严重依赖于模型特定的解释技术,这些技术缺乏在不同模型架构和部署场景中的适应性和通用性。在本文中,我们提出了BiasSeeker,这是第一个半自动化的框架,它既模型无关又数据驱动,用于检测数据集特定的捷径特征。通过在原始二进制流量上执行统计相关性分析,BiasSeeker识别出虚假或环境交织的特征,这些特征可能影响泛化能力,而不依赖于任何分类器。为了解决捷径特征的多样性,我们引入了系统分类,并应用类别特定的验证策略,以减少偏差同时保留有意义的信息。我们对19个公开数据集进行了评估,涵盖了三个NTC任务。通过强调上下文感知的特征选择和数据集特定的诊断,BiasSeeker提供了一种新的视角,用于理解和解决加密网络流量分类中的捷径学习问题,提高了对特征选择应在模型训练之前作为有意和情境敏感的步骤进行的意识。
英文摘要:
Pre-trained models operating directly on raw bytes have achieved promising performance in encrypted network traffic classification (NTC), but often suffer from shortcut learning-relying on spurious correlations that fail to generalize to real-world data. Existing solutions heavily rely on model-specific interpretation techniques, which lack adaptability and generality across different model architectures and deployment scenarios. In this paper, we propose BiasSeeker, the first semi-automated framework that is both model-agnostic and data-driven for detecting dataset-specific shortcut features in encrypted traffic. By performing statistical correlation analysis directly on raw binary traffic, BiasSeeker identifies spurious or environment-entangled features that may compromise generalization, independent of any classifier. To address the diverse nature of shortcut features, we introduce a systematic categorization and apply category-specific validation strategies that reduce bias while preserving meaningful information. We evaluate BiasSeeker on 19 public datasets across three NTC tasks. By emphasizing context-aware feature selection and dataset-specific diagnosis, BiasSeeker offers a novel perspective for understanding and addressing shortcut learning in encrypted network traffic classification, raising awareness that feature selection should be an intentional and scenario-sensitive step prior to model training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。