ELEMTC:An Efficient Multi-Task Model with Pre-trained Transformer for Encrypted Traffic Classification
Accurate classification of encrypted traffic is vital for effective network management and Quality of Service (QoS). Protocol identification and application recognition are central to this process. Existing solutions generally use separate models for protocol identification and application recognition. However, running these models in parallel in online environments significantly increases system complexity, resource consumption, and maintenance costs. Additionally, these models often suffer from poor traffic representation by discarding crucial byte information and retaining irrelevant biases. This paper introduces an efficient multi-task learning framework, ELEMTC, designed to simultaneously perform protocol identification and application recognition, while offering a tailored traffic representation scheme for network management. To improve efficiency, we propose a novel sample pre-training task, Detection Token Replacement, specifically tailored for the networking domain. Experimental results on the ISCX VPN-non VPN dataset show that ELEMTC achieves Fl scores of 98.37% and 99.46% for application recognition and protocol identification, respectively. These results demonstrate that ELEMTC significantly outperforms current state-of-the-art methods. Furthermore, ELEMTC demonstrates outstanding efficiency by improving inference speed 20 times while maintaining relatively low memory usage.
Authors
- Y.R. Liu (ORCID: https://orcid.org/0000-0002-6922-4008)
- Tiexin Wang (ORCID: https://orcid.org/0000-0002-5432-3812)
- Wenlong Wu (ORCID: https://orcid.org/0009-0004-6590-6126)
- Bohan Li (ORCID: https://orcid.org/0000-0002-3408-9037)
- Guobiao Sang
Institutions
- Nanjing University of Aeronautics and Astronautics (CN)
Publication Details
- Published
- 2024-12-20
- DOI
- https://doi.org/10.1109/msn63567.2024.00109
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 0.00