mlsanityData to 7 Oct 2026

Deep Learning based Vulnerability Detection: Are We There Yet?

arXiv 2009.07235 ↗First posted 3 Sep 2020cs.SEcited by 142

Not on the map. Why?

Abstract (arXiv)

Automated detection of software vulnerabilities is a fundamental problem in software security. Existing program analysis techniques either suffer from high false positives or false negatives. Recent progress in Deep Learning (DL) has resulted in a surge of interest in applying DL for automated vulnerability detection. Several recent studies have demonstrated promising results achieving an accuracy of up to 95% at detecting vulnerabilities. In this paper, we ask, "how well do the state-of-the-art DL-based techniques perform in a real-world vulnerability prediction scenario?". To our surprise, we find that their performance drops by more than 50%. A systematic investigation of what causes such precipitous performance drop reveals that existing DL-based vulnerability prediction approaches suffer from challenges with the training data (e.g., data duplication, unrealistic distribution of vulnerable classes, etc.) and with the model choices (e.g., simple token-based models). As a result, these approaches often do not learn features related to the actual cause of the vulnerabilities. Instead, they learn unrelated artifacts from the dataset (e.g., specific variable/function names, etc.). Leveraging these empirical findings, we demonstrate how a more principled approach to data collection and model design, based on realistic settings of vulnerability prediction, can lead to better solutions. The resulting tools perform significantly better than the studied baseline: up to 33.57% boost in precision and 128.38% boost in recall compared to the best performing model in the literature. Overall, this paper elucidates existing DL-based vulnerability prediction systems' potential issues and draws a roadmap for future DL-based vulnerability prediction research. In that spirit, we make available all the artifacts supporting our results: https://git.io/Jf6IA.

Key facts. Cited by 142 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Sep 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 8; 2023: 28; 2024: 39; 2025: 34; 2026: 26.

142 papers.

Sort:

By area:

  1. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  2. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
  3. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  4. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
  5. 2023Large Language Models for Test-Free Fault Localizationcited by 67
  6. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 67
  7. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
  8. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51
  9. 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
  10. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  11. 2024Finetuning Large Language Models for Vulnerability Detectioncited by 39
  12. 2021The Threat of Offensive AI to Organizationscited by 37
38 more
  1. 2022Fault-Aware Neural Code Rankerscited by 33
  2. 2024CodeAgent: Autonomous Communicative Agents for Code Reviewcited by 33
  3. 2023The FormAI Dataset: Generative AI in Software Security Through the Lens of Formal Verificationcited by 32
  4. 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 32
  5. 2023Fully Autonomous Programming with Large Language Modelscited by 31
  6. 2023Uncovering the Limits of Machine Learning for Automatic Vulnerability Detectioncited by 30
  7. 2023How Far Have We Gone in Vulnerability Detection Using Large Language Modelscited by 27
  8. 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 27
  9. 2021On Multi-Modal Learning of Editing Source Codecited by 25
  10. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  11. 2022SoK: Explainable Machine Learning for Computer Security Applicationscited by 20
  12. 2025Let the Trial Begin: A Mock-Court Approach to Vulnerability Detection using LLM-Based Agentscited by 20
  13. 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited by 18
  14. 2024Comparison of Static Application Security Testing Tools and Large Language Models for Repo-level Vulnerability Detectioncited by 18
  15. 2021Towards Learning (Dis)-Similarity of Source Code from Program Contrastscited by 17
  16. 2024Harnessing Large Language Models for Software Vulnerability Detection: A Comprehensive Benchmarking Studycited by 17
  17. 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
  18. 2023GrACE: Generation using Associated Code Editscited by 16
  19. 2023Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?cited by 13
  20. 2023SecureFalcon: Are We There Yet in Automated Software Vulnerability Detection with LLMs?cited by 13
  21. 2024VulDetectBench: Evaluating the Deep Capability of Vulnerability Detection with Large Language Modelscited by 11
  22. 2024Investigating Large Language Models for Code Vulnerability Detection: An Experimental Studycited by 11
  23. 2021On using distributed representations of source code for the detection of C security vulnerabilitiescited by 10
  24. 2025CASTLE: Benchmarking Dataset for Static Code Analyzers and LLMs towards CWE Detectioncited by 10
  25. 2023Towards Causal Deep Learning for Vulnerability Detectioncited by 9
  26. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
  27. 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Studycited by 9
  28. 2024VulnLLMEval: A Framework for Evaluating Large Language Models in Software Vulnerability Detection and Patchingcited by 9
  29. 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
  30. 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurationscited by 9
  31. 2025Exploring the Security Threats of Knowledge Base Poisoning in Retrieval-Augmented Code Generationcited by 9
  32. 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
  33. 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detectioncited by 8
  34. 2023Using ChatGPT as a Static Application Security Testing Toolcited by 8
  35. 2025VulAgent: Hypothesis-Validation based Multi-Agent Vulnerability Detectioncited by 8
  36. 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMscited by 7
  37. 2025A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Taskscited by 7
  38. 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factorscited by 6

50 most cited of 142 All 142 (JSON)