English

Facing Unknown: Open-World Encrypted Traffic Classification Based on Contrastive Pre-Training

Cryptography and Security 2023-09-01 v1

Abstract

Traditional Encrypted Traffic Classification (ETC) methods face a significant challenge in classifying large volumes of encrypted traffic in the open-world assumption, i.e., simultaneously classifying the known applications and detecting unknown applications. We propose a novel Open-World Contrastive Pre-training (OWCP) framework for this. OWCP performs contrastive pre-training to obtain a robust feature representation. Based on this, we determine the spherical mapping space to find the marginal flows for each known class, which are used to train GANs to synthesize new flows similar to the known parts but do not belong to any class. These synthetic flows are assigned to Softmax's unknown node to modify the classifier, effectively enhancing sensitivity towards known flows and significantly suppressing unknown ones. Extensive experiments on three datasets show that OWCP significantly outperforms existing ETC and generic open-world classification methods. Furthermore, we conduct comprehensive ablation studies and sensitivity analyses to validate each integral component of OWCP.

Cite

@article{arxiv.2308.16861,
  title  = {Facing Unknown: Open-World Encrypted Traffic Classification Based on Contrastive Pre-Training},
  author = {Xiang Li and Beibei Feng and Tianning Zang and Shuyuan Zhao and Jingrun Ma},
  journal= {arXiv preprint arXiv:2308.16861},
  year   = {2023}
}

Comments

Accepted by 2023 IEEE ISCC, 6 pages, 5 figures

R2 v1 2026-06-28T12:09:34.003Z