Visible to the public The Effect of Dimensionality Reduction on Software Vulnerability Prediction Models

TitleThe Effect of Dimensionality Reduction on Software Vulnerability Prediction Models
Publication TypeJournal Article
Year of Publication2017
AuthorsStuckman, J., Walden, J., Scandariato, R.
JournalIEEE Transactions on Reliability
Volume66
Pagination17–37
ISSN0018-9529
Keywordscomputer security, confirmatory factor analysis, cross-project prediction experiments, cross-validation, data mining, dimensionality reduction technique, feature selection, large software projects, learning (artificial intelligence), machine learning, Metrics, Open Source Software, Predictive models, predictive security metrics, principal component analysis, pubcrawl, security, software metrics, statistical learning machinery, statistical prediction models, term frequencies, text analysis, text mining, text mining features, vulnerability prediction models, vulnerable components
Abstract

Statistical prediction models can be an effective technique to identify vulnerable components in large software projects. Two aspects of vulnerability prediction models have a profound impact on their performance: 1) the features (i.e., the characteristics of the software) that are used as predictors and 2) the way those features are used in the setup of the statistical learning machinery. In a previous work, we compared models based on two different types of features: software metrics and term frequencies (text mining features). In this paper, we broaden the set of models we compare by investigating an array of techniques for the manipulation of said features. These techniques fall under the umbrella of dimensionality reduction and have the potential to improve the ability of a prediction model to localize vulnerabilities. We explore the role of dimensionality reduction through a series of cross-validation and cross-project prediction experiments. Our results show that in the case of software metrics, a dimensionality reduction technique based on confirmatory factor analysis provided an advantage when performing cross-project prediction, yielding the best F-measure for the predictions in five out of six cases. In the case of text mining, feature selection can make the prediction computationally faster, but no dimensionality reduction technique provided any other notable advantage.

URLhttp://ieeexplore.ieee.org/document/7779151/
DOI10.1109/TR.2016.2630503
Citation Keystuckman_effect_2017