Revolutionizing Encrypted Traffic Classification with MH-Net: A Multi-View Heterogeneous Graph Model
With the growing significance of network security, the classification of encrypted traffic has emerged as an urgent challenge. Traditional byte-based traffic analysis methods are constrained by the rigid granularity of information and fail to fully exploit the diverse correlations between bytes. To address these limitations, this paper introduces MH-Net, a novel approach for classifying network traffic that leverages multi-view heterogeneous traffic graphs to model the intricate relationships between traffic bytes. The essence of MH-Net lies in aggregating varying numbers of traffic bits into multiple types of traffic units, thereby constructing multi-view traffic graphs with diverse information granularities. By accounting for different types of byte correlations, such as header-payload relationships, MH-Net further endows the traffic graph with heterogeneity, significantly enhancing model performance. Notably, we employ contrastive learning in a multi-task manner to strengthen the robustness of the learned traffic unit representations. Experiments conducted on the ISCX and CIC-IoT datasets for both the packet-level and flow-level traffic classification tasks demonstrate that MH-Net achieves the best overall performance compared to dozens of SOTA methods.
Authors
- Zhen Ling (ORCID: https://orcid.org/0000-0001-9691-8702)
- Le Yu (ORCID: https://orcid.org/0000-0002-4908-3199)
- Haozhen Zhang (ORCID: https://orcid.org/0000-0003-4048-4516)
- Qin Li (ORCID: https://orcid.org/0000-0001-6393-3236)
- Ye Zhang (ORCID: https://orcid.org/0000-0003-2829-1420)
- Xi Xiao (ORCID: https://orcid.org/0000-0003-1521-9542)
- Haodong Yue (ORCID: https://orcid.org/0009-0008-6379-6620)
Institutions
- National University of Singapore (SG)
- University Town of Shenzhen (CN)
- Nanjing University of Posts and Telecommunications (CN)
- Peng Cheng Laboratory (CN)
- Southeast University (CN)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i1.32091
- Citations
- 10
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 8.87
Funders
- National Natural Science Foundation of China
- Ministry of Education of the People's Republic of China
- Nanjing University of Posts and Telecommunications
- Nanjing University
- Key Laboratory of Computer Network and Information Integration