paper-with-me

홈 › Papers

One Train for Two Tasks: An Encrypted Traffic Classification Framework Using Supervised Contrastive Learning

2024-02-12 · Haozhen Zhang, Xi Xiao, Le Yu, Qing Li, Zhen Ling, Ye Zhang

As network security receives widespread attention, encrypted traffic classification has become the current research focus. However, existing methods conduct traffic classification without sufficiently considering the common characteristics between data samples, leading to suboptimal performance. Moreover, they train the packet-level and flow-level classification tasks independently, which is redundant because the packet representations learned in the packet-level task can be exploited by the flow-level task. Therefore, in this paper, we propose an effective model named a Contrastive Learning Enhanced Temporal Fusion Encoder (CLE-TFE). In particular, we utilize supervised contrastive learning to enhance the packet-level and flow-level representations and perform graph data augmentation on the byte-level traffic graph so that the fine-grained semantic-invariant characteristics between bytes can be captured through contrastive learning. We also propose cross-level multi-task learning, which simultaneously accomplishes the packet-level and flow-level classification tasks in the same model with one training. Further experiments show that CLE-TFE achieves the best overall performance on the two tasks, while its computational overhead (i.e., floating point operations, FLOPs) is only about 1/14 of the pre-trained model (e.g., ET-BERT). We release the code at https://github.com/ViktorAxelsen/CLE-TFE

📄 PDF Abstract BibTeX arXiv:2402.07501

Code (1)

viktoraxelsen/cle-tfe 공식 구현 pytorch

Tasks

ClassificationContrastive LearningData AugmentationMulti-Task LearningTraffic Classification

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Efficiently and Effectively: A Two-stage Approach to Balance Plaintext and Encrypted Text for Traffic Classification

2024-07-29 · Wei Peng, Lei Cui, Wei Cai, Zhenquan Ding 외

Encrypted traffic classification is the task of identifying the application or service associated with encrypted network traffic. One effective approach for this task is to use deep learning methods to encode the raw tra…

ClassificationTraffic Classification

Unsupervised Dataset Cleaning Framework for Encrypted Traffic Classification

2025-08-31 · Kun Qiu, Ying Wang, Baoqian Li, Wenjun Zhu arxiv

Traffic classification, a technique for assigning network flows to predefined categories, has been widely deployed in enterprise and carrier networks. With the massive adoption of mobile devices, encryption is increasing…

ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classification

2022-02-13 · Xinjie Lin, Gang Xiong, Gaopeng Gou, Zhen Li 외

Encrypted traffic classification requires discriminative and robust traffic representation captured from content-invisible and imbalanced traffic data for accurate classification, which is challenging but indispensable t…

ClassificationManagementTraffic Classification

TEST: an End-to-End Network Traffic Examination and Identification Framework Based on Spatio-Temporal Features Extraction

2019-08-26 · Yi Zeng, Zihao Qi, Wen-Cheng Chen, Yanzhe Huang 외

With more encrypted network traffic gets involved in the Internet, how to effectively identify network traffic has become a top priority in the field. Accurate identification of the network traffic is the footstone of ba…

Intrusion DetectionTraffic Classification

Bias in the Shadows: Explore Shortcuts in Encrypted Network Traffic Classification

2026-01-15 · Chuyi Wang, Xiaohui Xie, Tongze Wang, Yong Cui 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…