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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
1q完成签到,获得积分10
2秒前
seven举报求助违规成功
3秒前
大力的灵雁举报求助违规成功
3秒前
kingwill举报求助违规成功
3秒前
3秒前
Yu发布了新的文献求助10
3秒前
3秒前
汪侠发布了新的文献求助10
4秒前
2306520发布了新的文献求助10
4秒前
科研通AI6.3应助晚棠采纳,获得10
5秒前
5秒前
6秒前
7秒前
ardejiang发布了新的文献求助10
8秒前
烟花应助现实的曼荷采纳,获得10
8秒前
杨依宁完成签到,获得积分20
9秒前
2306520完成签到,获得积分10
9秒前
青q发布了新的文献求助10
10秒前
领导范儿应助小蜗牛采纳,获得10
10秒前
Xx丶发布了新的文献求助10
10秒前
蒙太奇完成签到 ,获得积分10
11秒前
种花兔发布了新的文献求助30
12秒前
情怀应助caicai采纳,获得10
12秒前
香蕉觅云应助静静采纳,获得10
12秒前
12秒前
gggghhhh完成签到 ,获得积分10
13秒前
13秒前
科研通AI6.1应助石会发采纳,获得100
13秒前
帅气老虎应助易大人采纳,获得10
13秒前
14秒前
英姑应助周杰采纳,获得10
14秒前
OvO_4577完成签到,获得积分10
14秒前
14秒前
14秒前
我是老大应助U9A采纳,获得10
14秒前
无极微光应助快乐的思真采纳,获得20
15秒前
科研通AI6.3应助xixiliu采纳,获得10
16秒前
Tom发布了新的文献求助10
16秒前
ch关闭了ch文献求助
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 3000
Relation between chemical structure and local anesthetic action: tertiary alkylamine derivatives of diphenylhydantoin 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Principles of town planning : translating concepts to applications 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6064906
求助须知:如何正确求助?哪些是违规求助? 7897205
关于积分的说明 16319408
捐赠科研通 5207611
什么是DOI,文献DOI怎么找? 2785988
邀请新用户注册赠送积分活动 1768760
关于科研通互助平台的介绍 1647655