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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
145完成签到,获得积分20
刚刚
1秒前
金金金金完成签到,获得积分10
1秒前
2秒前
zzzzzp发布了新的文献求助10
2秒前
摇摇虎发布了新的文献求助10
2秒前
满意雪珊发布了新的文献求助10
3秒前
3秒前
我真的不是robot完成签到,获得积分10
3秒前
小时完成签到,获得积分10
3秒前
3秒前
向远的念柏完成签到,获得积分10
3秒前
3秒前
3秒前
4秒前
4秒前
科研通AI6.2应助蓝天采纳,获得10
4秒前
斯文败类应助蓝天采纳,获得10
4秒前
蓝莓橘子酱应助蓝天采纳,获得10
4秒前
酷波er应助蓝天采纳,获得10
4秒前
卷卷发布了新的文献求助10
4秒前
anhe_完成签到,获得积分10
4秒前
英俊的铭应助蓝天采纳,获得10
4秒前
4秒前
科研通AI6.1应助蓝天采纳,获得10
5秒前
xing完成签到,获得积分10
5秒前
英姑应助蓝天采纳,获得10
5秒前
CipherSage应助蓝天采纳,获得10
5秒前
海绵宝宝完成签到,获得积分10
5秒前
天天快乐应助菠萝披萨采纳,获得10
5秒前
科研通AI6.1应助蓝天采纳,获得10
5秒前
科研通AI6.3应助蓝天采纳,获得10
5秒前
5秒前
左氧氟沙星完成签到,获得积分20
6秒前
干净月亮完成签到,获得积分10
6秒前
刘若鑫发布了新的文献求助10
6秒前
6秒前
欧阳半仙发布了新的文献求助10
6秒前
7秒前
momo发布了新的文献求助10
7秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 2000
Digital Twins of Advanced Materials Processing 2000
晋绥日报合订本24册(影印本1986年)【1940年9月–1949年5月】 1000
Social Cognition: Understanding People and Events 1000
Polymorphism and polytypism in crystals 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6035995
求助须知:如何正确求助?哪些是违规求助? 7753438
关于积分的说明 16213257
捐赠科研通 5182260
什么是DOI,文献DOI怎么找? 2773471
邀请新用户注册赠送积分活动 1756599
关于科研通互助平台的介绍 1641179