LineVD: Statement-level Vulnerability Detection using Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
Current machine-learning based software vulnerability detection methods are primarily conducted at the function-level. However, a key limitation of these methods is that they do not indicate the specific lines of code contributing to vulnerabilities. This limits the ability of developers to efficiently inspect and interpret the predictions from a learnt model, which is crucial for integrating machine-learning based tools into the software development workflow. Graph-based models have shown promising performance in function-level vulnerability detection, but their capability for statement-level vulnerability detection has not been extensively explored. While interpreting function-level predictions through explainable AI is one promising direction, we herein consider the statement-level software vulnerability detection task from a fully supervised learning perspective. We propose a novel deep learning framework, LineVD, which formulates statement-level vulnerability detection as a node classification task. LineVD leverages control and data dependencies between statements using graph neural networks, and a transformer-based model to encode the raw source code tokens. In particular, by addressing the conflicting outputs between function-level and statement-level information, LineVD significantly improve the prediction performance without vulnerability status for function code. We have conducted extensive experiments against a large-scale collection of real-world C/C++ vulnerabilities obtained from multiple real-world projects, and demonstrate an increase of 105% in F1-score over the current state-of-the-art.
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Mar 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 5; 2024: 16; 2025: 8; 2026: 4.
35 papers.
Sort:
By area:
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 32
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
- 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited 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
- 2023Towards Causal Deep Learning for Vulnerability Detectioncited by 9
- 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detectioncited by 8
- 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPTcited by 8
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
- 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
23 more
- 2023An Unbiased Transformer Source Code Learning with Semantic Vulnerability Graphcited by 5
- 2023XGV-BERT: Leveraging Contextualized Language Model and Graph Neural Network for Efficient Software Vulnerability Detectioncited by 4
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Taskscited by 4
- 2025LPASS: Linear Probes as Stepping Stones for vulnerability detection using compressed LLMscited by 4
- 2024SCoPE: Evaluating LLMs for Software Vulnerability Detectioncited by 3
- 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detectioncited by 3
- 2024EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detectioncited by 2
- 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
- 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
- 2024Learning-based Models for Vulnerability Detection: An Extensive Studycited 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
- 2025A Benchmark Dataset for Graph Regression with Homogeneous and Multi-Relational Variantscited by 0
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Modelscited by 0
- 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detectioncited by 0
- 2026Software Vulnerability Detection Using a Lightweight Graph Neural Networkcited by 0
- 2026VulStyle: A Multi-Modal Pre-Training for Code Stylometry-Augmented Vulnerability Detectioncited by 0
- 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localizationcited by 0
- 2026JupOtter: Cell-Level Bug Detection in Jupyter Notebookscited by 0
- 2026JupOtter: Cell-Level Bug Detection in Jupyter Notebooks22 Jun 2026
- 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization10 May 2026
- 2026VulStyle: A Multi-Modal Pre-Training for Code Stylometry-Augmented Vulnerability Detection29 Apr 2026
- 2026Software Vulnerability Detection Using a Lightweight Graph Neural Network31 Mar 2026
- 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detection31 Oct 2025
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Models13 Oct 2025
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Models30 Jul 2025
- 2025LPASS: Linear Probes as Stepping Stones for vulnerability detection using compressed LLMs30 May 2025
- 2025A Benchmark Dataset for Graph Regression with Homogeneous and Multi-Relational Variants29 May 2025
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detection22 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
23 more
- 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
- 2024MVD: A Multi-Lingual Software Vulnerability Detection Framework9 Dec 2024
- 2024ANVIL: Anomaly-based Vulnerability Identification without Labelled Training Data28 Aug 2024
- 2024Learning-based Models for Vulnerability Detection: An Extensive Study14 Aug 2024
- 2024EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection27 Jul 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
- 2024SCoPE: Evaluating LLMs for Software Vulnerability Detection19 Jul 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
- 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
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Tasks15 Mar 2024
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Models16 Feb 2024
- 2024Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectors5 Jan 2024
- 2023Towards Causal Deep Learning for Vulnerability Detection12 Oct 2023
- 2023XGV-BERT: Leveraging Contextualized Language Model and Graph Neural Network for Efficient Software Vulnerability Detection26 Sep 2023
- 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detection21 Aug 2023
- 2023Learning to Quantize Vulnerability Patterns and Match to Locate Statement-Level Vulnerabilities26 May 2023
- 2023An Unbiased Transformer Source Code Learning with Semantic Vulnerability Graph17 Apr 2023
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detection15 Dec 2022
- 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection15 Dec 2022
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
- 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited by 18
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
- 2023Towards Causal Deep Learning for Vulnerability Detectioncited by 9
- 2023When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detectioncited by 8
- 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPTcited by 8
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
- 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
- 2023An Unbiased Transformer Source Code Learning with Semantic Vulnerability Graphcited by 5
- 2023XGV-BERT: Leveraging Contextualized Language Model and Graph Neural Network for Efficient Software Vulnerability Detectioncited by 4
12 most cited of 33 All 33 (JSON)
- 2026JupOtter: Cell-Level Bug Detection in Jupyter Notebooks22 Jun 2026
- 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization10 May 2026
- 2026VulStyle: A Multi-Modal Pre-Training for Code Stylometry-Augmented Vulnerability Detection29 Apr 2026
- 2026Software Vulnerability Detection Using a Lightweight Graph Neural Network31 Mar 2026
- 2025On the Difficulty of Selecting Few-Shot Examples for Effective LLM-based Vulnerability Detection31 Oct 2025
- 2025Evaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Models13 Oct 2025
- 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Models30 Jul 2025
- 2025LPASS: Linear Probes as Stepping Stones for vulnerability detection using compressed LLMs30 May 2025
- 2025A Benchmark Dataset for Graph Regression with Homogeneous and Multi-Relational Variants29 May 2025
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detection22 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
12 newest of 33 All 33 (JSON)