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

从候选准入到任务级返回:基于执行契约的大语言模型生成代码审计

From Candidate Admission to Task-Level Return: Auditing LLM-Generated Code under Execution Contracts

Chubu University(中部大学);Mitsubishi Heavy Industries, Ltd.(三菱重工业株式会社)

Hiroyasu Usami, Keisuke Hara, Ayato Tsuboi, Naohiko Matsuda

AI总结:

该研究在HumanEvalPlus队列上审计LLM生成代码的准入规则与选择策略和执行契约的相互作用,发现候选保留与任务级返回存在差异,结果取决于保存的池、契约和固定套件。

摘要:

准入规则保留生成的程序,而选择策略则为每个任务返回一个候选。我们在两个独立冻结且不相交的HumanEvalPlus队列上审计这些决策与执行契约的相互作用,每个队列包含32个任务,每个任务每个配置文件有4个样本,共2个服务配置文件。在内联执行契约下,结构与自测试筛选器在每80-107次准入中接纳4-9个扩展套件未通过项,在每128次计划尝试中排除14-43个套件通过项。受限模块供应条件为各队列中一个配置文件分别增加20和14个通过准入项,外加1个后续未通过项,并将排除的套件通过项减少至14-23个。所有固定的首次准入结果和弃权(不执行)保持不变。在原始池中,新增的通过项进入已全通过的准入池;在后续池中,24个常见样本顺序中有4个失去1个通过任务。子集诊断分别处理注册敏感的完成和参考相关的断言分歧,考虑输入域和比较器容差。在这些高通过池中,候选保留与任务级返回存在差异,并分别报告结果。结果取决于保存的池、契约和固定套件;下游训练效应未测量。

英文摘要:

Admission rules retain generated programs, whereas selection policies return one candidate per task. We audit how these decisions interact with execution contracts in two separately frozen, disjoint HumanEvalPlus cohorts, each comprising 32 tasks, four samples per task per profile and two served profiles. Under the inline execution contract, a structural-and-self-test screen admits 4-9 expanded-suite nonpasses per 80-107 admissions and excludes 14-43 suite passes per 128 planned attempts. A restricted module-supply condition adds 20 and 14 passing admissions for one profile in the respective cohorts, plus one follow-up nonpass, and reduces the excluded suite passes to 14-23. All fixed first-admitted outcomes and abstentions remain unchanged. In the original pool, the added passes enter already all-passing admitted pools; in the follow-up, four of 24 common sample orders lose one passed task. Selected-subset diagnostics separately address registration-sensitive completion and reference-relative assertion disagreement, accounting for input domains and comparator tolerances. In these high-pass pools, candidate retention and task-level return diverge and are reported separately. Results are conditional on the saved pools, contracts and pinned suites; downstream training effects are unmeasured.

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

↑