mlsanityData to 14 Oct 2026

Data Quality Issues in Vulnerability Detection Datasets

arXiv 2410.06030 ↗First posted 8 Oct 2024cs.CR cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Vulnerability detection is a crucial yet challenging task to identify potential weaknesses in software for cyber security. Recently, deep learning (DL) has made great progress in automating the detection process. Due to the complex multi-layer structure and a large number of parameters, a DL model requires massive labeled (vulnerable or secure) source code to gain knowledge to effectively distinguish between vulnerable and secure code. In the literature, many datasets have been created to train DL models for this purpose. However, these datasets suffer from several issues that will lead to low detection accuracy of DL models. In this paper, we define three critical issues (i.e., data imbalance, low vulnerability coverage, biased vulnerability distribution) that can significantly affect the model performance and three secondary issues (i.e., errors in source code, mislabeling, noisy historical data) that also affect the performance but can be addressed through a dedicated pre-processing procedure. In addition, we conduct a study of 14 papers along with 54 datasets for vulnerability detection to confirm these defined issues. Furthermore, we discuss good practices to use existing datasets and to create new ones.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 12 of its 32 references that are in the map. First posted on arXiv 8 Oct 2024.

Builds on

12 of 32 references.

References · 12

  1. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  2. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  3. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  4. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  5. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 92
  6. 2022Natural Attack for Pre-trained Models of Codecited by 75
  7. 2023Data Quality for Software Vulnerability Datasetscited by 51
  8. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 49
  9. 2017End-to-End Prediction of Buffer Overruns from Raw Source Code via Neural Memory Networkscited by 10
  10. 2021An Empirical Study of Rule-Based and Learning-Based Approaches for Static Application Security Testingcited by 7
  11. 2020Learning from What We Know: How to Perform Vulnerability Prediction using Noisy Historical Datacited by 5
  12. 2022MIXCODE: Enhancing Code Classification by Mixup-Based Data Augmentationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 2.

5 papers.