[Paper Review] Data Preparation for Software Vulnerability Prediction: A Systematic Literature Review
This systematic literature review identifies and classifies 16 data preparation challenges in software vulnerability prediction (SVP), proposing a taxonomy across six themes and mapping existing solutions to these challenges. The study provides actionable recommendations to improve data quality and model reliability, advancing the state of the art in SVP research and practice.
Software Vulnerability Prediction (SVP) is a data-driven technique for software quality assurance that has recently gained considerable attention in the Software Engineering research community. However, the difficulties of preparing Software Vulnerability (SV) related data is considered as the main barrier to industrial adoption of SVP approaches. Given the increasing, but dispersed, literature on this topic, it is needed and timely to systematically select, review, and synthesize the relevant peer-reviewed papers reporting the existing SV data preparation techniques and challenges. We have carried out a Systematic Literature Review (SLR) of SVP research in order to develop a systematized body of knowledge of the data preparation challenges, solutions, and the needed research. Our review of the 61 relevant papers has enabled us to develop a taxonomy of data preparation for SVP related challenges. We have analyzed the identified challenges and available solutions using the proposed taxonomy. Our analysis of the state of the art has enabled us identify the opportunities for future research. This review also provides a set of recommendations for researchers and practitioners of SVP approaches.
Motivation & Objective
- Address the critical barrier of poor data quality in software vulnerability prediction (SVP) research and practice.
- Systematically identify and categorize recurring data preparation challenges in SVP from existing literature.
- Develop a comprehensive taxonomy of 16 data challenges across six thematic areas to standardize understanding.
- Map existing solutions from the literature to each identified challenge to guide future research and practice.
- Provide evidence-based recommendations to enhance data quality and model reliability in SVP.
Proposed method
- Conducted a systematic literature review (SLR) following PRISMA guidelines to identify relevant peer-reviewed papers on SVP data preparation.
- Screened 61 high-quality studies through multiple stages: title/abstract screening, full-text review, and quality assessment.
- Developed a taxonomy of 16 data preparation challenges across six themes: data availability, labeling, feature engineering, data imbalance, data quality, and data integration.
- Mapped solutions reported in the primary studies to the identified challenges using thematic analysis.
- Synthesized findings into a structured knowledge base of challenges, solutions, and research gaps.
- Validated the taxonomy and findings through iterative review and alignment with existing SVP research practices.
![Figure 1: The machine learning workflow. Adapted from Amershi et al. [ 18 ] .](https://ar5iv.labs.arxiv.org/html/2109.05740/assets/Fig_1.png)
Experimental results
Research questions
- RQ1What are the most frequently reported data preparation challenges in software vulnerability prediction research?
- RQ2How are existing SVP studies addressing data quality, labeling, and imbalance issues in their data preparation pipelines?
- RQ3What is the current state of data preparation practices in SVP, and how do they vary across different research contexts?
- RQ4Which data preparation challenges remain under-investigated or inadequately addressed in the literature?
- RQ5What recommendations can be derived to improve data quality and model reliability in future SVP research and industrial applications?
Key findings
- The review identified 16 distinct data preparation challenges, grouped into six themes: data availability, labeling, feature engineering, data imbalance, data quality, and data integration.
- Data scarcity and inconsistent labeling were the most frequently reported challenges, with only 38% of studies using ground-truth labeled data from trusted sources.
- Over 70% of studies used heuristic or proxy labeling methods, which may compromise model reliability due to labeling noise.
- Feature engineering was the most common solution strategy, with 52% of studies relying on static code metrics (e.g., cyclomatic complexity, cognitive complexity).
- Only 14% of studies explicitly addressed data imbalance, despite its known impact on model bias and performance.
- The study provides a set of 12 actionable recommendations for researchers and practitioners to improve data quality, including standardized labeling protocols and data augmentation techniques.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.