Deep Learning Based Vulnerability Detection: Are We There Yet?

计算机科学 机器学习 人工智能 脆弱性(计算) 深度学习 数据科学 计算机安全
作者
Saikat Chakraborty,Rahul Krishna,Yangruibo Ding,Baishakhi Ray
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:48 (9): 3280-3296 被引量:455
标识
DOI:10.1109/tse.2021.3087402
摘要

Automated detection of software vulnerabilities is a fundamental problem in software security. Existing program analysis techniques either suffer from high false positives or false negatives. Recent progress in Deep Learning (DL) has resulted in a surge of interest in applying DL for automated vulnerability detection. Several recent studies have demonstrated promising results achieving an accuracy of up to 95 percent at detecting vulnerabilities. In this paper, we ask, "how well do the state-of-the-art DL-based techniques perform in a real-world vulnerability prediction scenario?" To our surprise, we find that their performance drops by more than 50 percent. A systematic investigation of what causes such precipitous performance drop reveals that existing DL-based vulnerability prediction approaches suffer from challenges with the training data (e.g., data duplication, unrealistic distribution of vulnerable classes, etc.) and with the model choices (e.g., simple token-based models). As a result, these approaches often do not learn features related to the actual cause of the vulnerabilities. Instead, they learn unrelated artifacts from the dataset (e.g., specific variable/function names, etc.). Leveraging these empirical findings, we demonstrate how a more principled approach to data collection and model design, based on realistic settings of vulnerability prediction, can lead to better solutions. The resulting tools perform significantly better than the studied baseline—up to 33.57 percent boost in precision and 128.38 percent boost in recall compared to the best performing model in the literature. Overall, this paper elucidates existing DL-based vulnerability prediction systems' potential issues and draws a roadmap for future DL-based vulnerability prediction research.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
华hgger完成签到,获得积分10
刚刚
于涉完成签到 ,获得积分10
1秒前
坚果燕麦完成签到,获得积分10
1秒前
无情的聪健应助SICHEN采纳,获得20
1秒前
杨颜静完成签到,获得积分10
1秒前
Dlan发布了新的文献求助30
1秒前
caizx完成签到,获得积分10
2秒前
吕洺旭发布了新的文献求助10
2秒前
嘎嘎的鸡神完成签到,获得积分10
2秒前
穢翼完成签到,获得积分10
3秒前
签儿儿儿发布了新的文献求助10
3秒前
4秒前
PSJ完成签到,获得积分10
4秒前
4秒前
丘比特应助Maestro_S采纳,获得10
4秒前
渤海少年发布了新的文献求助10
5秒前
宜醉宜游宜睡应助小羊采纳,获得10
5秒前
YYlwl完成签到 ,获得积分10
5秒前
Lillian完成签到,获得积分10
6秒前
橘柚完成签到,获得积分10
6秒前
然然完成签到,获得积分10
6秒前
6秒前
zcy完成签到,获得积分10
6秒前
如意秋珊发布了新的文献求助10
6秒前
果果完成签到,获得积分10
7秒前
小二完成签到,获得积分10
7秒前
orixero应助maguodrgon采纳,获得10
7秒前
壮观的银耳汤完成签到,获得积分10
7秒前
8秒前
11112321321发布了新的文献求助10
8秒前
fengzi151完成签到,获得积分10
8秒前
小黄鸭呀完成签到,获得积分0
8秒前
吉吉发布了新的文献求助10
8秒前
celk2010完成签到,获得积分10
9秒前
orangelion完成签到,获得积分0
9秒前
搜集达人应助晏也采纳,获得20
9秒前
刘传宏完成签到,获得积分10
10秒前
Gandiva完成签到,获得积分10
10秒前
uang完成签到,获得积分10
10秒前
听话的青荷完成签到,获得积分10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introducing the Learning Sciences 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
Resiliency Scale for Adolescents--Chinese Version 800
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7324386
求助须知:如何正确求助?哪些是违规求助? 8939877
关于积分的说明 18954301
捐赠科研通 6981087
什么是DOI,文献DOI怎么找? 3215364
关于科研通互助平台的介绍 2382776
邀请新用户注册赠送积分活动 2194674