mlsanityData to 7 Oct 2026

Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets

arXiv 2407.03093 ↗First posted 3 Jul 2024cs.SE cs.AI cs.CRcited by 6

Not on the map. Why?

Abstract (arXiv)

The impact of software vulnerabilities on everyday software systems is significant. Despite deep learning models being proposed for vulnerability detection, their reliability is questionable. Prior evaluations show high recall/F1 scores of up to 99%, but these models underperform in practical scenarios, particularly when assessed on entire codebases rather than just the fixing commit. This paper introduces Real-Vul, a comprehensive dataset representing real-world scenarios for evaluating vulnerability detection models. Evaluating DeepWukong, LineVul, ReVeal, and IVDetect shows a significant drop in performance, with precision decreasing by up to 95 percentage points and F1 scores by up to 91 points. Furthermore, Model performance fluctuates based on vulnerability characteristics, with better F1 scores for information leaks or code injection than for path resolution or predictable return values. The results highlight a significant performance gap that needs addressing before deploying deep learning-based vulnerability detection in practical settings. Overfitting is identified as a key issue, and an augmentation technique is proposed, potentially improving performance by up to 30%. Contributions include a dataset creation approach for better model evaluation, Real-Vul dataset, and empirical evidence of deep learning models struggling in real-world settings.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 63 references that are in the map. First posted on arXiv 3 Jul 2024.

Builds on

22 of 63 references.

References · 22

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  4. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  5. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  6. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  9. 2024Mixtral of Expertscited by 1,785
  10. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  11. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  12. 2021Data Augmentation Can Improve Robustnesscited by 193
10 more
  1. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  2. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  3. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  4. 2018Towards Sparse Hierarchical Graph Classifierscited by 100
  5. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  6. 2020Regularizing Deep Networks with Semantic Data Augmentationcited by 73
  7. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  8. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  9. 2023RLocator: Reinforcement Learning for Bug Localizationcited by 7
  10. 2020The Impact of a Major Security Event on an Open Source Project: The Case of OpenSSLcited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.