How to Achieve High Classification Accuracy with Just a Few Labels: A Semi-supervised Approach Using Sampled Packets
Preprint
Abstract
Network traffic classification, which has numerous applications from security to billing and network provisioning, has become a cornerstone of today's computer networks. Previous studies have developed traffic classification techniques using classical machine learning algorithms and deep learning methods when large quantities of labeled data are available. However, capturing large labeled datasets is a cumbersome and time-consuming process. In this paper, we propose a semi-supervised approach that obviates the need for large labeled datasets. We first pre-train a model on a large unlabeled dataset where the input is the time series features of a few sampled packets. Then the learned weights are transferred to a new model that is re-trained on a small labeled dataset. We show that our semi-supervised approach achieves almost the same accuracy as a fully-supervised method with a large labeled dataset, though we use only 20 samples per class. In tests based on a dataset generated from the more challenging QUIC protocol, our approach yields 98% accuracy. To show its efficacy, we also test our approach on two public datasets. Moreover, we study three different sampling techniques and demonstrate that sampling packets from an arbitrary portion of a flow is sufficient for classification.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Deep packet: a novel approach for encrypted traffic classification using deep learningSoft Computing, 2019
- Deep Learning for Encrypted Traffic Classification: An OverviewIEEE Communications Magazine, 2019
- Network Traffic Classifier With Convolutional and Recurrent Neural Networks for Internet of ThingsIEEE Access, 2017
- I Know What You Saw Last Minute—Encrypted HTTP Adaptive Video Streaming Title ClassificationIEEE Transactions on Information Forensics and Security, 2017
- Classification of Encrypted Traffic With Second-Order Markov Chains and Application Attribute BigramsIEEE Transactions on Information Forensics and Security, 2017
- Analyzing Android Encrypted Network Traffic to Identify User ActionsIEEE Transactions on Information Forensics and Security, 2015
- A survey of methods for encrypted traffic classification and analysisInternational Journal of Network Management, 2015