Netinfo Security ›› 2025, Vol. 25 ›› Issue (1): 148-158.doi: 10.3969/j.issn.1671-1122.2025.01.013

Previous Articles     Next Articles

Encrypted Traffic Classification Method Based on Optimal Transport and I-ELM

TAI Yingying, WEI Yuanyuan, ZHOU Hanxun, WANG Yan()   

  1. College of Cyber and Information Security, Liaoning University, Shenyang 110036, China
  • Received:2024-11-15 Online:2025-01-10 Published:2025-02-14
  • Contact: WANG Yan E-mail:35902642@qq.com

Abstract:

To address data imbalance as well as high resource and time consumption in encrypted traffic classification, this paper proposed a fine-tuning model named CEFT (Comprehensive Enhanced Fine-Tuning). CEFT used ET-BERT as its pre-trained model and introduced an OT (Optimal Transport) module and an I-ELM (Improved Extreme Learning Machine) module on top of it. These additions not only enhanced classification performance but also improved training efficiency. In CEFT, encrypted traffic was first fed into the ET-BERT model for feature extraction. Then, an OT module was employed to measure the transport cost between the model’s predicted distribution and the true distribution. By adjusting weighted to minimize this cost, the model achieved more accurate predictions across different categories, effectively mitigating the issue of data imbalance. Meanwhile, by incorporating the I-ELM module, CEFT enabled rapid weight updates, thereby reducing the lengthy gradient computation process and accelerating training, effectively addressing the problems of high resource and time consumption. Experiments show that CEFT achieves accuracies of 98.97% and 99.70% on the ISCX-VPN-Service and ISCX-VPN-App datasets, respectively, and significantly outperforms existing benchmark models in terms of precision, recall, and F1-score. On the ISCX-VPN-Service dataset, CEFT reduces training time by approximately 33.33%, and on the ISCX-VPN-App dataset, by about 35.37%, markedly shortening the training duration.

Key words: CEFT, encrypted traffic classification, data imbalance, I-ELM, optimal transport

CLC Number: