GVI: Guided Vulnerability Imagination for Boosting Deep Vulnerability Detectors

脆弱性(计算) Boosting(机器学习) 探测器 脆弱性评估 计算机科学 心理学 人工智能 计算机安全 社会心理学 电信 心理弹性
作者
Heng Yong,Zhong Li,Minxue Pan,Tian Zhang,Jianhua Zhao,Xuandong Li
标识
DOI:10.1109/icse55347.2025.00214
摘要

The use of deep learning to achieve automated software vulnerability detection has been a longstanding interest within the software security community. These deep vulnerability detectors are mostly trained in a supervised manner, which heavily relies on large-scale, high-quality vulnerability datasets. However, the vulnerability datasets used to train deep vulnerability detectors frequently exhibit class imbalance due to the inherent nature of vulnerability data, where vulnerable cases are significantly rarer than non-vulnerable cases. This imbalance adversely affects the effectiveness of these detectors. A promising solution to address the class imbalance problem is to artificially generate vulnerable samples to enhance vulnerability datasets, yet existing vulnerability generation techniques are not satisfactory due to their inadequate representation of real-world vulnerabilities or their reliance on large-scale vulnerable samples for training the generation model. This paper proposes G VI, a novel approach aimed at generating vulnerable samples to boost deep vulnerability detectors. G VI takes inspiration from human learning with imagination and proposes exploring LLMs to imagine and create new, informative vulnerable samples from given seed vulnerabilities. Specifically, we design a Chain-of-Thought inspired prompt in GVI that instructs the LLMs to first analyze the seed to retrieve attributes related to vulnerabilities and then generate a set of vulnerabilities based on the seed's attributes. Our extensive experiments on three vulnerability datasets (i.e., Devign, ReVeal, and BigVul) and across three deep vulnerability detectors (i.e., Devign, Re Veal, and Line Vul) demonstrate that the vulnerable samples generated by G VI are not only more accurate but also more effective in enhancing the performance of deep vulnerability detectors.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
arniu2008发布了新的文献求助10
1秒前
LL完成签到,获得积分10
1秒前
不安蜜蜂完成签到,获得积分10
1秒前
大星完成签到,获得积分10
1秒前
科研小白完成签到,获得积分10
2秒前
腼腆的寒风完成签到 ,获得积分10
2秒前
2秒前
bkagyin应助小巧大山采纳,获得10
2秒前
陈微发布了新的文献求助10
2秒前
686完成签到,获得积分20
3秒前
xuheng81916发布了新的文献求助10
3秒前
科研通AI6.2应助光亮翠风采纳,获得10
3秒前
4秒前
合适夏天完成签到,获得积分10
4秒前
小2完成签到,获得积分10
4秒前
可爱的函函应助nasya采纳,获得10
4秒前
kamisama完成签到,获得积分10
4秒前
平淡初雪完成签到,获得积分0
5秒前
5秒前
曲小晴完成签到,获得积分10
5秒前
星辰大海应助686采纳,获得10
7秒前
曳平帆完成签到,获得积分20
7秒前
JR完成签到,获得积分10
7秒前
小鹿斑比完成签到,获得积分10
7秒前
中岛悠斗完成签到,获得积分10
7秒前
胡玲完成签到 ,获得积分10
8秒前
8秒前
Cecily完成签到,获得积分10
8秒前
keyanxiaobai完成签到,获得积分10
8秒前
科研通AI6.4应助Song采纳,获得10
9秒前
9秒前
忧心的绝山完成签到,获得积分20
10秒前
10秒前
大西瓜完成签到,获得积分10
11秒前
Rheanna完成签到,获得积分10
11秒前
柯0完成签到,获得积分10
11秒前
jfw完成签到 ,获得积分10
11秒前
千分尺完成签到,获得积分10
12秒前
隔壁老王完成签到,获得积分10
12秒前
明天好完成签到,获得积分10
12秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Matrix Methods in Data Mining and Pattern Recognition 510
Social Skills Improvement System-Rating Scales--Chinese Version 500
Dynamische Polarisation von H-1 und B-11 in (CH-3)-3NBH-3 500
CLSI M07 2024 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7247930
求助须知:如何正确求助?哪些是违规求助? 8870877
关于积分的说明 18713665
捐赠科研通 6926866
什么是DOI,文献DOI怎么找? 3198103
关于科研通互助平台的介绍 2373857
邀请新用户注册赠送积分活动 2172952