Telecommunications Science ›› 2023, Vol. 39 ›› Issue (7): 80-89.doi: 10.11959/j.issn.1000-0801.2023138

• Research and Development • Previous Articles     Next Articles

A network traffic classification method based on random forest and improved convolutional neural network

Bensheng YUN, Xiaoya GAN, Yaguan QIAN   

  1. School of Science, Zhejiang University of Science and Technology, Hangzhou 310023, China
  • Revised:2023-07-02 Online:2023-07-20 Published:2023-07-01
  • Supported by:
    The National Natural Science Foundation of China(61972357);The Natural Science Foundation of Zhejiang Provincial of China(LZ22F020007)

Abstract:

In order to improve the efficiency and reduce the complexity of network traffic classification model, a classification method based on random forest and improved convolutional neural network was proposed.Firstly, the random forest was used to evaluate the importance of each feature of network traffic, and the feature was selected according to the importance ranking.Secondly, AdamW optimizer and triangular cyclic learning rate were adopted to optimize the convolutional neural network classification model.Then, the model was built on Spark cluster to realize the parallelization of model training.Adopting triangular cyclic learning rate with constant cycle amplitude, the experimental results of selecting 1 024, 400, 256 and 100 most important features as input show that the model accuracy is improved to 97.68%, 95.84%, 95.03% and 94.22%, respectively.The 256 most important features were selected and the experimental results based on adopting different learning rates show that the learning rate with half the cycle amplitude works best, the accuracy of the model is improved to 95.25%, and training time of the model is reduced by nearly half.

Key words: network traffic classification, random forest, convolutional neural network, Spark

CLC Number: 

No Suggested Reading articles found!