Journal of Applied Sciences ›› 2022, Vol. 40 ›› Issue (5): 758-769.doi: 10.3969/j.issn.0255-8297.2022.05.005

• Communication Engineering • Previous Articles     Next Articles

Network Traffic Classification Based on LSTM and Feature Generation

WANG Shuai, DONG Yuning, LI Tao   

  1. College of Communication and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, Jiangsu, China
  • Received:2020-11-24 Online:2022-09-30 Published:2022-09-30

Abstract: This paper proposes a network traffic classification method that combines feature generation and long short term memory (LSTM) model. This method analyzes and compares the classification performances of different feature generation methods using matrix multiplication feature generation method. The accuracy of original data and feature data on the classification problem is tested experimentally, and the results of convolutional neural network (CNN) and the proposed method are compared on network flow classification. The kernel function is used in the statistical feature, so that it can adapt to the LSTM input dimension and obtain better classification results. Experimental results on real network flow data show that the proposed method can achieve 93.9% accuracy in classification, and 99.2% in coarse grained classification task, and this performance is significantly better than that of existing methods.

Key words: traffic classification, feature generation, long short term memory (LSTM), fine classification

CLC Number: