LineVD: Statement-level Vulnerability Detection using Graph Neural Networks
David Hin, Andrey Kan, Huaming Chen, M. Ali Babar

TL;DR
This paper introduces LineVD, a graph neural network-based framework for statement-level vulnerability detection in source code, significantly improving detection accuracy over existing function-level methods.
Contribution
LineVD is the first fully supervised deep learning framework for statement-level vulnerability detection using graph neural networks and transformers, addressing the limitations of function-level approaches.
Findings
105% increase in F1-score over state-of-the-art methods
Effective use of control and data dependencies in graph neural networks
Improved interpretability at the statement level
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research · Software System Performance and Reliability
