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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
思源应助henwunai7106采纳,获得10
刚刚
顾矜应助小宇要加油采纳,获得10
刚刚
1秒前
1秒前
1秒前
学术小白发布了新的文献求助10
1秒前
MAYE发布了新的文献求助10
2秒前
An1111完成签到,获得积分10
2秒前
3秒前
3秒前
3秒前
4秒前
4秒前
xin发布了新的文献求助10
5秒前
yang发布了新的文献求助10
5秒前
赵铁柱完成签到,获得积分10
5秒前
6秒前
杨璇完成签到 ,获得积分10
6秒前
123应助lu采纳,获得20
6秒前
CXS发布了新的文献求助10
7秒前
8秒前
夏茉弋发布了新的文献求助10
8秒前
8秒前
SciGPT应助sssting采纳,获得10
8秒前
9秒前
shier发布了新的文献求助10
9秒前
知讴舟发布了新的文献求助10
9秒前
9秒前
10秒前
Gxmmmm_发布了新的文献求助20
10秒前
Meili完成签到,获得积分10
11秒前
12秒前
yang完成签到,获得积分20
12秒前
zyf发布了新的文献求助10
12秒前
13秒前
Ai_niyou发布了新的文献求助70
13秒前
fsrm发布了新的文献求助10
14秒前
麦地娜发布了新的文献求助10
14秒前
支若蕊发布了新的文献求助10
14秒前
张mingyu123发布了新的文献求助10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Modern Epidemiology, Fourth Edition 5000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 2000
Digital Twins of Advanced Materials Processing 2000
Weaponeering, Fourth Edition – Two Volume SET 2000
Social Cognition: Understanding People and Events 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6032137
求助须知:如何正确求助?哪些是违规求助? 7718133
关于积分的说明 16199115
捐赠科研通 5178801
什么是DOI,文献DOI怎么找? 2771542
邀请新用户注册赠送积分活动 1754800
关于科研通互助平台的介绍 1639876