Toward Improved Deep Learning-based Vulnerability Detection
Not on the map. Why?
Abstract (arXiv)
Deep learning (DL) has been a common thread across several recent techniques for vulnerability detection. The rise of large, publicly available datasets of vulnerabilities has fueled the learning process underpinning these techniques. While these datasets help the DL-based vulnerability detectors, they also constrain these detectors' predictive abilities. Vulnerabilities in these datasets have to be represented in a certain way, e.g., code lines, functions, or program slices within which the vulnerabilities exist. We refer to this representation as a base unit. The detectors learn how base units can be vulnerable and then predict whether other base units are vulnerable. We have hypothesized that this focus on individual base units harms the ability of the detectors to properly detect those vulnerabilities that span multiple base units (or MBU vulnerabilities). For vulnerabilities such as these, a correct detection occurs when all comprising base units are detected as vulnerable. Verifying how existing techniques perform in detecting all parts of a vulnerability is important to establish their effectiveness for other downstream tasks. To evaluate our hypothesis, we conducted a study focusing on three prominent DL-based detectors: ReVeal, DeepWukong, and LineVul. Our study shows that all three detectors contain MBU vulnerabilities in their respective datasets. Further, we observed significant accuracy drops when detecting these types of vulnerabilities. We present our study and a framework that can be used to help DL-based detectors toward the proper inclusion of MBU vulnerabilities.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Mar 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 1.
9 papers.
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 68
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 28
- 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Modelscited by 14
- 2025LLM-based Vulnerability Discovery through the Lens of Code Metricscited by 4
- 2025An Empirical Study of Vulnerabilities in Python Packages and Their Detectioncited by 2
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Frameworkcited by 2
- 2025Investigating Execution-Aware Language Models for Code Optimizationcited by 1
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMscited by 1
- 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Explorationcited by 1
- 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Exploration13 Jul 2026
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Framework4 Nov 2025
- 2025LLM-based Vulnerability Discovery through the Lens of Code Metrics23 Sep 2025
- 2025An Empirical Study of Vulnerabilities in Python Packages and Their Detection4 Sep 2025
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMs28 Jul 2025
- 2025Investigating Execution-Aware Language Models for Code Optimization11 Mar 2025
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection23 Aug 2024
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAG17 Jun 2024
- 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Models9 Jun 2024