One Train for Two Tasks: An Encrypted Traffic Classification Framework Using Supervised Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
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
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 48 references that are in the map. First posted on arXiv 12 Feb 2024.
Builds on
19 of 48 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2019Contrastive Multiview Codingcited by 1,301
- 2020Graph Contrastive Learning with Augmentationscited by 1,208
- 2018Deep Graph Infomaxcited by 1,106
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 463
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 70
7 more
- 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 66
- 2018Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep Learningcited by 43
- 2015k-fingerprinting: a Robust Scalable Website Fingerprinting Techniquecited by 34
- 2018Deep Learning for Encrypted Traffic Classification: An Overviewcited by 27
- 2020Autonomous Unknown-Application Filtering and Labeling for DL-based Traffic Classifier Updatecited by 16
- 2023TFE-GNN: A Temporal Fusion Encoder Using Graph Neural Networks for Fine-grained Encrypted Traffic Classificationcited by 13
- 2019HEDGE: Efficient Traffic Classification of Encrypted and Compressed Packetscited by 5
Built on by
Citing papers per year: 2025: 1.
1 paper.