mlsanityData to 7 Oct 2026

Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection

arXiv 2212.08108 ↗First posted 15 Dec 2022cs.SE cs.CR cs.LGcited by 18

Not on the map. Why?

Abstract (arXiv)

Deep learning-based vulnerability detection has shown great performance and, in some studies, outperformed static analysis tools. However, the highest-performing approaches use token-based transformer models, which are not the most efficient to capture code semantics required for vulnerability detection. Classical program analysis techniques such as dataflow analysis can detect many types of bugs based on their root causes. In this paper, we propose to combine such causal-based vulnerability detection algorithms with deep learning, aiming to achieve more efficient and effective vulnerability detection. Specifically, we designed DeepDFA, a dataflow analysis-inspired graph learning framework and an embedding technique that enables graph learning to simulate dataflow computation. We show that DeepDFA is both performant and efficient. DeepDFA outperformed all non-transformer baselines. It was trained in 9 minutes, 75x faster than the highest-performing baseline model. When using only 50+ vulnerable and several hundreds of total examples as training data, the model retained the same performance as 100% of the dataset. DeepDFA also generalized to real-world vulnerabilities in DbgBench; it detected 8.7 out of 17 vulnerabilities on average across folds and was able to distinguish between patched and buggy versions, while the highest-performing baseline models did not detect any vulnerabilities. By combining DeepDFA with a large language model, we surpassed the state-of-the-art vulnerability detection performance on the Big-Vul dataset with 96.46 F1 score, 97.82 precision, and 95.14 recall. Our replication package is located at https://doi.org/10.6084/m9.figshare.21225413 .

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

Builds on

28 of 65 references.

References · 28

  1. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  2. 2018How Powerful are Graph Neural Networks?cited by 4,355
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2015Gated Graph Sequence Neural Networkscited by 792
  8. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  9. 2014Distributed Representations of Sentences and Documentscited by 677
  10. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  11. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  12. 2020Discovering Symbolic Models from Deep Learning with Inductive Biasescited by 335
16 more
  1. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  2. 2017Learning to Represent Programs with Graphscited by 219
  3. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  4. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  5. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  6. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  7. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51
  8. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  9. 2022LineVD: Statement-level Vulnerability Detection using Graph Neural Networkscited by 35
  10. 2021ReGVD: Revisiting Graph Neural Networks for Vulnerability Detectioncited by 32
  11. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  12. 2022MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural Networkscited by 12
  13. 2019LEOPARD: Identifying Vulnerable Code for Vulnerability Assessment through Program Metricscited by 10
  14. 2016Learning a Static Analyzer from Datacited by 7
  15. 2021A Grounded Theory Based Approach to Characterize Software Attack Surfacescited by 2
  16. 2019Learning a Static Bug Finder from Datacited by 1

Built on by

Cited by year (2026 to 7 Oct)

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

18 papers.

Sort:

By area:

  1. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 67
  2. 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 27
  3. 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 23
  4. 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
  5. 2025Let the Trial Begin: A Mock-Court Approach to Vulnerability Detection using LLM-Based Agentscited by 20
  6. 2023Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMscited by 19
  7. 2024Multi-role Consensus through LLMs Discussions for Vulnerability Detectioncited by 19
  8. 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
  9. 2024CodeArt: Better Code Models by Attention Regularization When Symbols Are Lackingcited by 7
  10. 2025Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Predictioncited by 5
  11. 2025Llama-based source code vulnerability detection: Prompt engineering vs Fine tuningcited by 2
  12. 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
6 more
  1. 2025Modeling Code: Is Text All You Need?cited by 0
  2. 2025Learning to Triage Vulnerability Reports from Program Analysis: An Empirical Study in Node.jscited by 0
  3. 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detectioncited by 0
  4. 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
  5. 2026CMind: An AI Agent for Localizing C Memory Bugscited by 0
  6. 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0