arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.18492cs.DBcs.AIcs.CLcs.SE
收藏

Vibe Coding on Trial: Unanimous LLM Juries的运行特性

Vibe Coding on Trial: Operating Characteristics of Unanimous LLM Juries

Texas Tech University(德克萨斯农工大学)

Muhammad Aziz Ullah, Abdul Serwadda

AI总结:

本文研究了使用多数LLM陪审团在代码审查中减少假接受的同时保持高准确率的方法,通过基准测试和实验验证了委员会大小和组成对安全性的影响。

摘要:

大型语言模型(LLMs)现在能够编写代码,使开发人员可以使用自然语言描述意图,让工具生成初始代码草案,这一工作流程越来越多地被集成到像GitHub Copilot、Cursor和Replit等工具中。所缺少的是一个可靠的方法来判断哪些模型生成的查询是安全的,而无需将所有内容发送给人类。我们研究了LLM陪审团在执行此审查步骤中的应用。我们首先在82个MySQL文本到SQL任务上对15个开放模型进行基准测试,使用基于执行的协议来获得一个干净的基线,以确定哪些模型表现良好。从六个最佳模型中,我们构建了大小从1到6的多数委员会,这些委员会会查看提示、模式和候选SQL,并仅在所有成员都认为正确时才接受。这一规则与安全第一的部署相匹配,其中假接受的成本高于假拒绝。我们测量了真阳性率、假阳性率和Youden J,并查看每个生成器的委员会数量。我们的结果表明,单个模型法官表现不一,小的多数委员会由强模型组成可以减少假接受,同时仍能通过许多好的查询,且委员会的组成对结果影响显著。

英文摘要:

Large Language Models (LLMs) are now good enough at coding that developers can describe intent in plain language and let the tool produce the first code draft, a workflow increasingly built into tools like GitHub Copilot, Cursor, and Replit. What is missing is a reliable way to tell which model written queries are safe to accept without sending everything to a human. We study the application of an LLM jury to run this review step. We first benchmark 15 open models on 82 MySQL text to SQL tasks using an execution grounded protocol to get a clean baseline of which models are strong. From the six best models we build unanimous committees of sizes 1 through 6 that see the prompt, schema, and candidate SQL and accept it only when every member says it is correct. This rule matches safety first deployments where false accepts are more costly than false rejects. We measure true positive rate, false positive rate and Youden J and we also look at committees per generator. Our results show that single model judges are uneven, that small unanimous committees of strong models can cut false accepts while still passing many good queries, and that the exact committee composition matters significantly.

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

↑