arrow
返回

COCL: An Intelligent Framework for Enhancing Deep Learning-Based Vulnerability Detection

delete2024-03-01
delete0
PRE
AI
W
Wenxuan Li
S
Shihan Dou
Y
Yueming Wu *
C
Chenxi Li
刘
刘洋 (Yang Liu)
DOI:10.1109/TII.2023.3329670delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Due to the powerful feature extraction capability of deep learning (DL), many recent studies have used it to conduct source code vulnerability analysis. However, although it has a good performance on artificial datasets, it does not perform satisfactorily on the real-world vulnerabilities with higher complexity. In this article, we introduce contrastive curriculum learning into DL-based vulnerability detection to find a suitable boundary to distinguish vulnerabilities from normal codes. Contrastive learning can be used to reduce the difference between different vulnerabilities while amplifying the difference between vulnerabilities and normal codes. To make the training phase of contrastive learning more intelligent, we apply curriculum learning to mimic the way humans acquire knowledge, which means that the model will learn simple samples first and then increase the difficulty of training samples. Specifically, we implement an intelligent framework (i.e., contrastive curriculum learning (COCL)) that can enhance the detection effect of existing DL-based vulnerability detectors. To verify the capability of COCL, we select four state-of-the-art DL-based vulnerability detectors (i.e., AutoVulTC, VulDeePecker, BenchSG, and Devign) as our base models. The experimental results show that using COCL can bring an improvement of 8.1% to the F1 scores of these models on a real-world vulnerability dataset.
Keyword:
Contrastive learning
curriculum learning (CL)
deep learning (DL)
vulnerability detection

期刊

IEEE Transactions on Industrial Informatics 封面图
IEEE Transactions on Industrial Informatics
IF:
9.9
论文数:
8.6K
被引数:
6.0W

机构

F
fudan university
学者数:
11.8W
论文数: 7.7W
被引数: 121
C
China University of Geosciences
学者数:
3.7W
论文数: 2.8W
被引数: 4.3W
N
Nanyang Technological University
学者数:
4.9W
论文数: 4.8W
被引数: 8.1W
学者 查看更多机构
引用论文

引用论文

Cardiovascular diseases risk prediction in patients with diabetes: Posthoc analysis from a matched case-control study in Bangladesh
err2021-02-15
err0
errOAAI
errSheikh Mohammed Shariful Islam; Shyfuddin Ahmed; Riaz Uddin; Muhammad U. Siddiqui; Mahsa Malekahmadi; Abdullah Al Mamun; Roohallah Alizadehsani; Abbas Khosravi; Saeid Nahavandi
err分享
err收藏
Experiments on Active Drag Reduction on a Complex Outer Wing Model
err2015-07-01
err0
PREAI
errMatthias Bauer; Thomas Grund; Wolfgang Nitsche
err分享
err收藏
A noticeable effect of thickness on third order nonlinear properties of CBD grown CdS thin films investigated by Z-scan measurements
err2019-03-01
err0
PREAI
errH. Algarni; A.E. Al-Salami; A.A. Alshahrani; T.F. Alhuwaymel; A. Al-Mogeeth
err分享
err收藏
err分享
err收藏
学者 查看更多内容