Representation vs. Model: What Matters Most for Source Code Vulnerability Detection
Authors:
- 1 March 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 647-653
Abstract
Vulnerabilities in the source code of software are critical issues in the realm of software engineering. Coping with vulnerabilities in software source code is becoming more challenging due to several aspects of complexity and volume. Deep learning has gained popularity throughout the years as a means of addressing such issues. In this paper, we propose an evaluation of vulnerability detection performance on source code representations and evaluate how Machine Learning (ML) strategies can improve them. The structure of our experiment consists of 3 Deep Neural Networks (DNNs) in conjunction with five different source code representations; Abstract Syntax Trees (ASTs), Code Gadgets (CGs), Semantics-based Vulnerability Candidates (SeVCs), Lexed Code Representations (LCRs), and Composite Code Representations (CCRs). Experimental results show that employing different ML strategies in conjunction with the base model structure influences the performance results to a varying degree. However, ML-based techniques suffer from poor performance on class imbalance handling when used in conjunction with source code representations for software vulnerability detection.Keywords
Funding Information
- Ministry of Education
- Northwestern Polytechnical University
This publication has 12 references indexed in Scilit:
- Automated Vulnerability Detection in Source Code Using Deep Representation Learning2018
- SATE V report: ten years of static analysis tool expositions2018
- A Survey on Deep Transfer Learning2018
- The relative performance of ensemble methods with deep convolutional neural networks for image classificationJournal of Applied Statistics, 2018
- VulDeePecker: A Deep Learning-Based System for Vulnerability Detection2018
- POSTER2017
- Comparing Oversampling Techniques to Handle the Class Imbalance Problem: A Customer Churn Prediction Case StudyIEEE Access, 2016
- Modeling and Discovering Vulnerabilities with Code Property Graphs2014
- Convolutional Neural Networks for Sentence Classification2014
- Evaluating Complexity, Code Churn, and Developer Activity Metrics as Indicators of Software VulnerabilitiesIEEE Transactions on Software Engineering, 2010