已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

Vul-LMGNNs: Fusing language models and online-distilled graph neural networks for code vulnerability detection

编码(集合论) 计算机科学 财产(哲学) 源代码 脆弱性(计算) 程序设计语言 计算机安全 哲学 认识论 集合(抽象数据类型)
作者
Ruitong Liu,Yanbin Wang,Haitao Xu,Bin Liu,Sun Jian-guo,Zhenhao Guo,Wenrui Ma
出处
期刊:Cornell University - arXiv 被引量:4
标识
DOI:10.48550/arxiv.2404.14719
摘要

Code Language Models (codeLMs) and Graph Neural Networks (GNNs) are widely used in code vulnerability detection. However, GNNs often rely on aggregating information from adjacent nodes, limiting structural information propagation across layers. While codeLMs can supplement GNNs with semantic information, existing integration methods underexplore their collaborative potential. To address these challenges, we propose Vul-LMGNNs, integrating pre-trained codeLMs with GNNs to enable cross-layer propagation of semantic and structural information. Vul-LMGNNs leverage Code Property Graphs (CPGs) to incorporate syntax, control flow, and data dependencies, using gated GNNs for structural extraction. An online knowledge distillation (KD) mechanism allows a student GNN to capture structural information from a trained counterpart via alternating training. Additionally, an "implicit-explicit" joint training framework leverages codeLMs to initialize embeddings and propagate code semantics. In the explicit phase, it performs late fusion via linear interpolation. Evaluations on real-world vulnerability datasets show Vul-LMGNNs outperform 17 state-of-the-art approaches. Source code is available at: https://github.com/Vul-LMGNN/vul-LMGNN.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
今后应助sjx采纳,获得10
1秒前
2秒前
simon完成签到,获得积分10
3秒前
星忆眠发布了新的文献求助10
4秒前
隐形曼青应助XHR33采纳,获得30
6秒前
7秒前
共享精神应助100采纳,获得20
7秒前
沢雨完成签到 ,获得积分10
8秒前
科研通AI6.1应助LT采纳,获得10
8秒前
Lucas应助自然卷卷卷采纳,获得10
9秒前
10秒前
11秒前
12秒前
wsf2023发布了新的文献求助10
12秒前
温暖树叶发布了新的文献求助10
13秒前
13秒前
制冷剂完成签到 ,获得积分10
13秒前
白华苍松发布了新的文献求助10
14秒前
ddd完成签到,获得积分10
15秒前
无尘发布了新的文献求助10
16秒前
17秒前
yuki发布了新的文献求助10
18秒前
21秒前
21秒前
22秒前
23秒前
星忆眠完成签到,获得积分10
24秒前
文慧发布了新的文献求助10
25秒前
阿赵完成签到,获得积分10
25秒前
27秒前
27秒前
29秒前
明礼A完成签到,获得积分10
29秒前
30秒前
100发布了新的文献求助20
31秒前
32秒前
田様应助认真盼曼采纳,获得10
32秒前
123完成签到,获得积分10
35秒前
ljx发布了新的文献求助10
35秒前
哎呦喂完成签到,获得积分10
36秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Agyptische Geschichte der 21.30. Dynastie 3000
Aerospace Engineering Education During the First Century of Flight 2000
„Semitische Wissenschaften“? 1510
从k到英国情人 1500
sQUIZ your knowledge: Multiple progressive erythematous plaques and nodules in an elderly man 1000
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5771695
求助须知:如何正确求助?哪些是违规求助? 5593329
关于积分的说明 15428228
捐赠科研通 4904978
什么是DOI,文献DOI怎么找? 2639147
邀请新用户注册赠送积分活动 1587032
关于科研通互助平台的介绍 1541938