Study of semi-supervised learning based encrypted traffic classification method for Tor anonymity network
Year: 2025
Type: article
Abstract: The onion routing (Tor) anonymous network, due to its multi-layer encryption and dynamic relay mechanisms, posed significant challenges for traffic classification. Illegal applications or websites traffic hidden within Tor anonymous network traffic could not be effectively detected by traditional traffic identification techniques. To address this issue a semi-supervised learning-based method for encrypted traffic classification in Tor networks was proposed. A unified "pretraining + fine-tuning" framework was utilized to fully leverage unlabeled data. In the pretraining phase, a dynamic masking mechanism was introduced to gradually adjust the masking ratio, enhancing the model’s ability to learn latent features. In the fine-tuning phase, a channel and spatial attention (CSA) module was integrated to improve the model’s sensitivity to critical local regions. The overall approach was built on a Transformer-based architecture, combining self-supervised feature extraction with enhanced discriminative capability. Experimental results on the ISCXTor2016 dataset and a self-collected dark web traffic dataset showed that the proposed method achieved over 98% across all performance metrics in classifying eight typical traffic categories, demonstrating excellent generalization ability and practical value.
Source: 网络与信息安全学报
Language: Chinese
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W7123239665
