Skip to content

Encrypted Network Traffic Classification Using Generative and Contrastive Self-Supervised Learning

2026 · IEEE Transactions on Networking · Vol 34, pp. 7377-7392 · 0 citations · 39 references

Abstract

Network traffic classification is crucial for various applications, encompassing network provisioning, malware detection, and resource management. In contemporary networks, the prevalence of encrypted protocols presents a challenge to existing classification techniques. Deep learning has exhibited promising results in encrypted traffic classification; however, its reliance on extensive labeled data impedes its efficacy in real-world scenarios where labeled data is scarce. This paper explores self-supervised learning, specifically generative and contrastive learning, as a solution to this challenge. While self-supervised learning is well-established in computer vision and natural language processing, its application to sequential data like network traffic remains unexplored. The paper utilizes two self-supervised approaches, generative and contrastive, tailored to achieve high accuracy in classifying encrypted network traffic with minimal labeled data. Evaluation across four publicly available datasets shows that the proposed self-supervised approaches outperform corresponding supervised baselines, an existing self-supervised method, and two state-of-the-art few-shot learning approaches by approximately 3%, 11%, and 17%, respectively in terms of accuracy. In addition, the proposed approaches exhibit transferability, showcasing the ability to apply learned knowledge to different datasets not seen during training. This paper advances the understanding and application of self-supervised learning in the domain of network traffic classification, offering viable solutions for scenarios with limited labeled data.

View source

Similar papers

Review Open access Sep 2026

A Comprehensive Survey on Machine Learning and Deep Learning Approaches for Network Intrusion Detection Systems: Techniques, Datasets, and Open Challenges

Overall, NIDS research is gradually moving beyond the pursuit of higher accuracy toward practical challenges such as real-time edge inference, adversarial robustness, explainability, privacy-preserving and federated learning, and intrusion detection over encrypted traffic.

Y. Alnattaf, Hanaa Fathi Mahmoud · 1 citation
Open access Sep 2026

Evaluating Dataset Representativeness for Machine Learning-Based Anomaly Detection in Encrypted Network Environments

The increasing prevalence of encrypted network traffic has reduced the effectiveness of traditional intrusion detection methods that rely on payload inspection and signature-based analysis. Machine learning–based anomaly detection offers a promising alternative, but its effectiveness depends heavily on the representati...

Mark Marrero, Yan-Zhen Qu · 0 citations
Open access Sep 2026

Machine Learning-Based Classification of Encrypted Network Traffic and Domain Generation Algorithm (DGA) Threats

Modern cybersecurity landscapes face a dual threat vector characterized by the widespread adoption of payload encryption for covert communications and the proliferation of Domain Generation Algorithms (DGAs) used by advanced malware to dynamically establish Command and Control (C2) infrastructure. Traditional signature...

Channakeshava RN Dr · 0 citations
Open access 2026

Leakage-Aware Explainable Two-Stage Framework for Behavioral Darknet and Encrypted-Traffic Classification

: Automated darknet traffic detection remains challenging because The Onion Router (TOR) and Virtual Private Network (VPN) technologies can conceal legitimate and malicious traffic. Existing studies based on the CIC-Darknet2020 dataset often report near-perfect results using host or session-related identifiers, raising...

Sunawar Khan, A. ur Rehman, S. Bharany et al. · 0 citations
Open access Sep 2026

Explainable Network Traffic Classification Using XGBoost and SHAP: Interpreting Feature Contributions Across Traffic Classes

Network traffic classification has become an essential component of modern network management, cyber security, and quality-of-service provisioning. The widespread adoption of encryption technologies has reduced the effectiveness of traditional traffic identification techniques, leading to the use of ML approaches based...

Boubakar Seddik Deghem, Lahcene Aid, Kadda Mostefaoui · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.