Research Article

Network Traffic Anomaly Detection Model Based on Feature Reduction and Bidirectional LSTM Neural Network Optimization

Table 10

Detection results of the four models.

DatasetModelEvaluation metrics
Accuracy (%)Precision (%)Recall (%)F-score (%)

NSL-KDDFR-ASPSO-BiLSTM90.9985.0697.3590.79
FR-QPSO-BiLSTM91.4685.2997.6091.03
FR-HPSO-BiLSTM90.9284.9097.1990.55
FR-APPSO-BiLSTM91.7685.3798.5091.46

UNSW-NB15FR-ASPSO-BiLSTM89.8497.0197.2397.12
FR-QPSO-BiLSTM91.1597.5397.4597.49
FR-HPSO-BiLSTM91.1497.5497.7597.77
FR-APPSO-BiLSTM92.0897.8898.3298.10

CICIDS-2017FR-ASPSO-BiLSTM95.0398.3697.8598.11
FR-QPSO-BiLSTM95.2198.4798.1398.30
FR-HPSO-BiLSTM94.9998.2197.9198.01
FR-APPSO-BiLSTM95.4498.5898.4098.49