Variables are a Curse in Software Vulnerability Prediction
Not on the map. Why?
Abstract (arXiv)
Deep learning-based approaches for software vulnerability prediction currently mainly rely on the original text of software code as the feature of nodes in the graph of code and thus could learn a representation that is only specific to the code text, rather than the representation that depicts the 'intrinsic' functionality of a program hidden in the text representation. One curse that causes this problem is an infinite number of possibilities to name a variable. In order to lift the curse, in this work we introduce a new type of edge called name dependence, a type of abstract syntax graph based on the name dependence, and an efficient node representation method named 3-property encoding scheme. These techniques will allow us to remove the concrete variable names from code, and facilitate deep learning models to learn the functionality of software hidden in diverse code expressions. The experimental results show that the deep learning models built on these techniques outperform the ones based on existing approaches not only in the prediction of vulnerabilities but also in the memory need. The factor of memory usage reductions of our techniques can be up to the order of 30,000 in comparison to existing approaches.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 6 of its 11 references that are in the map. First posted on arXiv 18 Jun 2024.
Builds on
6 of 11 references.
References · 6
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
- 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
- 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
- 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
- 2017Automatic feature learning for vulnerability predictioncited by 10
Built on by
Not cited yet.