Encrypted Internet traffic classification using a supervised Spiking Neural Network
Authors:
Preprint
Abstract
Internet traffic recognition is an essential tool for access providers since recognizing traffic categories related to different data packets transmitted on a network help them define adapted priorities. That means, for instance, high priority requirements for an audio conference and low ones for a file transfer, to enhance user experience. As internet traffic becomes increasingly encrypted, the mainstream classic traffic recognition technique, payload inspection, is rendered ineffective. This paper uses machine learning techniques for encrypted traffic classification, looking only at packet size and time of arrival. Spiking neural networks (SNN), largely inspired by how biological neurons operate, were used for two reasons. Firstly, they are able to recognize time-related data packet features. Secondly, they can be implemented efficiently on neuromorphic hardware with a low energy footprint. Here we used a very simple feedforward SNN, with only one fully-connected hidden layer, and trained in a supervised manner using the newly introduced method known as Surrogate Gradient Learning. Surprisingly, such a simple SNN reached an accuracy of 95.9% on ISCX datasets, outperforming previous approaches. Besides better accuracy, there is also a very significant improvement on simplicity: input size, number of neurons, trainable parameters are all reduced by one to four orders of magnitude. Next, we analyzed the reasons for this good accuracy. It turns out that, beyond spatial (i.e. packet size) features, the SNN also exploits temporal ones, mostly the nearly synchronous (within a 200ms range) arrival times of packets with certain sizes. Taken together, these results show that SNNs are an excellent fit for encrypted internet traffic classification: they can be more accurate than conventional artificial neural networks (ANN), and they could be implemented efficiently on low power embedded systems.Keywords
All Related Versions
- Version 1, 2021-01-24, ArXiv
- Version 2, 2022-07-21, ArXiv
- Published version: Neurocomputing, 503, 272.
This publication has 16 references indexed in Scilit:
- Incorporating Learnable Membrane Time Constant to Enhance Learning of Spiking Neural Networks2021
- Towards spike-based machine intelligence with neuromorphic computingNature, 2019
- Deep packet: a novel approach for encrypted traffic classification using deep learningSoft Computing, 2019
- Network Traffic Classifier With Convolutional and Recurrent Neural Networks for Internet of ThingsIEEE Access, 2017
- Robust application identification methods for P2P and VoIP traffic classification in backbone networksKnowledge-Based Systems, 2015
- Toward an efficient and scalable feature selection approach for internet traffic classificationComputer Networks, 2013
- Issues and future directions in traffic classificationIEEE Network, 2012
- Bayesian Neural Networks for Internet Traffic ClassificationIEEE Transactions on Neural Networks, 2007
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Networks of spiking neurons: The third generation of neural network modelsNeural Networks, 1997