mlsanityData to 14 Oct 2026

Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Study

arXiv 2401.11105 ↗First posted 20 Jan 2024cs.SE cs.CR cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Collecting relevant and high-quality data is integral to the development of effective Software Vulnerability (SV) prediction models. Most of the current SV datasets rely on SV-fixing commits to extract vulnerable functions and lines. However, none of these datasets have considered latent SVs existing between the introduction and fix of the collected SVs. There is also little known about the usefulness of these latent SVs for SV prediction. To bridge these gaps, we conduct a large-scale study on the latent vulnerable functions in two commonly used SV datasets and their utilization for function-level and line-level SV predictions. Leveraging the state-of-the-art SZZ algorithm, we identify more than 100k latent vulnerable functions in the studied datasets. We find that these latent functions can increase the number of SVs by 4x on average and correct up to 5k mislabeled functions, yet they have a noise level of around 6%. Despite the noise, we show that the state-of-the-art SV prediction model can significantly benefit from such latent SVs. The improvements are up to 24.5% in the performance (F1-Score) of function-level SV predictions and up to 67% in the effectiveness of localizing vulnerable lines. Overall, our study presents the first promising step toward the use of latent SVs to improve the quality of SV datasets and enhance the performance of SV prediction tasks.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 20 of its 70 references that are in the map. First posted on arXiv 20 Jan 2024.

Builds on

20 of 70 references.

References · 20

  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  2. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  3. 2021A Survey on Data Augmentation for Text Classificationcited by 111
  4. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  5. 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
  6. 2023Data Quality for Software Vulnerability Datasetscited by 51
  7. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 49
  8. 2020On the Generalizability of Neural Program Models with respect to Semantic-Preserving Program Transformationscited by 44
  9. 2020Sampling in Software Engineering Research: A Critical Review and Guidelinescited by 23
  10. 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
  11. 2021Automated Software Vulnerability Assessment with Concept Driftcited by 15
  12. 2020A Large-scale Study of Security Vulnerability Support on Developer Q&A Websitescited by 12
8 more
  1. 2020PUMiner: Mining Security Posts from Developer Question and Answer Websites with PU Learningcited by 10
  2. 2021Practitioners' Perceptions of the Goals and Visual Explanations of Defect Prediction Modelscited by 9
  3. 2022Noisy Label Learning for Security Defectscited by 7
  4. 20199.6 Million Links in Source Code Comments: Purpose, Evolution, and Decaycited by 6
  5. 2019Problems with SZZ and Features: An empirical study of the state of practice of defect prediction data collectioncited by 6
  6. 2021Automated Security Assessment for the Internet of Thingscited by 6
  7. 2023SoK: Machine Learning for Continuous Integrationcited by 4
  8. 2023Systematic Literature Review on Application of Machine Learning in Continuous Integrationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 1.

9 papers.