mlsanityData to 7 Oct 2026

An Empirical Study of Deep Learning Models for Vulnerability Detection

arXiv 2212.08109 ↗First posted 15 Dec 2022cs.SE cs.CR cs.LGcited by 44

Not on the map. Why?

Abstract (arXiv)

Deep learning (DL) models of code have recently reported great progress for vulnerability detection. In some cases, DL-based models have outperformed static analysis tools. Although many great models have been proposed, we do not yet have a good understanding of these models. This limits the further advancement of model robustness, debugging, and deployment for the vulnerability detection. In this paper, we surveyed and reproduced 9 state-of-the-art (SOTA) deep learning models on 2 widely used vulnerability detection datasets: Devign and MSR. We investigated 6 research questions in three areas, namely model capabilities, training data, and model interpretation. We experimentally demonstrated the variability between different runs of a model and the low agreement among different models' outputs. We investigated models trained for specific types of vulnerabilities compared to a model that is trained on all the vulnerabilities at once. We explored the types of programs DL may consider "hard" to handle. We investigated the relations of training data sizes and training data composition with model performance. Finally, we studied model interpretations and analyzed important features that the models used to make predictions. We believe that our findings can help better understand model results, provide guidance on preparing training data, and improve the robustness of the models. All of our datasets, code, and results are available at https://doi.org/10.6084/m9.figshare.20791240.

Key facts. Cited by 44 papers in the map (data through 7 Oct 2026). Builds on 25 of its 46 references that are in the map. First posted on arXiv 15 Dec 2022.

Builds on

25 of 46 references.

References · 25

  1. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  2. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  4. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  5. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  6. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  7. 2018code2vec: Learning Distributed Representations of Codecited by 249
  8. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  9. 2020The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Modelscited by 125
  10. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  11. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  12. 2021SynCoBERT: Syntax-Guided Multi-Modal Contrastive Pre-Training for Code Representationcited by 63
13 more
  1. 2021CoTexT: Multi-task Learning with Code-Text Transformercited by 61
  2. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  3. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51
  4. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  5. 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
  6. 2022LineVD: Statement-level Vulnerability Detection using Graph Neural Networkscited by 35
  7. 2021ReGVD: Revisiting Graph Neural Networks for Vulnerability Detectioncited by 32
  8. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  9. 2021Towards Learning (Dis)-Similarity of Source Code from Program Contrastscited by 17
  10. 2022MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural Networkscited by 12
  11. 2021On using distributed representations of source code for the detection of C security vulnerabilitiescited by 10
  12. 2021Shallow or Deep? An Empirical Study on Detecting Vulnerabilities using Deep Learningcited by 7
  13. 2021A comparative study of neural network techniques for automatic software vulnerability detectioncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 9; 2024: 13; 2025: 11; 2026: 11.

44 papers.

Sort:

By area:

  1. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  2. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
  3. 2023Uncovering the Limits of Machine Learning for Automatic Vulnerability Detectioncited by 30
  4. 2024History, Development, and Principles of Large Language Models-An Introductory Surveycited by 30
  5. 2023How Far Have We Gone in Vulnerability Detection Using Large Language Modelscited by 27
  6. 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 27
  7. 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Modelscited by 14
  8. 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
  9. 2024Investigating Large Language Models for Code Vulnerability Detection: An Experimental Studycited by 11
  10. 2023Towards Causal Deep Learning for Vulnerability Detectioncited by 9
  11. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
  12. 2023Using ChatGPT as a Static Application Security Testing Toolcited by 8
32 more
  1. 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPTcited by 8
  2. 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretationcited by 7
  3. 2024Your Instructions Are Not Always Helpful: Assessing the Efficacy of Instruction Fine-tuning for Software Vulnerability Detectioncited by 6
  4. 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?cited by 6
  5. 2023A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Taskscited by 5
  6. 2025Large Language Models for Validating Network Protocol Parserscited by 5
  7. 2023Do Language Models Learn Semantics of Code? A Case Study in Vulnerability Detectioncited by 4
  8. 2025LPASS: Linear Probes as Stepping Stones for vulnerability detection using compressed LLMscited by 4
  9. 2025A Systematic Study of Code Obfuscation Against LLM-based Vulnerability Detectioncited by 4
  10. 2024AI for DevSecOps: A Landscape and Future Opportunitiescited by 3
  11. 2025Revisiting Pre-trained Language Models for Vulnerability Detectioncited by 3
  12. 2026HogVul: Black-box Adversarial Code Generation Framework Against LM-based Vulnerability Detectorscited by 3
  13. 2026Measuring and Exploiting Contextual Bias in LLM-Assisted Security Code Reviewcited by 3
  14. 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detectioncited by 2
  15. 2026Revisiting Vul-RAG: Reproducibility and Replicability of RAG-based Vulnerability Detection with Open-Weight Modelscited by 2
  16. 2024Vulnerability Detection via Topological Analysis of Attention Mapscited by 1
  17. 2024MVD: A Multi-Lingual Software Vulnerability Detection Frameworkcited by 1
  18. 2025LLMpatronous: Harnessing the Power of LLMs For Vulnerability Detectioncited by 1
  19. 2025Large Language Model based Smart Contract Auditing with LLMBugScannercited by 1
  20. 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detectioncited by 1
  21. 2024CLNX: Bridging Code and Natural Language for C/C++ Vulnerability-Contributing Commits Identificationcited by 0
  22. 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
  23. 2025Today's Cat Is Tomorrow's Dog: Accounting for Time-Based Changes in the Labels of ML Vulnerability Detection Approachescited by 0
  24. 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detectioncited by 0
  25. 2025From Lab to Reality: A Practical Evaluation of Deep Learning Models and LLMs for Vulnerability Detectioncited by 0
  26. 2026Advancing Language Models for Code-related Taskscited by 0
  27. 2026QASecClaw: A Multi-Agent LLM Approach for False Positive Reduction in Static Application Security Testingcited by 0
  28. 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detectioncited by 0
  29. 2026XSearch: Explainable Code Search via Concept-to-Code Alignmentcited by 0
  30. 2026Security of LLM-generated Code: A Comparative Analysiscited by 0
  31. 2026CLEAR: Causal Context-Based Agentic Reasoning for Vulnerability Detectioncited by 0
  32. 2026A Function-Level Vulnerability Score Measures Flag Rate More Than the Model: Protocol Effects on Paired Benchmarkscited by 0