MetaFETC: Adaptive Few-Shot Encrypted Traffic Classification with Meta-Learning for Diverse Encryption Techniques
Encrypted Traffic Classification (ETC) plays a pivotal role in managing network traffic and ensuring network security. Existing solutions often rely on training on large-scale traffic datasets to achieve good performance. However, due to the diversity of encryption technologies and application scenarios in the real world, collecting and labeling sufficient data for each ETC scenario often becomes impractical. To address this problem, we propose a novel adaptive few-shot ETC model named MetaFETC. MetaFETC extracts protocol-agnostic packet length sequences from encrypted traffic sessions as the input to learn the universal traffic representation and utilizes multi-task learning and meta-learning strategies to quickly adapt to new unknown ETC tasks in evolving network environments with only a small amount of new labeled data. Specifically, we utilize Temporal Convolution Network (TCN) model to capture the dependencies within the packet length sequences, which is essential for understanding the complex patterns present in encrypted traffic. Moreover, we introduce a multi-task meta-learning module to learn the optimal model initialization parameters via non-target task data of other encrypted scenarios, which can facilitate generalization and transferability across novel diverse ETC tasks. Experimental results show that the classfication accuracy of MetaFETC improves 10% in unknown few-shot encrypted scenario compared to traditional transfer method.
Authors
- Fengrui Xiao (ORCID: https://orcid.org/0009-0009-1947-5392)
- Xun Liu (ORCID: https://orcid.org/0000-0002-5270-5251)
- Siyang Chen (ORCID: https://orcid.org/0000-0001-7471-4274)
- Yuanyi Ma (ORCID: https://orcid.org/0009-0004-4652-3453)
- Wang Jian (ORCID: https://orcid.org/0000-0002-9640-6093)
- Jiahao Mei
Institutions
- University of Science and Technology of China (CN)
Publication Details
- Published
- 2024-12-13
- DOI
- https://doi.org/10.1109/iccc62609.2024.10941796
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China