Table 10 Ablation results of the hyperparameters of backbone.

From: A novel multi-scale network intrusion detection model with transformer

Stacked number

NSL-KDD

CIC-DDoS 2019

UNSW-NB15

Accuracy

Recall

Accuracy

Recall

Accuracy

Recall

1

98.7

98.9

98.5

97.9

98.6

98.9

2

99.2

99.2

99.1

99.4

99.7

99.8

3

98.3

98.4

98.2

98.5

99.1

98.8

4

98.1

97.9

98.3

98.2

98.7

98.6

5

97.8

97.6

97.9

97.6

98.1

97.9

6

97.1

96.8

97.3

97.1

97.4

97.2

  1. The values are expressed in %, and the best one is in bold.