The impact of feature types, classifiers, and data balancing techniques on software vulnerability prediction models


KAYA A., KEÇELİ A. S., Catal C., Tekinerdogan B.

JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, cilt.31, sa.9, 2019 (SCI-Expanded) identifier identifier

  • Yayın Türü: Makale / Tam Makale
  • Cilt numarası: 31 Sayı: 9
  • Basım Tarihi: 2019
  • Doi Numarası: 10.1002/smr.2164
  • Dergi Adı: JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS
  • Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus
  • Anahtar Kelimeler: classification models, data sampling, imbalance datasets, machine learning, performance analysis, software vulnerability prediction, SELECTION, SMOTE
  • Hacettepe Üniversitesi Adresli: Evet

Özet

Software vulnerabilities form an increasing security risk for software systems, that might be exploited to attack and harm the system. Some of the security vulnerabilities can be detected by static analysis tools and penetration testing, but usually, these suffer from relatively high false positive rates. Software vulnerability prediction (SVP) models can be used to categorize software components into vulnerable and neutral components before the software testing phase and likewise increase the efficiency and effectiveness of the overall verification process. The performance of a vulnerability prediction model is usually affected by the adopted classification algorithm, the adopted features, and data balancing approaches. In this study, we empirically investigate the effect of these factors on the performance of SVP models. Our experiments consist of four data balancing methods, seven classification algorithms, and three feature types. The experimental results show that data balancing methods are effective for highly unbalanced datasets, text-based features are more useful, and ensemble-based classifiers provide mostly better results. For smaller datasets, Random Forest algorithm provides the best performance and for the larger datasets, RusboostTree achieves better performance.