Bias in the Shadows: Explore Shortcuts in Encrypted Network Traffic Classification
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 38 references that are in the map. First posted on arXiv 15 Jan 2026.
Builds on
11 of 38 references.
References · 11
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
- 2019InterpretML: A Unified Framework for Machine Learning Interpretabilitycited by 243
- 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 66
- 2023Identifying Spurious Biases Early in Training through the Lens of Simplicity Biascited by 44
- 2023What do neural networks learn in image classification? A frequency shortcut perspectivecited by 28
- 2024NetMamba: Efficient Network Traffic Classification via Pre-training Unidirectional Mambacited by 24
- 2024Navigating Shortcuts, Spurious Correlations, and Confounders: From Origins via Detection to Mitigationcited by 22
- 2025SoK: Decoding the Enigma of Encrypted Network Traffic Classifierscited by 15
- 2023Shortcut Detection with Variational Autoencoderscited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.