Application of Weighted Cross-Entropy Loss Function in Intrusion Detection

  • Zhou Z
  • Huang H
  • Fang B
N/ACitations
Citations of this article
38Readers
Mendeley users who have this article in their library.

Abstract

The deep learning model is overfitted and the accuracy of the test set is reduced when the deep learning model is trained in the network intrusion detection parameters, due to the traditional loss function convergence problem. Firstly, we utilize a network model architecture combining Gelu activation function and deep neural network; Secondly, the cross-entropy loss function is improved to a weighted cross entropy loss function, and at last it is applied to intrusion detection to improve the accuracy of intrusion detection. In order to compare the effect of the experiment, the KDDcup99 data set, which is commonly used in intrusion detection, is selected as the experimental data and use accuracy, precision, recall and F1-score as evaluation parameters. The experimental results show that the model using the weighted cross-entropy loss function combined with the Gelu activation function under the deep neur-al network architecture improves the evaluation parameters by about 2% compared with the ordinary cross-entropy loss function model. Experiments prove that the weighted cross-entropy loss function can enhance the model's ability to discriminate samples.

Cite

CITATION STYLE

APA

Zhou, Z., Huang, H., & Fang, B. (2021). Application of Weighted Cross-Entropy Loss Function in Intrusion Detection. Journal of Computer and Communications, 09(11), 1–21. https://doi.org/10.4236/jcc.2021.911001

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free