The Effect of Dimensionality Reduction on Software Vulnerability Prediction Models
Title | The Effect of Dimensionality Reduction on Software Vulnerability Prediction Models |
Publication Type | Journal Article |
Year of Publication | 2017 |
Authors | Stuckman, J., Walden, J., Scandariato, R. |
Journal | IEEE Transactions on Reliability |
Volume | 66 |
Pagination | 17–37 |
ISSN | 0018-9529 |
Keywords | computer 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. |
URL | http://ieeexplore.ieee.org/document/7779151/ |
DOI | 10.1109/TR.2016.2630503 |
Citation Key | stuckman_effect_2017 |
- predictive security metrics
- vulnerable components
- vulnerability prediction models
- text mining features
- Text Mining
- text analysis
- term frequencies
- statistical prediction models
- statistical learning machinery
- software metrics
- security
- pubcrawl
- principal component analysis
- computer security
- Predictive models
- Open Source Software
- Metrics
- machine learning
- learning (artificial intelligence)
- large software projects
- Feature Selection
- dimensionality reduction technique
- Data mining
- cross-validation
- cross-project prediction experiments
- confirmatory factor analysis