计算机科学 > 软件工程
[提交于 2022年8月10日]
标题:Multi-View Pre-Trained Model for Code Vulnerability Identification
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Vulnerability identification is crucial for cyber security in the software-related industry. Early identification methods require significant manual efforts in crafting features or annotating vulnerable code. Although the recent pre-trained models alleviate this issue, they overlook the multiple rich structural information contained in the code itself. In this paper, we propose a novel Multi-View Pre-Trained Model (MV-PTM) that encodes both sequential and multi-type structural information of the source code and uses contrastive learning to enhance code representations. The experiments conducted on two public datasets demonstrate the superiority of MV-PTM. In particular, MV-PTM improves GraphCodeBERT by 3.36\% on average in terms of F1 score.
提交历史
来自:Wei Zhang[v1] 2022年8月10日 星期三 09:00:58 UTC