Skip to main navigation Skip to search Skip to main content

Multi-Scale Contrastive Attention Representation Learning for Encrypted Traffic Classification

  • Shuo Yang
  • , Xinran Zheng
  • , Jinze Li
  • , Jinfeng Xu
  • , Edith C.H. Ngai*
  • *Corresponding author for this work
  • The University of Hong Kong
  • Tsinghua University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationCIKM 2024 - Proceedings of the 33rd ACM International Conference on Information and Knowledge Management
PublisherAssociation for Computing Machinery
Pages4173-4177
Number of pages5
ISBN (Electronic)9798400704369
DOIs
StatePublished - 21 Oct 2024
Externally publishedYes
Event33rd ACM International Conference on Information and Knowledge Management, CIKM 2024 - Boise, United States
Duration: 21 Oct 202425 Oct 2024

Publication series

NameInternational Conference on Information and Knowledge Management, Proceedings
ISSN (Print)2155-0751

Conference

Conference33rd ACM International Conference on Information and Knowledge Management, CIKM 2024
Country/TerritoryUnited States
CityBoise
Period21/10/2425/10/24

Keywords

  • contrastive learning
  • representation learning
  • traffic classification

Fingerprint

Dive into the research topics of 'Multi-Scale Contrastive Attention Representation Learning for Encrypted Traffic Classification'. Together they form a unique fingerprint.

Cite this