Journal of Hebei University(Natural Science Edition) ›› 2022, Vol. 42 ›› Issue (5): 552-560.DOI: 10.3969/j.issn.1000-1565.2022.05.014

Previous Articles    

A network intrusion detection method based on SSA-BRF

WEI Mingjun1,2, ZHANG Xinnan1, LIU Yazhi1,2, ZHOU Taiyu1   

  1. 1.College of Artificial Intelligence, North China University of Science and Technology, Tangshan 063210, China; 2.Hebei Provincial Key Laboratory of Industrial Intelligent Perception, North China University of Science and Technology, Tangshan 063210, China
  • Received:2022-03-02 Online:2022-09-25 Published:2022-10-19

Abstract: In order to solve the problem that the selection of hyper-parameters of random forest(RF)will have a great impact on the classification results of RF, an optimization method of RF hyper-parameters based on sparrow search algorithm(SSA)is proposed to help RF find a set of excellent hyper-parameters. Balanced random forest(BRF)is used to solve the problem that RF is difficult to accurately identify minority data, so as to improve the recall rate of the model for minority data. Finally, SSA-BRF model is constructed by integrating SSA and BRF, and the classification effect of the model is verified in CIC-IDS-2017 data set. Experimental results show that compared with RF, the accuracy, macro recall and macro F1 score of SSA-BRF are improved by 9.57%, 26.62% and 0.17 respectively. This model can improve the performance of network intrusion detection system to a certain extent.

Key words: sparrow search algorithm, hyperparameter optimization, balanced random forest, imbalanced data classification, CIC-IDS-2017

CLC Number: