Multi-Scale Contrastive Attention Representation Learning for Encrypted Traffic Classification
Encrypted traffic classification is essential for network security and management. However, the encrypted nature makes it challenging to extract representative features from raw traffic data. Existing end-to-end methods ignore byte correlations within packets and potential correlations among packets, hindering the learning of real traffic semantics and leading to suboptimal performance. This paper proposes MsETC, a multi-scale contrastive attention representation learning method for encrypted traffic classification. MsETC divides the raw packet byte sequence into multi-scale patches and then extracts dual views for contrastive learning from both the inter-patch and intra-patch perspectives. This allows the model to capture correlations among bytes within a packet as well as the potential interactions between packets. Extensive experiments on real-world datasets demonstrate that the proposed method achieves superior classification performance with lower complexity.
Authors
- Jinfeng Xu (ORCID: https://orcid.org/0009-0001-7876-3740)
- Xinran Zheng (ORCID: https://orcid.org/0000-0003-1130-7916)
- Jinze Li (ORCID: https://orcid.org/0009-0002-6749-5442)
- Edith C.‐H. Ngai (ORCID: https://orcid.org/0000-0002-3454-8731)
- Shuo Yang (ORCID: https://orcid.org/0000-0003-1638-9623)
Institutions
- University of Hong Kong (HK)
- Tsinghua University (CN)
Publication Details
- Published
- 2024-10-20
- DOI
- https://doi.org/10.1145/3627673.3679968
- Citations
- 3
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 1.04