Learning-based Models for Vulnerability Detection: An Extensive Study

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ni, Chao, Shen, Liyu, Xu, Xiaodan, Yin, Xin, Wang, Shaohua
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913468134719488
author Ni, Chao
Shen, Liyu
Xu, Xiaodan
Yin, Xin
Wang, Shaohua
author_facet Ni, Chao
Shen, Liyu
Xu, Xiaodan
Yin, Xin
Wang, Shaohua
contents Though many deep learning-based models have made great progress in vulnerability detection, we have no good understanding of these models, which limits the further advancement of model capability, understanding of the mechanism of model detection, and efficiency and safety of practical application of models. In this paper, we extensively and comprehensively investigate two types of state-of-the-art learning-based approaches (sequence-based and graph-based) by conducting experiments on a recently built large-scale dataset. We investigate seven research questions from five dimensions, namely model capabilities, model interpretation, model stability, ease of use of model, and model economy. We experimentally demonstrate the priority of sequence-based models and the limited abilities of both LLM (ChatGPT) and graph-based models. We explore the types of vulnerability that learning-based models skilled in and reveal the instability of the models though the input is subtlely semantical-equivalently changed. We empirically explain what the models have learned. We summarize the pre-processing as well as requirements for easily using the models. Finally, we initially induce the vital information for economically and safely practical usage of these models.
format Preprint
id arxiv_https___arxiv_org_abs_2408_07526
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning-based Models for Vulnerability Detection: An Extensive Study
Ni, Chao
Shen, Liyu
Xu, Xiaodan
Yin, Xin
Wang, Shaohua
Software Engineering
Cryptography and Security
Machine Learning
Though many deep learning-based models have made great progress in vulnerability detection, we have no good understanding of these models, which limits the further advancement of model capability, understanding of the mechanism of model detection, and efficiency and safety of practical application of models. In this paper, we extensively and comprehensively investigate two types of state-of-the-art learning-based approaches (sequence-based and graph-based) by conducting experiments on a recently built large-scale dataset. We investigate seven research questions from five dimensions, namely model capabilities, model interpretation, model stability, ease of use of model, and model economy. We experimentally demonstrate the priority of sequence-based models and the limited abilities of both LLM (ChatGPT) and graph-based models. We explore the types of vulnerability that learning-based models skilled in and reveal the instability of the models though the input is subtlely semantical-equivalently changed. We empirically explain what the models have learned. We summarize the pre-processing as well as requirements for easily using the models. Finally, we initially induce the vital information for economically and safely practical usage of these models.
title Learning-based Models for Vulnerability Detection: An Extensive Study
topic Software Engineering
Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2408.07526