arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.29216cs.SEcs.AIcs.CRcs.LG
收藏

利用轻量级图神经网络进行软件漏洞检测

Software Vulnerability Detection Using a Lightweight Graph Neural Network

University of Missouri(密苏里大学);National Institute of Standards and Technology(美国国家标准与技术研究院)

Miles Farmer, Ekincan Ufuktepe, Anne Watson, Hialo Muniz Carvalho, Vadim Okun, Zineb Maasaoui, Kannappan Palaniappan

AI总结:

本文提出VulGNN,一种基于图神经网络的轻量级模型,在漏洞检测中性能接近大语言模型,且更小、更快,适用于边缘部署。

摘要:

大型语言模型(LLMs)因其基础能力、开源可用性和多种模型选择,在漏洞检测研究中成为流行选择,但受限于计算需求的扩展性。利用代码的自然图关系结构,我们展示所提出的基于图神经网络(GNN)的深度学习模型VulGNN在漏洞检测中可实现与LLMs相近的性能,但其大小小100倍,重新训练和定制速度快。我们描述了VulGNN的架构,对组件、学习率和不同代码数据集通用性的消融研究。作为轻量级漏洞分析模型,VulGNN高效且可部署在边缘,作为现实软件开发流水线的一部分。

英文摘要:

Large Language Models (LLMs) have emerged as a popular choice in vulnerability detection studies given their foundational capabilities, open source availability, and variety of models, but have limited scalability due to extensive compute requirements. Using the natural graph relational structure of code, we show that our proposed graph neural network (GNN) based deep learning model VulGNN for vulnerability detection can achieve performance almost on par with LLMs, but is 100 times smaller in size and fast to retrain and customize. We describe the VulGNN architecture, ablation studies on components, learning rates, and generalizability to different code datasets. As a lightweight model for vulnerability analysis, VulGNN is efficient and deployable at the edge as part of real-world software development pipelines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑