arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06257cs.CRcs.LGcs.SE
收藏

本地开放权重大语言模型智能体在漏洞复现任务上的分析

Analysis of Local Open-Weight LLM Agents on Vulnerability-Reproduction Tasks

organization= Lucentia Research, Department of Software;Computing Systems, University of Alicante , addressline= Ctra. de Sant Vicent del Raspeig, s/n , city= Sant Vicent del Raspeig , postcode= 03690 , country= Spain

Jorge García-Carrasco, Javier Sanchis, Álvaro Navarro, Alejandro Maté, Juan Trujillo

AI总结:

本文评估12种本地开放权重LLM配置在CyberGym漏洞复现任务的表现,发现4B模型可解决多数简单任务,27B模型可解决较难任务,量化不改变任务解决情况但影响速度,混合专家模型效率更高。

摘要:

可在单个消费级GPU上运行的开放权重语言模型正逐渐在越来越多的任务中展现出能力,其重要性在于可本地运行而无需将代码发送至托管服务。漏洞复现是将漏洞描述转化为能使易受攻击版本崩溃的输入,这是这类模型的天然目标,因为它是一项更接近测试生成而非代码理解的自动化分析任务,且针对的是必须执行而非读取的版本。为评估当前模型是否能完成该任务,我们在10个CyberGym漏洞复现任务上评估了12种本地模型配置,这些配置涵盖3代模型、2种架构和3种量化级别,每个配置在同一工具下运行3次,并发布了完整的人工制品。结果显示,所有配置(包括最小的4B模型)都解决了6个较简单任务中的大部分,仅在剩余4个任务上表现出差异;对于较难任务,则需要27B模型。量化未改变匹配对中模型解决的任务,但改变了它们的完成速度,混合专家模型在更短的 wall clock 时间内达到了相同分数。我们还检查了智能体轨迹,几乎所有检查的运行(包括失败的运行)都能命名易受攻击的函数并提出正确假设,而任务是否解决的区别在于该假设是否能成为有效的输入。

英文摘要:

Open-weight language models that fit on a single consumer GPU are becoming capable on a growing range of tasks, and they matter because they can run locally without sending the code to a hosted service. Vulnerability reproduction, turning a vulnerability description into an input that crashes the vulnerable build, is a natural target for them, since it is an automated analysis task closer to test generation than to code comprehension and it runs against a build that must be executed rather than read. In order to assess whether current models can perform it, we evaluate twelve configurations of local models, spanning three generations, two architectures and three quantization levels, on ten CyberGym vulnerability-reproduction tasks, three runs each under one harness, and release the full artefact. We show that every configuration, down to the 4B model, solves most of the six easier tasks, and configurations separate only on the remaining four. For the harder tasks, the 27B model is required. Quantization did not change what the models solved in any matched pair, but it changed how fast they got there, and the mixture of experts reached the same scores in less wall clock. We also examine the agent trajectories. Almost every run we examined, including those that fail, names the vulnerable function and states the correct hypothesis, and what separates a solved task from an unsolved one is whether that hypothesis becomes a working input.

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

↑