Research Article

VulDistilBERT: A CPS Vulnerability Severity Prediction Method Based on Distillation Model

Table 2

Random forest, decision tree, AdaBoost, and KNN algorithms for evaluation results of metric combinations. Taking the first row of the random forest algorithm as an example, the vulnerability severity assessment using only one metric, 5, can still achieve an accuracy rate of 65.39%.

Random forestDecision treeAdaBoostKNN
Metric combinationAccuracyMetric combinationAccuracyMetric combinationAccuracyMetric combinationAccuracy

50.653950.653950.653950.6539
60.668760.668760.668770.6523
0, 60.67490, 60.67490, 60.67490, 70.6581
5, 60.67655, 60.67655, 60.67653, 50.6578
2, 3, 50.77852, 3, 50.77852, 3, 50.77850, 2, 60.7637
2, 3, 60.82382, 3, 60.82382, 3, 60.76942, 3, 60.8239
2, 3, 5, 60.88942, 3, 5, 60.88942, 3, 5, 60.88822, 3, 5, 60.8804
2, 3, 5, 70.88412, 3, 5, 70.88412, 3, 5, 70.88412, 3, 5, 70.8646
0, 2, 3, 5, 60.92800, 2, 3, 5, 60.92810, 2, 3, 5, 70.92250, 2, 3, 5, 60.9262
0, 2, 3, 5, 70.92250, 2, 3, 5, 70.92251, 2, 3, 5, 70.91230, 2, 3, 5, 70.9219
0, 1, 2, 3, 5, 60.95740, 1, 2, 3, 5, 60.95750, 1, 2, 3, 5, 60.95270, 1, 2, 3, 5, 60.9560
0, 2, 3, 5, 6, 70.95250, 2, 3, 5, 6, 70.95230, 1, 2, 3, 5, 70.94800, 2, 3, 5, 6, 70.9493
0, 1, 2, 3, 4, 5, 60.96990, 1, 2, 3, 4, 5, 60.96990, 1, 2, 3, 5, 6, 70.98500, 1, 2, 3, 4, 5, 60.9685
0, 1, 2, 3, 5, 6, 70.98520, 1, 2, 3, 5, 6, 70.98490, 2, 3, 4, 5, 6, 70.96400, 1, 2, 3, 5, 6, 70.9844