返回
COCL: An Intelligent Framework for Enhancing Deep Learning-Based Vulnerability Detection
DOI:10.1109/TII.2023.3329670.png)
摘要
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
期刊
IF:
9.9
论文数:
8.6K
被引数:
6.0W
机构
引用论文
Lys63/Met1-hybrid ubiquitin chains are commonly formed during the activation of innate immune signallingLys63/Met1-hybrid泛素链通常在先天免疫信号激活过程中形成
A noticeable effect of thickness on third order nonlinear properties of CBD grown CdS thin films investigated by Z-scan measurements
Optik
IF0
Controlled partial embedding of carbon nanotubes within flexible transparent layers碳纳米管在柔性透明层内的受控部分嵌入

