Vulnerability Detection with Fine-grained Interpretations
Not on the map. Why?
Abstract (arXiv)
Despite the successes of machine learning (ML) and deep learning (DL) based vulnerability detectors (VD), they are limited to providing only the decision on whether a given code is vulnerable or not, without details on what part of the code is relevant to the detected vulnerability. We present IVDetect an interpretable vulnerability detector with the philosophy of using Artificial Intelligence (AI) to detect vulnerabilities, while using Intelligence Assistant (IA) via providing VD interpretations in terms of vulnerable statements. For vulnerability detection, we separately consider the vulnerable statements and their surrounding contexts via data and control dependencies. This allows our model better discriminate vulnerable statements than using the mixture of vulnerable code and~contextual code as in existing approaches. In addition to the coarse-grained vulnerability detection result, we leverage interpretable AI to provide users with fine-grained interpretations that include the sub-graph in the Program Dependency Graph (PDG) with the crucial statements that are relevant to the detected vulnerability. Our empirical evaluation on vulnerability databases shows that IVDetect outperforms the existing DL-based approaches by 43%--84% and 105%--255% in top-10 nDCG and MAP ranking scores. IVDetect correctly points out the vulnerable statements relevant to the vulnerability via its interpretation~in 67% of the cases with a top-5 ranked list. It improves over baseline interpretation models by 12.3%--400% and 9%--400% in accuracy.
Key facts. Cited by 56 papers in the map (data through 14 Oct 2026). First posted on arXiv 19 Jun 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 8; 2024: 25; 2025: 13; 2026: 4.
56 papers.
Sort:
By area:
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 46
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 40
- 2024Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuningcited by 30
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 28
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
- 2022SoK: Explainable Machine Learning for Computer Security Applicationscited by 20
- 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited by 19
- 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
- 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Modelscited by 14
- 2023Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?cited by 13
38 more
- 2024Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanationcited by 12
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Studycited by 9
- 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPTcited by 9
- 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detectioncited by 8
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMscited by 7
- 2024Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasetscited by 6
- 2024Automated Code-centric Software Vulnerability Assessment: How Far Are We? An Empirical Study in C/C++cited by 6
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?cited by 6
- 2022On the Use of Fine-grained Vulnerable Code Statements for Software Vulnerability Assessment Modelscited by 5
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Taskscited by 5
- 2025Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Predictioncited by 5
- 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detectioncited by 4
- 2023LIVABLE: Exploring Long-Tailed Classification of Software Vulnerability Typescited by 3
- 2024Repository-Level Graph Representation Learning for Enhanced Security Patch Detectioncited by 3
- 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detectioncited by 3
- 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentationcited by 3
- 2023Good-looking but Lacking Faithfulness: Understanding Local Explanation Methods through Trend-based Testingcited by 2
- 2024A Systematic Literature Review on Explainability for Machine/Deep Learning-based Software Engineering Researchcited by 2
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMscited by 2
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
- 2024Investigating Reproducibility in Deep Learning-Based Software Fault Predictioncited by 1
- 2024ANVIL: Anomaly-based Vulnerability Identification without Labelled Training Datacited by 1
- 2024MVD: A Multi-Lingual Software Vulnerability Detection Frameworkcited by 1
- 2025Using ML filters to help automated vulnerability repairs: when it helps and when it doesn'tcited by 1
- 2025Web3 x AI Agents: Landscape, Integrations, and Foundational Challengescited by 1
- 2025Large Language Models Cannot Reliably Detect Vulnerabilities in JavaScript: The First Systematic Benchmark and Evaluationcited by 1
- 2023Learning to Quantize Vulnerability Patterns and Match to Locate Statement-Level Vulnerabilitiescited by 0
- 2024Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectorscited by 0
- 2024Vulnerability Detection in C/C++ Code with Deep Learningcited by 0
- 2024SimClone: Detecting Tabular Data Clones using Value Similaritycited by 0
- 2024Unintentional Security Flaws in Code: Automated Defense via Root Cause Analysiscited by 0
- 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detectioncited by 0
- 2025Weakly Supervised Vulnerability Localization via Multiple Instance Learningcited by 0
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Modelscited by 0
50 most cited of 56 All 56 (JSON)
- 2026On Predicting Vulnerability Severity Using In-Context Learning: An Industrial Case Study22 Aug 2026
- 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization10 May 2026
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs22 Apr 2026
- 2026Robust Smart Contract Vulnerability Detection via Contrastive Learning-Enhanced Granular-ball Training29 Mar 2026
- 2025From Lab to Reality: A Practical Evaluation of Deep Learning Models and LLMs for Vulnerability Detection11 Dec 2025
- 2025Large Language Models Cannot Reliably Detect Vulnerabilities in JavaScript: The First Systematic Benchmark and Evaluation1 Dec 2025
- 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detection31 Oct 2025
- 2025Learning to Triage Vulnerability Reports from Program Analysis: An Empirical Study in Node.js23 Oct 2025
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Models13 Oct 2025
- 2025Weakly Supervised Vulnerability Localization via Multiple Instance Learning14 Sep 2025
- 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentation26 Aug 2025
- 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detection14 Aug 2025
38 more
- 2025Web3 x AI Agents: Landscape, Integrations, and Foundational Challenges4 Aug 2025
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detection22 Apr 2025
- 2025Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Prediction18 Apr 2025
- 2025Using ML filters to help automated vulnerability repairs: when it helps and when it doesn't9 Apr 2025
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representations22 Jan 2025
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Security19 Dec 2024
- 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detection16 Dec 2024
- 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Points15 Dec 2024
- 2024Repository-Level Graph Representation Learning for Enhanced Security Patch Detection11 Dec 2024
- 2024MVD: A Multi-Lingual Software Vulnerability Detection Framework9 Dec 2024
- 2024Unintentional Security Flaws in Code: Automated Defense via Root Cause Analysis30 Aug 2024
- 2024ANVIL: Anomaly-based Vulnerability Identification without Labelled Training Data28 Aug 2024
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection23 Aug 2024
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMs7 Aug 2024
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?25 Jul 2024
- 2024Automated Code-centric Software Vulnerability Assessment: How Far Are We? An Empirical Study in C/C++24 Jul 2024
- 2024Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets3 Jul 2024
- 2024SimClone: Detecting Tabular Data Clones using Value Similarity24 Jun 2024
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection10 Jun 2024
- 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Models9 Jun 2024
- 2024Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuning6 Jun 2024
- 2024Vulnerability Detection in C/C++ Code with Deep Learning20 May 2024
- 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPT26 Apr 2024
- 2024Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanation24 Apr 2024
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Tasks15 Mar 2024
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testing19 Feb 2024
- 2024Investigating Reproducibility in Deep Learning-Based Software Fault Prediction8 Feb 2024
- 2024A Systematic Literature Review on Explainability for Machine/Deep Learning-based Software Engineering Research26 Jan 2024
- 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Study20 Jan 2024
- 2024Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectors5 Jan 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Good-looking but Lacking Faithfulness: Understanding Local Explanation Methods through Trend-based Testing9 Sep 2023
- 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detection21 Aug 2023
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code5 Jul 2023
- 2023LIVABLE: Exploring Long-Tailed Classification of Software Vulnerability Types12 Jun 2023
- 2023Learning to Quantize Vulnerability Patterns and Match to Locate Statement-Level Vulnerabilities26 May 2023
- 2023Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?23 May 2023
50 newest of 56 All 56 (JSON)
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 46
- 2024Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuningcited by 30
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 28
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
- 2022SoK: Explainable Machine Learning for Computer Security Applicationscited by 20
- 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited by 19
- 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
- 2023Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?cited by 13
- 2024Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanationcited by 12
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
12 most cited of 54 All 54 (JSON)
- 2026On Predicting Vulnerability Severity Using In-Context Learning: An Industrial Case Study22 Aug 2026
- 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization10 May 2026
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs22 Apr 2026
- 2026Robust Smart Contract Vulnerability Detection via Contrastive Learning-Enhanced Granular-ball Training29 Mar 2026
- 2025From Lab to Reality: A Practical Evaluation of Deep Learning Models and LLMs for Vulnerability Detection11 Dec 2025
- 2025Large Language Models Cannot Reliably Detect Vulnerabilities in JavaScript: The First Systematic Benchmark and Evaluation1 Dec 2025
- 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detection31 Oct 2025
- 2025Learning to Triage Vulnerability Reports from Program Analysis: An Empirical Study in Node.js23 Oct 2025
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Models13 Oct 2025
- 2025Weakly Supervised Vulnerability Localization via Multiple Instance Learning14 Sep 2025
- 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentation26 Aug 2025
- 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detection14 Aug 2025
12 newest of 54 All 54 (JSON)